Starting Xvnc via xinetd ok on all but one ...
akira "at" sra.co.jp
Tue May 4 15:08:01 2004
On Tue, May 04, 2004 at 08:17:35AM -0500, Clay Douglass wrote:
> 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 ....
How did you defined 'vnc' service in '/etc/services'?
If your 'vnc' service was using port 5900, then Xvnc also
uses port 6000, which is the port of the normal X server.
Defined 'vnc' service with port 5950 (or such) and
connect to that port.
Akira Hatakeyama E-Mail: akira "at" sra.co.jp
chigasaki-minami, tsuzuki ward, yokohama, japan