Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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 know that there are heaps threads about this topics , but this what I did without any success
This is what I did on FC4 I am logging as root (I know the security implication)
[root@localhost ~]# rpm -q --info vnc-server
Name : vnc-server Relocations: (not relocatable)
Version : 4.1.1 Vendor: Red Hat, Inc.
Release : 10 Build Date: Wed 27 Apr 2005 10:44:11 AM GST
Install Date: Wed 15 Feb 2006 11:53:50 PM GST Build Host: decompose.build.redhat.com
Group : User Interface/X Source RPM: vnc-4.1.1-10.src.rpm
Size : 3054396 License: GPL
Signature : DSA/SHA1, Fri 20 May 2005 10:28:29 PM GST, Key ID b44269d04f2a6fd2Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : http://www.realvnc.com
Summary : A VNC server.
The VNC system allows you to access the same desktop from a wide
variety of platforms. This package is a VNC server, allowing others to
access the desktop on your machine.
The gedit /etc/sysconfig/vncserver
# The VNCSERVERS variable is a list of display:user pairs.
# Uncomment the lines below to start a VNC server on display :2
# as my 'myusername' (adjust this to your own). You will also
# need to set a VNC password; run 'man vncpasswd' to see how
# to do that.
# DO NOT RUN THIS SERVICE if your local area network is
# untrusted! For a secure way of using VNC, see
#zillah uncomment VNCSERVERS="2:myusername"
#zillah uncomment VNCSERVERARGS="-geometry 800x600"
[root@localhost ~]# vncpasswd root
[root@localhost ~]# vncserver
New 'localhost.localdomain:2 (root)' desktop is localhost.localdomain:2
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost.localdomain:2.log
And i run the below command as well
[root@localhost ~]# service vncserver start
Starting VNC server: 2:root A VNC server is already running as :2
The fact that you can connect from within the Fedora box tells you that the server is running and accepting connections. Also, the syntax you used to connect either via a vnc viewer or from your browser are correct. To me, that suggests that something in between is blocking the connections, and I personally suspect the firewall. I know you said that you stopped the firewall, but does that turn off the firewall or does it simply stop all network traffic? Have a look at the output of iptables -L -n and make sure that the firewall is down.
Along related lines, that IP address looks like a real, routable IP address. Do you have a router that this traffic would have to go through?
Did you notice that you've got a typo in each of those lines? The lowercase v could be messing things up. The other thing you may need to check is that each of the users probably needs to have run vncserver one so that passwords are set up. Also, if I'm reading the documenation correctly, I think you may need something more along the lines of this:
Did you notice that you've got a typo in each of those lines? The lowercase v could be messing things up
Yes, because I did copy and paste
if I'm reading the documenation correctly, I think you may need something more along the lines of this:
I will try this,,,thanks for that
And just a suggestion, you might want to reconsider running a vncserver session for root. VNC has little security and it
would personally make me nervous to have a root session automatically started.
I fotgot to tell you that the problem that I have posted in my early thread, was solved (I have been given an advice from another forum) , by logging not as root,,,,(i.e when I logged as
normal user I have not got any problem)