VNC Connection Over SSH Problem
GB
lisaandgrant-fn "at" earthlink.net
Sun Nov 5 01:23:01 2006
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.
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
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.)
Does anyone have any suggestions on how to make this vncviewer work?
Thanks,
Grant