[Gllug] SSH VNC & Tunnels

French, Alastair Alastair.French at racalinst.co.uk
Thu Sep 5 09:46:51 UTC 2002


Hi all

I have been trying to get vnc working over ssh for a couple of days now
without any success. I hope someone can give me some pointers please.

My setup is SuSE 7.1 with OpenSSH 3.x, (I can't remember exactly what
version it is). The ssh side of things is not a problem, I can connect and
login fine. On the client side (windows I'm afraid at work). I am using
putty with a tunnel set up from Local port 5902 to localhost:5906 (vnc
server is currently running on desktop 6). 

When I run vnc viewer and enter localhost:5902 (or localhost:2) as the
desktop to connect to it goes away and fails to do anything, not even return
an error. The logs on the client show that the connection was refused by
server. On the server /var/log/messages shows nothing at all. 

A few extra bits of info. The external connectivity from home is via a
SMC7401 ADSL modem / router. Port forwarding is setup for port 22 only. This
has worked in the past, and the only difference is that I was using a cable
modem with no port forwarding (it was transparent).

I have also tried this from the LAN side of the machine (it is also acting
as a firewall) running VNC server and get the same results, so I think I can
rule out the port forwarding and the modem / router. The only thing I can
think of is that with the windows version of VNC server you have to
explicitly allow localhost loopback connections, but I can't find this in
the linux version.

Hope someone can help

Cheers

Alastair


*******************************************************************************************************
The information contained in this e-mail is confidential. It may also be legally privileged. It is intended only for the stated addressee(s) and access to it by any other person is unauthorised. If you are not an addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this e-mail. Such unauthorised use may be unlawful.

If you have received this e-mail in error, please inform RACAL INSTRUMENTS LTD. immediately by phoning +44 (0)1628 604455 (ask for the I.T. dept) and delete it and all copies from your system.
*******************************************************************************************************


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list