From owner-freebsd-questions@FreeBSD.ORG Fri Sep 5 08:05:25 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 ABFCE16A4BF for ; Fri, 5 Sep 2003 08:05:25 -0700 (PDT) Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCA2943FF2 for ; Fri, 5 Sep 2003 08:05:24 -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 16:05:11 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 19vI7N-0004Du-00; Fri, 05 Sep 2003 16:03:21 +0100 Date: Fri, 5 Sep 2003 16:03:21 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: "Scott I. Remick" In-Reply-To: <1q7tjaut0ukgf.1c9pj9wuuhjv4$.dlg@40tude.net> 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 15:05:25 -0000 On Fri, 5 Sep 2003, Scott I. Remick wrote: > Sure... you help me, I help you help me. :) > > -bash-2.05b$ sockstat -l | grep vnc > scott Xvnc 60273 0 tcp4 *:6001 *:* > scott Xvnc 60273 1 stream /tmp/.X11-unix/X1 > scott Xvnc 60273 3 tcp4 *:5901 *:* > scott Xvnc 60273 4 tcp4 *:5801 *:* > > So it IS listening on 5901. Also: > > su-2.05b# strobe -b 5900 -e 5910 localhost > strobe 1.05 (c) 1995-1999 Julian Assange . > localhost 5901 unassigned unknown > -> RFB 003.003\n OK, two other things (increasingly bizarre) occur to me; after that, I'm stumped: 1. tcp wrappers or similar on your vnc? 2. The "localhost" is (as I recall) resolved on the putty side and the IP to connect to sent to the sshd. Does localhost resolve to anything other than 127.0.0.1 on your windows machine? -- 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/ The Java disclaimer: values of 'anywhere' may vary between regions.