Hi everyone,

I've been wrestling these past few days with Derek Dresser's solution on utmp/wtmp 
logging. It's a great way
in recording historical access to the LTSP server (Thanks Jim for putting it on the 
LTSP site). However, i can't 
seem to let 'who' to work properly so as the number of users currently logged-in is 
determined and displayed.

I noticed too that only the last user who has logged in is recognized as current 
(displayed by 'who').  The rest 
who haven't logged-out yet seem to disappear from the currently logged-in users.

It seems that 'sessreg' uses {line-name} (-l option) as the basis for indexing the 
utmp database. Whenever 
another user logs-in, the previous record gets 'stepped-on' since 'sessreg'  
apparently normalizes the 
$DISPLAY argument to only ':0' instead of '{hostname}:0', thus overwriting the 
previous utmp record (having 
the same line-name).  

Is there a way in making all those who access the server have a unique {line-name}?  I 
tried using `tty` instead 
of $DISPLAY but had problems with the 'XServers' file.

I'm stumped (sorry for the term). Any suggestions / help highly appreciated.

regards to all,

Phil


_____________________________________________________________________
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.openprojects.net

Reply via email to