Problems with wtmp file and logouts
Thu Nov 6 22:44:01 2003
Using RealVNC Xvnc 3.3.7 and also the 4.x beta, I've noticed that the
wtmp file is not being updated when a session terminates - even
normally. I've got an accumulation of 30 "logins" showing up using who,
and these logins are consuming more and more pseudo-ttys.
However, there are no active tasks for the majority of these "old"
logins - so it appears to be strictly isolated with the wtmp file not
being updated when someone logs out.
In xinetd, I'm calling Xvnc as follows:
(filename is /etc/xinetd.d/vnc800):
# default: on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/bin/Xvnc
server_args = -inetd -once -query localhost -geometry 800x600 -depth
log_on_failure += USERID
disable = no