VNC & ssh tunneling problem: getsockopt TCP_NODELAY error

Scott I. Remick scott at sremick.net
Fri Sep 5 07:26:03 PDT 2003


On Fri, 5 Sep 2003 14:51:08 +0100 (BST), Jan Grant wrote:

> 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).

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 <proff at iq.org>.
localhost  5901 unassigned   unknown
                -> RFB 003.003\n

Amongst other things, netstat -ab reports on the Windows machine:

TCP    127.0.0.1:7001         0.0.0.0:0              LISTENING
TCP    127.0.0.1:7002         0.0.0.0:0              LISTENING
TCP    127.0.0.1:7003         0.0.0.0:0              LISTENING

...which makes sense, since I'm getting through enough to trigger the error
on the FreeBSD system.



More information about the freebsd-questions mailing list