Linux(13)Debain Fullscreen GUI Kiosk

简介: Linux(13)Debain Fullscreen GUI Kiosk

Create a user on the system for the kiosk. In my case, the user is named kiosk-user.

useradd -m kiosk-user

Update the package list.

apt-get update

Install required packages.

apt-get install \
    sudo \
    xorg \
    chromium \
    openbox \
    lightdm

Edit the lightdm config script at /etc/lightdm/lightdm.conf to enable autologin.

That file needs to only contain this content for autologin to work.

[SeatDefaults]
autologin-user=kiosk-user
user-session=openbox

Reboot to verify autologin works. You should now be logged in as kiosk-user automatically.

Create the openbox config directory for kiosk-user if it does not exist.

mkdir -p $HOME/.config/openbox

Create a script at $HOME/.config/openbox/autostart for the kiosk-user. This script will be run at login.

chromium \
    --no-first-run \
    --disable \
    --disable-translate \
    --disable-infobars \
    --disable-suggestions-service \
    --disable-save-password-bubble \
    --start-maximized \
    --kiosk "http://www.google.com" &

The & at the end is required for every command in the autostart script.

Reboot, and you should see the machine automatically login and run chromium in kiosk mode.


d8a75c5010ac4c878852c37b910542b6.jpg

87e76b1db7ef4d539b39f0c2f881c3f4.jpg

95678eb932cc4eb29742acff2d773ab3.jpg



相关文章
|
1月前
|
移动开发 Ubuntu 网络协议
Linux(11)Debain 调试EC25-EUX总记录
Linux(11)Debain 调试EC25-EUX总记录
93 0
|
1月前
|
测试技术 Linux
Linux(8)Debain系统测试EC25-EUX模块usbnet0(qmi qcm)问题点
Linux(8)Debain系统测试EC25-EUX模块usbnet0(qmi qcm)问题点
81 0
|
9月前
|
网络安全 开发工具
|
1月前
|
Linux 数据安全/隐私保护
Linux(12)Debain系统安装远程控制软件
Linux(12)Debain系统安装远程控制软件
52 0
|
1月前
|
Ubuntu Linux 内存技术
Linux(14)Debain Make image and module configuration instructions
Linux(14)Debain Make image and module configuration instructions
12 0
|
1月前
|
移动开发 Linux
Linux(10)Debain EC25 Modem Automatic networking
Linux(10)Debain EC25 Modem Automatic networking
23 0
|
1月前
|
Linux
Linux(9)Debain EC25 quectel-CM usbnet0开机自动联网配置
Linux(9)Debain EC25 quectel-CM usbnet0开机自动联网配置
63 0
|
9月前
|
Linux
kali/debian/snap-store debain/linux的软件商店下载
kali/debian/snap-store debain/linux的软件商店下载
152 0
|
9月前
|
Linux 网络安全 开发工具
kali/debain/linux包管理
kali/debain/linux包管理
122 0
|
机器人 应用服务中间件 Linux