Network routing mystery; ssh works, vncviewer doesnt

Sarah McGlinchey sarahwithanx at gmail.com
Mon Nov 28 16:58:03 EST 2005


If you SSH to a machine on the same subnet, can you telnet to VNC? 
This will at least tell you if it is an issue with the VNC host or
your remote connection.

If there are no firewall rules to force it to do so, OpenVPN is not
going to treat connections to 5902 any different than 22.  I would
suggest you verify VNC is accepting outside connections (including
ones from the OpenVPN subnet).  Otherwise you may want to look at any
firewall rules in between you and the server.

On 11/28/05, John Abreau <jabr at blu.org> wrote:
> Andrew Medico wrote:
>
> > What happens when you try "telnet <host> 5900" (for display numbers
> > other than 0, add the display number to 5900)? If that gives you "no
> > route to host" too, you've got a network problem and not an
> > application problem.
>
> % telnet 10.1.16.4 5902
> Trying 10.1.16.4...
> telnet: connect to address 10.1.16.4: No route to host
> telnet: Unable to connect to remote host: No route to host
>
>
> % telnet 10.1.16.4 22
> Trying 10.1.16.4...
> Connected to ebony.ovpn.zuken.com (10.1.16.4).
> Escape character is '^]'.
> SSH-2.0-OpenSSH_4.2
>
>
> % telnet 10.1.16.4 80
> Trying 10.1.16.4...
> Connected to ebony.ovpn.zuken.com (10.1.16.4).
> Escape character is '^]'.
>
>
>
> That's with iptables disabled on the remote host.
>
> Also on the remote host:
>
> % ps ax|grep -i vnc
> 12395 pts/10   S      0:00 Xvnc :2 -desktop ebony.abreau.net:2 (jabr)
> -httpd /usr/share/vnc/classes -auth /home/jabr/.Xauthority -geometry
> 800x600 -depth 16 -rfbwait 30000 -rfbauth /home/jabr/.vnc/passwd
> -rfbport 5902 -pn
> 12400 pts/10   S      0:00 vncconfig -iconic
> 13572 pts/10   R+     0:00 grep -i vnc
>
>
>
>
> --
> John Abreau / Executive Director, Boston Linux & Unix
> ICQ 28611923 / AIM abreauj / JABBER jabr at jabber.org / YAHOO abreauj
> Email jabr at blu.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
> PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://olduvai.blu.org/mailman/listinfo/discuss
>



More information about the Discuss mailing list