As posted a few weeks ago edit /etc/sysconfig/k12ltsp and change
PURGE=NO to PURGE=YES

Thanks for the tip, but I can't find that file in my /etc/sysconfig
directory. This kind of files only reside in /etc/init.d here (Suse
9.1) and those are symlinks to similarly named scripts. But there is no
ltsp file there. I just found an /etc/ltsp.conf, but it does not
contain any line with PURGE, just data about the package loading for
ltsp 4.1.

The line that Sudev showed is only for the k12ltsp distro.  THat is
something that Eric Harrison added.

Jim McQuillan
[EMAIL PROTECTED]

>> Anybody know how to do this using just ltsp 4.1 and xdm?

I did it with a little program, which checks the output of who, for the username and 'ws' (so it only checks actual logins on remote desktops) - it returns a zero exit status if there isn't any, or a 1 exit status otherwise.

Then I just stuck a simple if statement in my Xsession script to check the exit status, if it fails, it shows you an error message, once you click okay you get booted. Should be DM independant.

It's part of the OpenLab distro already, which is free anyway, so if you'd like a copy just mail me - it's only about 10 lines of code.

Sounds easy enough *and* useful enough to make a standard part of LTSP...

Jim?


------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _____________________________________________________________________ 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