Debian Kiosk
I have configured a kiosk using Debian GNU/Linux with blackbox window manager.
The challenges:
1. Touchscreen configuration.
2. Autometic login and start X server.
3. Start desired application for kiosk.
4. A boot splash for booting and shutdown.
1. Touchscreen configuration:
First, setup touchscreen driver and configure it according to your device specification.
I was using eGalax driver, which I have downloaded from
source: http://home.eeti.com.tw/web20/eg/drivers.htm
2. Automatic login:
Edit /etc/inittab and comment the following line:
#1:2345:respawn:/sbin/getty 38400 tty1add the following line below:
1:2345:respawn:/bin/login -f USER_LOGIN tty1 /dev/tty1 2>&1
Edit .bash_profile (create if require) and add the following line at bottom:
startxsource: http://www.debianadmin.com/how-to-auto-login-and-startx-without-a-display-manager-in-debian.html
Blackbox window manager:
Edit ~/.xinitrc (or ~/.Xsession), create if require, and add the following line:
exec blackbox3. Autostart application:
To autostart iceweasel/firefox:
Again edit ~/.xinitrc (or ~/.Xsession) and add the following line:
firefox &source: http://blackboxwm.sourceforge.net/BlackboxFAQ/StartupAndShutdown
exec blackbox
Install iceweasel/firefox plugin "R-kiosk" from https://addons.mozilla.org/en-US/firefox/addon/1659
3. Bootsplash:
Install a bootsplash
apt-get install splashyCreate your own bootsplash and set it
# splashy_config -cTo enable splashy, you may need to edit grub.config and add the following after "kernel...ro quiet"
vga=791 splashsource: http://splashy.alioth.debian.org/wiki/faq
Tips and tricks:
"X: user not authorized to run the X server"
You can allow the user to use run startx by:
#dpkg-reconfigure x11-commonor edit /etc/X11/Xwrapper.config
"Auto login problem"
If you have setup GDM (XDM) earlier, then you need to disable it for automatic log in
#update-rc.d -f gdm removeIf you want to enable it simply run (experiment purpose):
#update-rc.d -f gdm defaultssource: http://www.debianadmin.com/howto-boot-debian-in-text-mode-instead-of-graphical-mode-gui.html
Kiosk performance tuning:
Install the CPU frequency related tools and configure it.
details: http://wiki.debian.org/HowTo/CpuFrequencyScaling
resources:
http://www.debianadmin.com/debirf-build-a-kernel-and-initrd-to-run-debian-from-ram.html
http://cmrg.fifthhorseman.net/wiki/debirf
1 comment:
where is the screenshot :)
Post a Comment