On Wed, 2005-03-23 at 13:16, Richard Bos wrote:
> Op woensdag 23 maart 2005 13:17, schreef Gudmund Areskoug:
> > you'd still have to add something like 5 years (at least, I guess) until
> > the "old way" has stopped being common in e. g. peoples homes, voluntary
> > organizations etc. and other places in the typical computer life cycle.
> 
> I asked, because at the moment when the client is powered down, processes are 
> not stopped on the server.  I think that this will not in the future even 
> when a soft power down (or whatever it is called) is used.  The server at the 
> moment is not notified that the processes are to be stopped...

Richard,
GDM will allow you to run a script when a user's session ends.  I run a
script like this.  If a user turns off their terminal, their session
continues to run for a minute or so, until GDM's internal watchdog times
out (the length of the timeout is configurable).

Without a "PostSession" script, GDM's watchdog kills the session master
(eg, "gnome-session" or "kdeinit") and considers its job done.  This
leaves all of the user's other processes running, with process 1 as
their parent.

With a PostSession script, when the session master dies for any reason
(signoff or because GDM's watchdog timer expired), GDM runs my script. 
This script kills off all of the user's other processes and removes kde,
gnome, OpenOffice and Evolution sockets from /tmp.  Once my script ends,
the user's session is cleanly gone.

I expect that KDM has a hook for a post-session script, but I don't know
where it is.
-- 
David Johnston <[EMAIL PROTECTED]>



-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_____________________________________________________________________
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.freenode.net

Reply via email to