Re: [little OT] Creating a public terminal

From: A Mooron (moorons@themail.co.uk)
Date: Thu Jun 14 2001 - 15:05:55 CEST


There's a howto on this called 'Linux-kiosk' or something, pick it up at
linuxdoc.org .

Basically, what you need to do is add to rc.local (or the last lines of
rc.M or rc.5, whichever your distro uses... or even create a rc.4
correctly for kiosk booting)

while true; do
 su normaluser -c /usr/X11R6/bin/startx
done

This will leave the machine in an infinite loop, if the X server crashes
or is ctrl-alt-backspace or whatever, it will simply come back up. It
also leaves the box with no consoles to switch to...

You might have to change the last line of startx to give the full path of
xinit (usr/X11R6/bin/xinit)

On the subject of a recovery cd, that is easy.
Use MuLinux! If the harddrive is small enough, a simple
 cat /dev/hda | bzip2 | nc theburningmachine 1234

Can transfer it across ethernet where you can burn it onto a CD and
repair the harddrive from Mu with a

cat harddrivebackup.bz | bzip2 -d > /dev/hda

The /hda device contains _everything_, including the partition table &
LILO, so this would be bulletproof...

Of course this relies on the harddrive being a gig or less & having it
networked to a burning machine.

Another way is to partition the harddrive into two, and store the backup
file (in this case just hda1) in hda2 which isn't mounted by the big
linux & have a modified Mu bootdisk as automagical repair.

Jarv

---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.dk
For additional commands, e-mail: mulinux-help@sunsite.dk



This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:19 CET