./nfo/linux/slackware/slackware.kiosk.nfo
# Slackware in kiosk mode.
The following method is for booting straight into an image slideshow:
1. Allow anybody to run the X server from a terminal:
- Create file /etc/X11/Xwrapper.config:
allowed_users = anybody
needs_root_rights = no
Warning: This is less than safe (See man Xwrapper.config)
2. Add to the /etc/rc.d/rc.local startup script:
su - username -c "/usr/bin/startx -- -nocursor " &
This will start X server as 'username' without mouse pointer.
3. Configure the user .xinitrc:
export XAUTHORITY=/home/username/.Xauthority
export DISPLAY=:0
xset s off
xset -dpms
xset s noblank
exec /usr/bin/blackbox &
feh -FD5 ~/Pictures
4. ???
5. profit!
----------------------------------------------------------------------
Older method:
1. Boot directly into X as user 'username' without entering password:
- Cd to /etc/rc.d/ and make a backup of runlevel rc.4 init script.
- Empty rc.4 and put the following as the only entry:
#!/bin/sh
su - username -c "/usr/bin/startx"
- This will boot the system directly into 'username' X-session.
2. Set up your kiosk environment:
- In ~/username create an .xinitrc file to define which application(s)
you'd like to run in your kiosk:
#!/bin/sh
/usr/bin/setxkbmap de &
/usr/bin/kioskbrowser
sudo /sbin/telinit 0
(The 'telinit 0' command shuts down the system after the previous application
exits. The command is run as 'username', so set up sudoers to allow this.)
EOF