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.
That means that it has started and is listening on port 5901. 5801 is the webviewer and 6001 is the X server. You should now be able to connect to it from another machine if you can't then make sure you don't have a firewall blocking requests.
If you don;t have any special pre defined rules for internet sharing etc then try just removing all rules:
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
If this works and you want to be a bit more secure:
# Drop all connections by default
iptables -P INPUT DROP
# Accept current connections
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
# Accept connections to certain ports eg 5901
iptables -A INPUT -p tcp --dport 5901 -j ACCPT
I figured it out. Thanks a lot for your help. I just needed the pointer in the right direction.
Here's what I modified -
Chain Cid3EB05FFB.0 (2 references)
target prot opt source destination
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW multiport dports 5901,10000,25,80,22,21,53,993,143,443,110,3306,8443,995
So, now I am connecting to VNC. However, as I read on some other Thread on this forum, it is showing the command line based screen with a mouse pointer. So,
1) I'll probably have to install KDE/GNOME. Correct?
2) I'll have to change the .vnc/xstartup file to point to the correct file? It points to xinitrc right now.