The server appears to be closing the connection for some reason. What does the server error-log say?
Regards, Wez @ RealVNC Ltd. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of volatile.memory > Sent: 23 January 2007 10:42 > To: vnc-list@realvnc.com > Subject: Re: RealVNC Enterprise "Connection Refused (111)" > > OK, after tracking down three problems (incorrect etc/alternatives > set for vncserver and vncviewer, and an incorrect entry for the > server in the Xvnc file), I now have the system pointing to all the > correct executables. Config is still the same as first post, except > "server" entry now points (correctly) to /usr/local/bin/Xvnc > > Now, when connecting locally... > > $ vncviewer localhost :1 > > I get... > > VNC Viewer Enterprise Edition E4.2.7 for X - <etc> > ... > TcpSocket: connected to 127.0.0.1::5901 > CConn: connected to host localhost port 5901 > CConn: fopen: Permission denied (13) > CConn: Encryption set to 'Server' > CConn: Closed: read/select: Connection reset > by peer (104) > > This sure seems like a configuration thing to me. What next? > > Thanks, > v.m > > On Jan 17, 2007, at 5:38 AM, James Weatherall wrote: > > > Hi, > > > > In that case, it sounds like the xinetd configuration you're using > > isn't > > correct, xinetd can't read it, you're not running xinetd, or you're > > connecting to the wrong computer by mistake. > > > > The latter problem can be ruled out by running vncserver :1 > to start a > > desktop on display 1, then try connecting to it. If you can > > connect then > > that rules out the latter problem, leaving only xinetd > > configuration issues, > > for which you'll need to look at the xinetd logs. > > > > Cheers, > > > > Wez @ RealVNC Ltd. > > > > > >> -----Original Message----- > >> From: [EMAIL PROTECTED] > >> [mailto:[EMAIL PROTECTED] On Behalf Of volatile.memory > >> Sent: 16 January 2007 18:28 > >> To: vnc-list@realvnc.com > >> Subject: Re: RealVNC Enterprise "Connection Refused (111)" > >> > >> I did that initially to no avail, so I did a reboot of the > system to > >> ensure all config files were picked up... still no go. > >> > >> v.m > >> > >> On Jan 16, 2007, at 5:27 AM, James Weatherall wrote: > >> > >>> Have you HUPed the xinetd service, to get it to read the /etc/ > >>> xinetd.d/Xvnc > >>> configuration file? > >>> > >>> Regards, > >>> > >>> Wez @ RealVNC Ltd. > >>> > >>> > >>>> -----Original Message----- > >>>> From: [EMAIL PROTECTED] > >>>> [mailto:[EMAIL PROTECTED] On Behalf Of volatile.memory > >>>> Sent: 15 January 2007 20:18 > >>>> To: vnc-list@realvnc.com > >>>> Subject: RealVNC Enterprise "Connection Refused (111)" > >>>> > >>>> I have installed RealVNC Enterprise x86 4.2.7 (with temp lic. > >>>> key) on > >>>> Ubuntu 6.10 via the tarball. > >>>> > >>>> My /etc/xinetd.d/Xvnc file is : > >>>> > >>>> service Xvnc > >>>> { > >>>> type = UNLISTED > >>>> disable = no > >>>> socket_type = stream > >>>> protocol = tcp > >>>> wait = yes > >>>> user = root > >>>> server = /usr/bin/Xvnc > >>>> server_args = -inetd :1 -query localhost -geometry > >>>> 1024x768 - > >>>> depth 16 -once -fp /usr/share/X11/fonts/misc > -DisconnectClients=0 - > >>>> NeverShared passwordFile=/root/.vncpasswd > >>>> port = 5901 > >>>> } > >>>> > >>>> The service is up and running. Firewall (for testing purposes) is > >>>> off. > >>>> > >>>> Using command-line on the local machine... > >>>> > >>>> $ vncviewer localhost:1 > >>>> > >>>> gives me... > >>>> > >>>> VNC Viewer Enterprise Edition E4.2.7 for X - built Dec > >>>> 22 2006 11:54:07 > >>>> Copyright (C) 2002-2006 RealVNC Ltd. > >>>> See http://www.realvnc.com for information on VNC. > >>>> > >>>> Thu Jan 11 20:48:09 2007 > >>>> TcpSocket: connect failed:unable to connect to host: > >>>> Connection > >>>> refused (111) > >>>> main: failed to connect: Connection refused (111) > >>>> > >>>> Have I properly configured the Xvnc file? What else should > >> I examine? > >>>> > >>>> Thanks, > >>>> v.m > >>>> _______________________________________________ > >>>> VNC-List mailing list > >>>> VNC-List@realvnc.com > >>>> To remove yourself from the list visit: > >>>> http://www.realvnc.com/mailman/listinfo/vnc-list > >>> _______________________________________________ > >>> VNC-List mailing list > >>> VNC-List@realvnc.com > >>> To remove yourself from the list visit: > >>> http://www.realvnc.com/mailman/listinfo/vnc-list > >> _______________________________________________ > >> VNC-List mailing list > >> VNC-List@realvnc.com > >> To remove yourself from the list visit: > >> http://www.realvnc.com/mailman/listinfo/vnc-list > > _______________________________________________ > > VNC-List mailing list > > VNC-List@realvnc.com > > To remove yourself from the list visit: > > http://www.realvnc.com/mailman/listinfo/vnc-list > _______________________________________________ > VNC-List mailing list > VNC-List@realvnc.com > To remove yourself from the list visit: > http://www.realvnc.com/mailman/listinfo/vnc-list _______________________________________________ VNC-List mailing list VNC-List@realvnc.com To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list