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.
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
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:
logtst da23:0 Jul 3 07:39 (da23:0)
logtst mor da23:0 Fri08AM 0 -
--->>>>> PLEASE remove SP from the Reply address <<<<---
Corinthian Engineering Ph: (02) 9906 4333
Suite 19, 401 Pacific Hwy Fax: (02) 9906 1556
Australia www: http://www.cordoors.com.au