[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to detect which user is connected to $DISPLAY



On Sun, Mar 27, 2005 at 08:04:24PM +0200, Michelle Konzack wrote:

||  Am 2005-03-26 15:07:37, schrieb Josselin Mouette:

||  > 15:03 joss@arrakis ~ > who
||  > joss     :0           Mar 26 14:42
||  > joss     pts/0        Mar 26 14:42 (:0.0)
||  > joss     pts/1        Mar 26 14:42 (:0.0)
||  > toto     :20          Mar 26 15:04
||  > toto     pts/2        Mar 26 15:06 (:20.0)

As I understand it, the program that puts these entries into the whois
database is called sessreg.  Have a look at it; it should be part of
the X startup/shutdown script, at least for xdm.

Ciao.                                                         Vincent.
-- 
Vincent Zweije <zweije@xs4all.nl>    | "If you're flamed in a group you
<http://www.xs4all.nl/~zweije/>      | don't read, does anybody get burnt?"
[Xhost should be taken out and shot] |            -- Paul Tomblin on a.s.r.



Reply to: