Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I am trying to install vnc server on fedora 10.
I downloaded & installed vnc-server-4.1.2-35.fc10.x86_64.rpm as root.
and made following change in /etc/sysconfig/vncservers file
VNCSERVERARGS="-geometry 800x600 -nolisten tcp -nohttpd -localhost"
as vct user set vncpasswd
and as root user started vncserver by
service vncserver start
[root@console-0124 .vnc]# service vncserver start
Starting VNC server: 1:vct
New 'console-0124.local:1 (vct)' desktop is console-0124.local:1
Starting applications specified in /home/vct/.vnc/xstartup
Log file is /home/vct/.vnc/console-0124.local:1.log
[ OK ]
then started vncviewer and tried to connect as console-0124.local:1
then i got error as
unable to resolve host by name: the requested name is valid and was found in the database, but it does not have the correct associated data being resolved for. (11004).
and when i tried to connect via ip address then i got
unable to connect to host: A socket operation was attempted to an ureachable host (10065)
what is wrong.
xstart file in /home/vct/.vnc is as follows
I changed it to VNCSERVERARGS="-geometry 800x600".
Now i added 5901 port to iptables and restarted iptables service.
[root@console-0124 ~]# cat /etc/sysconfig/iptables |grep 5901
-A INPUT -m state --state NEW -m tcp -p tcp --dport 5901 -j ACCEPT
But when i use netstat command i am not finding 5901 port open.
You should take a look at /home/vct/.vnc/console-0124.local:1.log to see if you can find the reason vncserver is not running or it crashes right after startup.
Also a look at the log files in /var/log may be of help on this.