Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have the task of putting VNC server on a CentOS server and putting VNC viewer on my XP machine. I have zero experience on Linux, so I need step by step from downloading to the end. If you have a place to steer me in the right direction, that will work too. Thank you so much.
yeah, i did everything, i've talked to another guy that said he got his up and going today as well. i dont know what i did, i'm thinking i messed up some code somewhere. i'm reinstalling the OS as i type. thanks for your time.
Hung at the same place but trying to go one more step!
Interestingly enough, "vncviewer localhost:2" or "vncviewer 127.0.0.1:2" works but if I try to use the real IP address of the server like "vncviewer 192.168.12.3:2" this fails! The hosts file has a proper entry but yet it fails. How is that explained? My one step further is getting this to work with a Xen virtual machine. I thought that the VM was going to be the tough part but yeah, thought wrong.
If you really tried anything with port and :1 after your linux box ip try disabling your linux firewall by typing
service iptables stop
and try entering into your vnc again.
If the problem will be solved you have to follow these simple steps:
open the iptables config vi /etc/sysconfig/iptables
Insert this Line: -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 5901 -j ACCEPT
enable iptables again service iptables restart
The above steps should work however, you also need to ensure that the vncserver service is started as well. This service is not set to automatically start with your system. You should then be able to connect just fine.