>> If you try it, please give feedback.
>>
>> The script should be placed in:
>>
>> /opt/ltsp/i386/usr/lib/ldm/rc.d/S15userLoginCheck
>>
>> and then, reroll the image.
>>
>> NOTE:  Older versions of ldm, may have the rc.d directory
>> in:  /opt/ltsp/i386/usr/share/ldm/rc.d/
>>     
>
> When you logout ALL processes you spawned as login are supposed to die. Using 
> that they don't as a feature is going to make blood someday.

Supposed to, yes. However, I've found with Hardy Heron and LTSP5 that 
many times stale processes _are_ left over, especially when a client 
does not exit gracefully. I am in the unfortunate position of having to 
use some very old machines as LTSP clients - though I had thought this 
was a main tenet of the project, apparently technology marches on - some 
of which are PI 233Mhz boxes. These, though functional, sometimes lock 
up. After a hard reboot, the server still has many processes laying 
around that prevent the user from logging back in. I needed a way to 
clean out old sessions and start a new one, and this script accomplishes 
exactly that.

Like Gadi said, the eventual plan is to wrap this under an lts.conf 
variable so it can be enabled/disabled as your setup requires. I can 
envision kiosk setups or public labs wherein this functionality would 
not be desirable.

-Michael

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_____________________________________________________________________
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