Ok, try to put something like this in your /etc/X11//xdm/Xsession :

if test $(ps -u $USER | grep -c kwin ) -eq 1; then
        kdialog --sorry "Sorry, only one login per user!"
        exit
fi

You have to install kdialog to let it show nicely in kde. 
I admit that I don't know if this works with ldm, too.
A similar solution with gnome and gdm should be easy.

Best Regards,

Frank


-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Donny
Christiaan
Gesendet: Montag, 19. November 2007 10:28
An: [email protected]
Betreff: [Ltsp-discuss] How to limit user login ?


Dear All,

I'm using K12LTSP-6 and I need your help how to limit my user to use 
their login only one at the same time.

If they want to login at another terminal, he/she have to logout from 
other terminal first.

Thanks for your info.

-- 
Best Regards,
Donny Christiaan.
[EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_____________________________________________________________________
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



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_____________________________________________________________________
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