From owner-freebsd-questions Sat Apr 27 1:57:36 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id A8B1D37B405 for ; Sat, 27 Apr 2002 01:57:32 -0700 (PDT) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Sat, 27 Apr 2002 09:57:29 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 171Nzo-0000wp-00; Sat, 27 Apr 2002 09:55:56 +0100 Date: Sat, 27 Apr 2002 09:55:56 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: VB Cc: freebsd-questions@freebsd.org Subject: Re: vnc lameness In-Reply-To: <20020426204439.B713@sunny.localdomain> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 26 Apr 2002, VB wrote: > Hi, > > On a 3 computer network (1 FBSD and 2 W2K) VNC works fine to W2K from > W2K both ways on both machines, but I cannot access FBSD via VNC from > W2K, nor can I access W2K from FBSD. > > I am ashamed because it should be rather simple. > > I am cvsuped to 4.4 Release, I started vncserver and ps says its > running. Also, vncviewer brings up the diaglogue in X just as it > should, but typing in a valid address does not work and no error > messages are returned. From W2K viewer, the error message returned is > "cannot connect to server." > > IPFW shows that no packets are being blocked when I try to connect > from W2K, so it's not the firewall. > > Anyone have an idea have any helpful thoughts? VNC works differently on windows to unix. On Windows, you're connecting to screen 0 (which is the main display) - on unix, you connect to screen 1 (or higher), which runs a new X server and session. Use netstat or sockstat to find out what port your vncserver is listening on - is this the same as the w2k machine is trying to connect to? It doesn't sound like it. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk stty intr ^m To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message