VNC Connection Over SSH Problem
Mick
michaelkintzios "at" gmail.com
Mon Nov 6 13:24:00 2006
On Sunday 05 November 2006 01:22, GB wrote:
> I'm looking for assistance in diagnosing a problem with establishing a
> VNC connection. The following is how I'm going about it:
>
> 1. Initiate SSH Tunnel- From the vncviewer machine, I establish a ssh
> tunnel connection with the following command in a terminal window:
>
> ssh 192.168.1.107 -l user_name -p 22 -L 5900:192.168.1.107:5900
>
> The ssh connection is successful. As you can see the ssh server's ip
> address is the same as the VNC server. This ssh tunnel
> stays on my local network and is not going through the Internet.
The way this looks from here, the connection stays in your machine - i.e. your
machine (192.168.1.107) connects to your machine (again 192.168.1.107) using
ssh through a loopback port forwarding tunnel.
> 2. Initiate VNC session- I open a new terminal window
> and issue the following command:
>
> vncviewer localhost::5900
>
> The VNC connection prompts for a password and is successful. Lots of joy.
>
> Here is where to problem occurs- I setup a dyndns entry with no-ip.com
> and substitute my 192.168.1.107 entry in the ssh
>
> command above with, my-address.no-ip.com, and successfully make the ssh
> connection.
>
> Next comes the rub, I receive the following error message when issuing
> the vncviewer localhost::5900 command:
>
> ReadFromRFBServer: rdr::EndOfStream
Not sure, but could this be an IP/port conflict. What happens when you
stagger the port Nos (i.e. vnc server on 5900 and vnc viewer on 5901)?
> More rub- I can make the connection successfully from a windows box
> running putty and using vncviewer 4 on windows (using the
> my-address.no-ip.com.)
I am assuming that WinXP box has a different IP address, hence no conflict.
--
Regards,
Mick
[demime 1.01d removed an attachment of type application/pgp-signature]