I've got VNC installed on my PC. But I can't connect to it.
Code:
# nmap -sT -O localhost
Starting Nmap 5.00 ( http://nmap.org ) at 2010-02-15 18:04 EST
Interesting ports on localhost.localdomain (127.0.0.1):
Not shown: 989 closed ports
PORT STATE SERVICE
...
5901/tcp open vnc-1
...
Device type: general purpose
Running: Linux 2.6.X
OS details: Linux 2.6.15 - 2.6.27
Network Distance: 0 hops
Code:
# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
I've configured my VNC password, and am prompted for the password upon connection attempt. I know I'm entering the proper password.
For some reason, I'm unable to connect to it, whether it be from localhost, another PC, or even my droid.
I AM able to connect via SSH.
Ideas?