Kiosk Project logo

KioskSetups/Jims

KioskWiki | KioskSetups | RecentChanges | Preferences

Jims quik 'n dirty kiosk setup

Boot directly into kiosk mode with the kiosk browser running

Getting a kiosk style system up and running is not very hard. It does require setting up your system and involves editing several files. This setup should work for most gnu/linux systems with gnome installed. It depends on GDM being the login manager. It uses the mozilla kiosk browser and the twm-kiosk window manager. These may be obtained from the Kiosk Project site and don't forget to read those docs.

UserName would be a user account you created for kiosk use. This account would have custom .Xclients, .Xinitrc and .Xsession files to start the twm-kiosk window manager.


-- The Xsetup_0 stuff is realy only usefull for older systems and should not be used. Use the gdm auto login since it offers much better system security

Here is a sample Xsetup_0 file:

 #!/bin/sh
 # Xsetup for Red Hat Linux
 # Copyright (c) 1999, 2000 Red Hat, Inc.

 /usr/X11R6/bin/xsetroot -solid "#356390"
 xterm -e /extraspace/twm/twm/twm-kiosk
 /sbin/pidof -s kdm &> /dev/null && [ $? -eq 0 -a -x /usr/bin/kdmdesktop ] && /usr/bin/kdmdesktop && sleep 1s

 # only set the background if the xsri program is installed
 if [ -x /usr/bin/xsri ]; then
    /usr/bin/xsri  -geometry +5+5 -avoid 300x250 -keep-aspect  	/usr/share/pixmaps/redhat/redhat-transparent.png
 fi

Notice the line xterm -e /extraspace/twm/twm/twm-kiosk contains the path to the twm-kiosk installed on my system - your path will probably be different. Also you may not need the xterm -e depending on how your system is setup. Anyway this starts the twm-kiosk which starts the kiosk browser before the login window appears. In the /etc/X11/gdm/Init?/default file you would only need to add the xterm -e /extraspace/twm/twm/twm-kiosk line. I should also point out that you could start twm or fvwm or some other program just as easily. But beware that starting some programs without a window manager will cause them to not work correctly becuase they rely on the window manager for mouse, keyboard tracking and other gui related issues.


If all goes well you should now have a system that boots and goes directly into a kiosk mode. Is there more that could be done to make your kiosk system better? You bet! This is just a base system that could be tuned to better match your situation. I use this base setup on standalone pc's and on thin clients, vist [The Linux Terminal Server Project] for information on thin clients.

After you get the basic setup working you may want to investigate some things:


KioskWiki | KioskSetups | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited July 24, 2008 8:01 am (diff)
Search: