On Thu, 2005-05-05 at 01:01, Mahesh M. wrote:
> Hi,
> 
> Thanks for reply. I tried "last -a |grep still". It
> also gives the list of users who have a terminal open.
> Users who have only graphical applications running are
> not listed.

Mahesh,
which display manager are you using?  There are three that are widely
used: XDM, KDM, and GDM.  Each has a way to correct this problem, but
the solution is different depending on which display manager you use.

The "who", "w", and "users" commands all use the same database to track
who is signed in, and who is not.  The database is stored in utmp and
wtmp.  Regardless of which DM you use, the DM needs to be configured to
call "sessreg" at sign-in to add an entry, and to call it again at
sign-out to removed the entry.


GDM runs /etc/X11/gdm/PreSession/Default at sign-in and
/etc/X11/gdm/PostSession/Default at sign-out.

XDM runs /etc/X11/xdm/GiveConsole and /etc/X11/xdm/TakeConsole.

I'm not sure about KDM, I've never used it.  Perhaps someone else on the
list can help?

-- 
David Johnston <[EMAIL PROTECTED]>



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_____________________________________________________________________
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