Starting Xvnc via xinetd ok on all but one ...

Clay Douglass clay.douglass "at" conformative.com
Tue May 4 14:18:01 2004


I have VNC server running on several RedHat 8 and 9 boxes. Installed to be 
invoked by xinetd.

I use :
[root "at" localhost root]# cat /etc/xinetd.d/vnc
service vnc
{
         disable = no
         protocol = tcp
         socket_type = stream
         wait = no
         user = nobody
         server = /usr/bin/Xvnc
         server_args = -inetd -query localhost -once -geometry 1024x768 
-depth 16
}

To invoke the server. On one machine I cannot connect. If I telnet to the 
machine port 5900 instead of the RFB... message I get

Fatal server error:            Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock and start again.
Connection to host lost.

Since display 0 is the local X server on the box ....

I have manually started Xvnc and that works... I can't figure out what's 
different between this machine and the others. Why would it try to start as 
display 0?

Thanks,

Clay