I was told that I should use openSSH in Cygwin to make the forwarded
connection to the gateway, then run vncviewer, but wasn't given many details.
With vncserver working on my workstation, and it accessible remotely, I looked
at using cygwin. After getting openSSH working in Cygwin, I tried vncviewer
before I realized it wasn't in there. I couldn't find anything on adding
vncviewer to cygwin, but saw mentioned that its easier just to use Windoz VNC
Viewer. I found an article explaining how to make the forwarded connection
using putty and knew that the terminal server had putty and Windoz VNC Viewer
so tried it and it worked.

When I connect with putty straight to the gateway (no Remote Desktop
Connection connection to Terminal Server), then use VNC Viewer, I get
connection timed out (10060). I think I know how to make the connection from
the command line rather than with the putty interface so tried it with Cygwin:
ssh -f -N -C -T -l username -L 5905:10.3.1.194:5900 [gateway external IP]. VNC
Viewer with this connection also times out. I think my Linux firewall on my
home LAN may be blocking. If I flush iptables, I loose my IP masquerade and
connectivity, so I'm trying to find out how to add a rule to allow port 5900.

The way I understand it, when you make the SSH port forwared connection
through the gateway, it opens up a port (5905) on the users computer where the
users VNC Viewer can pick up the vncserver. Maybe there's something stopping
putty from opening up that port when making the connection with the gateway.

What methods can I use to tshoot this?

Regards,
Robert Van Overmeiren



So it sounds like you problem is with cygwin, not VNC.  Perhaps you will
have better luck on a cygwin list?

Have you started the cygwin X server?

--
William Hooper
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to