handmousemaster
24-05-2008, 18:22
I had the same problem (with Fedora 8, Cent Os...). The solution is simple ^^.
The server might came with a firewall installed, which would block the VNC connection attempt. To find out, type the following in Putty while login as root to list the filter table of iptables:
The above output means there is no firewall. If your output has entries under the 3 chains (INPUT, FORWARD, OUTPUT) and/or has more chains, then we'll need to flush the iptables:
List the table again to make sure it's empty. Then try to connect with VNC Viewer again.
SELinux has nothing to do with this (enabled or disabled, the result is the same). May be, it would be better if the initial configuration has a iptables empty ^^
The server might came with a firewall installed, which would block the VNC connection attempt. To find out, type the following in Putty while login as root to list the filter table of iptables:
# iptables -t filter -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
# iptables -F
SELinux has nothing to do with this (enabled or disabled, the result is the same). May be, it would be better if the initial configuration has a iptables empty ^^