[Kde-kiosk] Idle Logout/Time Out

Peter kde-kiosk@mail.kde.org
Wed, 11 Dec 2002 14:50:07 +0100


Hello,

Carla writes:
 > I want to thank you all for discussing this!  Over Christmas holidays I'm
 > planning to set up a few kiosk-type computers for my work (a public
 > library).  Right now we are dealing with the problems with Windows.  Having
 > to reinstall on a regular basis is just a little too much.  So far,
 > KDE-kiosk sounds like the answer!  The only problem I could think of was the
 > idle logout and the way we have to set time on the computers in the library.
 > 
 > We have to limit people to a half an hour with periodic warnings and
 > password protect it once it locks out.  I was thinking about xscreensaver
 > for this, but I don't know how to get the warnings at 15, 5, 3, and 1
 > minutes of time remaining.  We have a staff member who puts in the password

you could write a script like this, and put it in the Autostart
folder: 

--------------------------------------8<--------------------------------------

#!/bin/bash
sleep 900
xmessage -center -timeout 5 "15 min remaining"
sleep 595
xmessage -center -timeout 5 "5 min remaining"
sleep 115
xmessage -center -timeout 5 "3 min remaining"
sleep 115
xmessage -center -timeout 60 "1 min remaining"
dcop ksmserver ksmserver logout 0 0 0

--------------------------------------8<--------------------------------------

 > to let people on, so people would not be logging themselves on and off and
 > the password has to be fairly easy for staff to change.  We have learned we
 > must change the password weekly or we begin to have problems.  Any
 > suggestions for the warnings?
 > 

of course, you must make sure, that the user does not change the
password while logged in...


cheers,

	Peter

-- 
Peter Kruse <pk@q-leap.com>
Q-Leap Networks GmbH
+497071-703171