Problem Connecting to Linux Server
James Weatherall
jnw "at" realvnc.com
Tue Jan 17 12:49:01 2006
Doug,
I suspect that the problem that you're having is that Xvnc Enterprise
Edition will default to using a secure connection, which requires that it
have access to a private key. You therefore need to use vnckeygen to ensure
that the "nobody" user has a private key in their ~/.vnc directory.
You will also need to tell Xvnc not to authenticate the incoming connection,
by adding "UserPasswdVerifier=None", or to authenticate it against the user
accounts database on the system, with "UserPasswdVerifier=UnixAuth".
As a simple test to get started, you can use "SecurityTypes=None" on the
Xvnc command-line to tell Xvnc not to perform encryption or require
authentication. This should allow you to connect & verify that the rest of
the setup is working.
Regards,
Wez @ RealVNC Ltd.
> -----Original Message-----
> From: vnc-list-admin "at" realvnc.com
> [mailto:vnc-list-admin "at" realvnc.com] On Behalf Of Deitterick, Doug G.
> Sent: 17 January 2006 02:20
> To: vnc-list "at" realvnc.com
> Subject: Problem Connecting to Linux Server
>
> I installed RealVNC 4.1.9 on CentOS 4.1. I can connect to the server
> just fine if I manually run vncserver or if I use x0vncserver. The
> problem is when I try to run vnc using xinetd. Every time I try to
> connect I keep getting "The connection closed unexpectedly"
> I don't see
> any errors in the xinetd logs, but I'm not a Linux expert. Any help
> would be greatly appreciated. I followed these instructions to get an
> idea on how to get vnc working with xinetd
> (http://linuxreviews.org/howtos/xvnc). Below is my vnc file
> for xinetd:
>
>
>
> service vnc1024
>
> {
>
> disable = no
>
> protocol = tcp
>
> socket_type = stream
>
> wait = no
>
> user = nobody
>
> server = /usr/bin/Xvnc
>
> server_args = -inetd -query 127.0.0.1 -once -geometry
> 1024x768 -depth 16
>
> }
>
>
>
> I made sure that in /etc/service I have that service listed with the
> correct port. When I go to the IP using a web browser, it gives back
> the following response:
>
>
>
> RFB 004.000
>
>
>
> Again, any help would be greatly appreciated.
>
>
>
> Thanks!
>
>
>
> Doug
> _______________________________________________
> VNC-List mailing list
> VNC-List "at" realvnc.com
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list