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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.