View Full Version : vncviewer error

22nd August 2007, 06:00 AM
what should i do my vncviewer has problem with unable to connect the host ?
i have configure vncserver conf and add port 5900 but always fail to connect other pc.

22nd August 2007, 01:01 PM
did you start a vncserver on the host you are trying to connect to?

24th August 2007, 07:22 AM
i start and do configuration vncserver to host client too.
and vncserver was running.
if try to connect other host always popup unable to connect the host . no route to host(113).
i already add port 5900 .

24th August 2007, 11:13 AM
Most likely, if the two boxes are on the same LAN, you have a firewall rule setup somewhere, if it is the local box, the one you are sitting at trying to connect from, do: `iptables -nvL` and this will show any firewall rules setup, you may just need to open the destination port locally:

iptables -I INPUT -m state --state NEW -m tcp -p tcp --dport 5901 -j ACCEPT

24th August 2007, 05:13 PM
many thanks to help me.
i do iptables with using Firewall
Chain RH-Firewall-1-INPUT (1 references)
3 136 ACCEPT tcp -- * * state NEW tcp dpts:5900:5902
i think this is the problem

24th August 2007, 11:57 PM
Glad you got it working ... enjoy