Open one SSH/VNC connection, but not another

William Hooper whooper "at" freeshell.org
Sat Jan 31 21:21:00 2004


Jaanus Kuusaar said:
> When I connect to the Linux machine, the Putty's event log says:
> 2004-01-31 22:05:07	Local port 5900 forwarding to localhost:5900
> 2004-01-31 22:05:07	Local port 5901 forwarding to localhost:5901
> 2004-01-31 22:05:07	Local port 5902 forwarding to localhost:5902

Good, using localhost.
[snip]
>> >    However,  when I try to connect from my Win98 machine with TightVNC
>> >    to localhost:1, in the Putty's event log I can see the
>> >
>> >    Forwarded connection refused by server remark.
>>
>> Sounds like it might be an SSH issue.
>>
>> >    At  the  same  time,  when connecting to localhost:0, everything
>> >    works fine, however the vncserver is that of another user.
>> >
>> >    I  tried  telnet localhost:1 and it returned a line starting with
>> >    RFB, so the VNCserver seems to be working ok.
>>
>> On the SSH client machine, or the linux machine?
>
> On the linux machine.

Then you are not testing the tunnel.  What do you get when you try to
"telnet localhost 5902" from the SSH client?

> Below is evidence that Xvnc is running.

I don't think anyone doubts that.

-- 
William Hooper