I am running RH5 and I have several X terminals networked. I also have
a FreeBSD machine.
I am trying to make xdm add utmp entrys so I can use 'w' to view who
has logged into their X termial. I have added entrys in xdm-config
to use Xstartup and Xreset. In these files I have calls to sessreg.
/usr/bin/X11/sessreg -a -l $DISPLAY -x /var/db/Xservers.sessreg $USER
The utmp entry is added but as soon as the Xstartup script
is complete w will no longer report the utmp entry. who still works.
Why does this happen.
Linux machine
bash$ w
10:20am up 1:40h, 2 users, load average: 0.01, 0.01, 0.00
daryl ttyp1 8:51am 0:00 0:01 0:00 w
bash$ who
daryl ttyp1 Jul 3 08:51 (bigd)
logtst da23:0 Jul 3 08:52 (da23.ci.com.au:0)
Doing the same thing on my FreeBSD machine runs flawlessly. eg:
bash$ w
logtst da23:0 Jul 3 07:39 (da23:0)
bash$ who
logtst mor da23:0 Fri08AM 0 -
--
--->>>>> PLEASE remove SP from the Reply address <<<<---
--
Daryl Sayers
Corinthian Engineering Ph: (02) 9906 4333
Suite 19, 401 Pacific Hwy Fax: (02) 9906 1556
Australia www: http://www.cordoors.com.au