To execute an arbitrary set of commands at a certain time, you could use
"at now + 1 minute" or "at now + 2 hours" or "at noon" and so forth (man
at).  Then at prompts you for what command to run.  I don't know what
command would work to exit a GNOME session.  "exit" and "logoff" are
shell built-ins, so they won't work.

Can someone complete the script with a command to log out of GNOME?

-- 
greg reagle | computer technician, system administrator | community it
innovators - CITI | 202-234-1600 ext. 353


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:edubuntu-users-
> [EMAIL PROTECTED] On Behalf Of Bob Wooden
> Sent: Tuesday, March 18, 2008 4:30 PM
> To: Edubuntu-users list; [EMAIL PROTECTED]
> Subject: auto logoff
> 
> I have been in search of a program or a script that will logoff users
> after a pre-determined period of in-activity..  Anyone had any
> experience with this?
> 
> --
> edubuntu-users mailing list
> [email protected]
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/edubuntu-users

-- 
edubuntu-users mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/edubuntu-users

Reply via email to