On Mon, Feb 25, 2013 at 11:33 AM, Neil Aggarwal neil@jammconsulting.com wrote:
Hello everyone:
I tried following the instructions on this page to set up a VNC server: http://wiki.centos.org/HowTos/VNC-Server
I can telnet to port 5901 from the machine itself: # telnet 127.0.0.1 5901 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. RFB 003.008
But, when I try to connect to it from the outside world, I get a connection timeout.
so it listens on the localhost, but is it also listening on the other (eth0,1,2...) interfaces?are there possibly outbound network ACLs from your outside host? is there a firewall rule (I think later you said iptables is off, but there could well be others, speculating about your network topology)? what do you get when you use telnet from $outside to $ip_you_really_intend_to_use 5901? and if that's not an option have you considered tunneling X over ssh and just using that?