Installing VNC-Server on a Fedora 11 Box

I have installed Vnc-server, using the yum install vnc-server. I have configured the username and pw in the sysconfig/vncservers file.
When I try to start the VNC service using  sbin/service vncserver restart, I get the following error.
Starting VNC Server: NO DISPLAYS CONFIGURED.
I am new to linux, so any help would be great.
Thanks
pndoyleukAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

icenickCommented:
Dear pndoyleuk,

If you want to start the service you should run "vncserver start" and not "vnc restart". You run restart if the service is already running.

I hope this is the case.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
martin_2110Commented:
you need to edit /etc/sysconfig/vncservers and uncomment a few lines.
0
martin_2110Commented:
something like this.
VNCSERVERS="2:martin"
VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -nohttpd -localhost"
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

pndoyleukAuthor Commented:
I did vncserver start and I got the following
[root@FedoraWS etc]# vncserver start

You will require a password to access your desktops.

Password:
Verify:

usage: vncserver [:<number>] [-name <desktop-name>] [-depth <depth>]
                 [-geometry <width>x<height>]
                 [-pixelformat rgbNNN|bgrNNN]
                 [-fp <font-path>]
                 <Xvnc-options>...

       vncserver -kill <X-display>
What should I do now.
Thanks
0
pndoyleukAuthor Commented:
Hi
Also I can see vnc viewer on the fedora desktop and I can connect to a window pc. But I can find the vnc server?
0
pndoyleukAuthor Commented:
CORRECTION
Hi
Also I can see vnc viewer on the fedora desktop and I can connect to a windows pc. But I can't find the vnc server?
0
pndoyleukAuthor Commented:
If I try to vnc from a windows pc I get the following error
Unable to connect "connection error 10061"
0
darrickhartmanCommented:
You will need to specify the port number when accessing the remote desktop.  The first one would be at port 5901; second at 5902 etc.

Also make sure that the Linux firewall is allowing access.
0
pndoyleukAuthor Commented:
Hi
i can't find the xstartup file..
0
pndoyleukAuthor Commented:
ash: chkocnfig: command not found
[root@FedoraWS Download]# service vncserver start
Starting VNC server: no displays configured                [FAILED]
[root@FedoraWS Download]#
0
darrickhartmanCommented:
chkconfig  You have to type the commands in properly if you want things to work.

Also if you read the instructions in the vncserver script it will tell you that you need to set up the displays first.

Try this link for a step by step approach:

http://www.g-loaded.eu/2005/11/10/configure-vnc-server-in-fedora/
0
darrickhartmanCommented:
pndoyleuk,

Have you had a chance to get this working?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.