I'm not at a RH72 console right now (I have a RH62 in front of me), but this 
is the possible problem: the init script for vncserver checks the file 
/etc/sysconfig/vncserver to see the user/display pairs to be started.

It happens that each vnc instance sets a temporary file /tmp/.X11-unix/X1, 
X2, X3... which functions as a lock for that display number.

When you reboot, the old temporary file is still there (it is not deleted on 
shutdown -- I think this is a bug). This breaks the init script, because it 
tries to connect a new vncserver to the locked display number (this lock is 
wrong, because the server rebooted, but the lock is still there).

Try to edit the /etc/rc.d/init.d/vncserver script and include, before 
anything else, a line rm -f /tmp/.X11-unix/X* and see if this solves the 
problem.  The file X0 (X-zero) belongs to the main X server and I think it 
is correctly deleted when you logoff from X or reboot your machine; but X1, 
X2,... usually remain there...  I have this problem with RH62 too, but here 
I have a manual script to start the vncs...

I'm writing on memory, so I'm not sure if the file names above are totally 
correct. But I think you can figure the right ones.

Regards,

Spectra.



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to