Some additional findings on this problem.
1) I rebooted my server, and the same problems still exist under VNC 3.3.6.
2) Whether I "log out" of my X session or not makes no difference... there
is invalid output with the 'who' command regardless... i.e., a corrupt
/var/run/utmp file!
3) I've confirmed the problem also exists on RH Linux 7.3... running VNC
3.3.6. On this machine, though, the X session is kicked off slightly
differently with the following $HOME/.vnc/xstartup file:
#!/bin/sh
# Red Hat Linux VNC session startup script
exec /etc/X11/xinit/xinitrc
4) The versions of xterm I use are part of XFree86 4.0.3(156) for RH Linux
7.2, and XFree86 4.2.0(165) for RH Linux 7.3. Perhaps this is all an xterm
issue, but I'm unable to confirm this... I'm only able to access these
machines remotely with VNC.
Still haven't heard back from anyone on my first post... I'm surprised
noone's run into this problem, or perhaps hasn't noticed.
Could someone with a similar setup (i.e., Linux) please compare what they
see with the 'w' command and 'who' command, after they've run VNC (with some
xterm windows) and killed VNC? Do the two mismatch... i.e., does the 'who'
command still report the "xterm" logins?
Thanks,
Ross
----- Original Message -----
From: "Ross MacKinnon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 28, 2003 4:00 PM
Subject: VNC and corrupt utmp file
> I'm running VNC 3.3.6 on RH Linux 7.2, and I've been encountering a
problem
> where 'utmp' entries, created during an X session (running under VNC), do
> not seem to be getting deleted once I kill the VNC server. This leads to
> corruption of the utmp file, and invalid 'who' command results.
>
> Notes:
> 1) I've changed my $HOME/.vnc/xstartup file to the following:
> #!/bin/sh
> xrdb $HOME/.Xresources
> /etc/X11/xinit/Xclients
>
> 2) I recently upgraded to VNC 3.3.6 from 3.3.3. So to be fair, the
problem
> may not exist with the new VNC, and what I have is left-over corruption.
I
> plan to reboot... which normally resets the utmp file... but I can't
afford
> to be doing this on a regular basis, of course.
>
> 3) I'm killing the vncserver without first logging off of my X session.
> Should this make any difference?
>
> Has anyone else observed this problem? Does anyone know how to fix the
> problem?
>
> Ross
> _______________________________________________
> VNC-List mailing list
> [EMAIL PROTECTED]
> http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list