When attempting to connect to a VNC server that is
started by inetd/xinetd receive a "Connection refused:
connect()" dialog box. There is not an issue connecting
to the same display with other VNC clients.
The VNC servers are configured to receive incoming
connections on port 50-52 (three different resolutions)
and present a XDM logon screen. In this mode, a
password is not required and so all connections are
initiated in an unauthenticated state and XDM provides
the authentication mechanism.
The following is a copy of the xinetd file for the VNC
service on port 5951 (display 51) so that you may
recreate the environment if needed. Note, XDM (GDM,
KDM, etc.) still needs to be configured to make this work.
disable = no
socket_type = stream
wait = no
user = root
server = /cte/local/linux-2-i386/bin/Xvnc
server_args = -inetd -query jhadur -once
-geometry 1024x768 -depth 24
log_on_failure += USERID