I got that error message alot when I first used VNC. The cause? The server wasn't really running because of errors that were encountered e.g. because I mucked around with the ~/.vnc/xstartup script or the vncserver script, or just problems with the way I invoked the server. The cause is usually very explicit from examining ~/.vnc/MachineName:3.log (replace 3 with whatever display number you used to start the server).
Fred -------------------------------------------------------------------------- Fred Ma Department of Electronics Carleton University, Mackenzie Building 1125 Colonel By Drive Ottawa, Ontario Canada K1S 5B6 [EMAIL PROTECTED] ========================================================================== > Date: Tue, 15 Jan 2002 15:48:34 +1100 > From: Ramin Balaghi <[EMAIL PROTECTED]> > Subject: Solaris-2-Solaris problem > > I'm trying to configure two unix machines (Solaris 8) so that I can use > one of them as a vnc server and the other as a vnc client. > They both are on a same subnet (no proxy or firewall between). > I have executed 'vncserver' and provided the password. > On the vnc client I get following message when I execute 'vncviewer > <hostname or ip-address>': > > vncviewer: ConnectToTcpAddr: connect: Connection refused > Unable to connect to VNC server > > I can telnet to the vnc server from the vnc client and (after setting > the DISPLAY) launch, for example, xterm. So I guess the X part is > working. > I've run 'vncserver' both as root and non-root user with the same > result. > Would appreciate if anybody could come with a suggestion. > Regards, > Ramin. --------------------------------------------------------------------- To unsubscribe, mail [EMAIL PROTECTED] with the line: 'unsubscribe vnc-list' in the message BODY See also: http://www.uk.research.att.com/vnc/intouch.html ---------------------------------------------------------------------