If you know the username, then try this:

pkill -u username

That kills all processes for that user.

-Rob

Alfredo Marchini wrote:
> Hi all,
> I have installed on ubuntu hardy a kde3 desktop and ltsp5 for sharing it
> with 10 thin clients.
> I use sldap as authentication db.
> All works fine.
> My users can stay logged in only for 30 minutes.
> On server side, with a bash script on that runs who I see when a user
> login, then trace the time and after 25 minutes I send a message with
> dcop: it says "you have only 5 minutes before forced logout".
> After 5 minutes, if the user still logged in, I force logout with dcop.
> 
> And now the problem: with who program I can see all users, but I cannot
> see the display, because ltsp5 use ssh X forwarding to connect xdmcp. If
> I go on thin client, and echo $DISPLAY variable, I see
> localhost:display, and not the IP Address (cause ssh).
> I like very much ssh forwarding, but I need to know the display if I
> want to logout user or send him a message with dcop.
> There's a way to do it?
> Another question: on thin clients using SSH X forwarding the display
> variable is always localhost? because perhaps I can retrieve user home
> directory, and get the display number :x from .DCOP__Server file from it.
> Or there's a command like who that can give me the display associated
> with the user?
> 
> And at  the end: I see many programs  that can permit me  to show  all
> connected thin client desktop (thinclient-manager, ltsp-manager, italc),
> which is the best for kde (thinclient-manager ask for me the gnome
> packages)...
> 
> Thank you very much
> Bye
> 
> -------------------------------------------------------------------------
> 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
********************************************************

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. If you are not the addressee, any disclosure, reproduction,
copying, distribution, or other dissemination or use of this transmission in
error please notify the sender immediately and then delete this e-mail.
E-mail transmission cannot be guaranteed to be secure or error free as
information could be intercepted, corrupted lost, destroyed, arrive late or
incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions
in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard copy
version.

********************************************************


-------------------------------------------------------------------------
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