Starting Xvnc via xinetd ok on all but one ...
Clay Douglass
clay.douglass "at" conformative.com
Tue May 4 15:49:00 2004
At 09:12 AM 5/4/2004, you wrote:
>Greetings.
>
>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'?
vnc 5900/tcp # VNC Server
>If your 'vnc' service was using port 5900, then Xvnc also
>uses port 6000, which is the port of the normal X server.
I don't understand that statment. If I use the -inetd Xvnc should use no
ports. It's invoked by xinted and uses stdin/stdout...
Also that same configuration (identical service and xinetd.d/vnc files) is
working find on other machines...
>Defined 'vnc' service with port 5950 (or such) and
>connect to that port.
I will try this.
>--
>Akira Hatakeyama E-Mail: akira "at" sra.co.jp
> http://www.sra.co.jp/people/akira/index.html
>chigasaki-minami, tsuzuki ward, yokohama, japan
Thanks for the suggestion.
Clay