From owner-freebsd-questions@FreeBSD.ORG Fri Sep 5 06:53:17 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3797A16A4BF for ; Fri, 5 Sep 2003 06:53:17 -0700 (PDT) Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B3D843FE3 for ; Fri, 5 Sep 2003 06:53:16 -0700 (PDT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Fri, 5 Sep 2003 14:53:02 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 19vGzU-0005vC-00; Fri, 05 Sep 2003 14:51:08 +0100 Date: Fri, 5 Sep 2003 14:51:08 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: "Scott I. Remick" In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Jan Grant cc: freebsd-questions@freebsd.org Subject: Re: VNC & ssh tunneling problem: getsockopt TCP_NODELAY error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2003 13:53:17 -0000 On Fri, 5 Sep 2003, Scott I. Remick wrote: > On Fri, 5 Sep 2003 11:58:16 +0100 (BST), Jan Grant wrote: > > > Loks like the VNC srever isn't listening at that location. Is it > > running? > > Yep: > > -bash-2.05b$ ps > PID TT STAT TIME COMMAND > 60273 p0- S 0:00.49 Xvnc :1 -desktop X -httpd > /usr/local/share/vnc/classes > 60277 p0- S 0:00.20 /usr/X11R6/bin/blackbox > 61709 p0 Is 0:00.03 bash > 80005 p1 Is 0:00.02 bash > 96020 p2 Ss 0:00.01 -bash (bash) > 96025 p2 R+ 0:00.00 ps > 490 v0 I 0:00.01 -bash (bash) > 61622 v0 I+ 0:00.01 /bin/sh /usr/X11R6/bin/startx > 61634 v0 I+ 0:00.01 xinit /home/scott/.xinitrc -- -nolisten tcp > 61640 v0 I 0:00.00 sh /home/scott/.xinitrc > 61641 v0 I 0:01.31 /usr/X11R6/bin/gnome-session > 61644 v0 S 0:01.62 /usr/X11R6/libexec/gconfd-2 13 > > Blackbox is the wm being started from ~/.vnc/xstartup since I normally use > gnome. And I'm forwarding the ports in PuTTY: > > 2003-09-05 09:02:56 Local port 7001 forwarding to localhost:5901 > 2003-09-05 09:02:56 Local port 7002 forwarding to localhost:5902 > 2003-09-05 09:02:56 Local port 7003 forwarding to localhost:5903 > > (the same port-forwarding that worked for me before). > > On the Windows system, I then VNC to localhost:7001 which triggers that > error on the VNC box. I'd still recommend double-checking with sockstat on the BSD box, (and netstat -an on the windows box, but I don't think that's the problem). -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ Random act of violence against bread: whole pint. -- extract from the "Hawk the Slayer" drinking game