Il giorno Fri, 30 Aug 2002, Zoilo cos� ha scritto:

|From: Zoilo <[EMAIL PROTECTED]>
|To: jay <[EMAIL PROTECTED]>
|Date: Fri, 30 Aug 2002 00:07:55 +0200
|Subject: Re: [Ltsp-discuss] automatic logout
|
|On Wednesday 28 August 2002 17:04, jay wrote:
|> On Wed, 2002-08-28 at 09:53, Zoilo wrote:
|> > On Tuesday 27 August 2002 20:23, Zoilo wrote:
|> > > Is there a "gracefull" way to configure automatic logout after, say, 5
|> > > minutes of inactivity?
|> > >
|> > > I suppose I can write my own script to kill the window manager (icewm
|> > > in my case) after some time, but who has another (more elegant) way?
|> > >
|> > > Z.
|> >
|> > Nobody any ideas???
|> >
|> > I am looking for something like TMOUT in bash.
|> >
|> > Z.
|>
|> I am also looking for a way to auto logout users that are idle for a
|> period of time.  I've played with utmp and wtmp but can only get
|> satisfactory results if there is a shell running.
|> Jason
|
|Since no one seems to be able to help us any further, let's try with a
|different question:
|
|=> how (if at all) can I find out if the screensaver is running (i.e.
|visible) on an X-terminal?
|
|If I can find this out, then I will have the screensaver detect inactivity,
|and then I will peek at the screensaver every once in a while, so I can
|terminate the session.
|
|!!!!!!!! I am a such a helpless and hopeless screen-saver newbie; please help
|me, I am totally stuck, ready to give up yesterday!!!!!!!
|
|[ ...desparate cry for help: seems to work very well in this newsgroup.... ]
|

  What about configuring xscreensaver to logout the user instead of running a
graphics application?
  One could put directives in $HOME/.xscreensaverrc like the following:

# don't lock the screen
lock: false
# No startup splash screen
splash: false
# Be quiet
verbose: false
# Activate after 5 minutes
timeout: 5
# Run just one graphics-hack
cycle: 0
# Don't check /proc/interrupts for user activity
procInterrupts: false
# Run this script as a graphics-hack
programs: killall.sh


where killall.sh is a shell script that kills the user's login shell and maybe
sends a notification email to the system administrator.

  I put "procInterrupts false" because this would make xscreensaver check for
interrupt activity on the server, where it's running, instead of the
workstation, unless it's run locally on the workstation.

  I haven't tested it yet, if someone does so before I will, please comment
about it.





  Sandro




-- 
Bellum se ipsum alet
       La guerra nutre se stessa

Livio, Ab urbe condita, XXXIV,9



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.openprojects.net

Reply via email to