?
Solved

Installing VNC-Server on a Fedora 11 Box

Posted on 2010-01-12
13
Medium Priority
?
644 Views
Last Modified: 2013-12-06
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
0
Comment
Question by:pndoyleuk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
  • 2
  • +1
13 Comments
 
LVL 7

Accepted Solution

by:
icenick earned 672 total points
ID: 26294870
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
 
LVL 7

Expert Comment

by:martin_2110
ID: 26298772
you need to edit /etc/sysconfig/vncservers and uncomment a few lines.
0
 
LVL 7

Assisted Solution

by:martin_2110
martin_2110 earned 664 total points
ID: 26298778
something like this.
VNCSERVERS="2:martin"
VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -nohttpd -localhost"
0
Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

 

Author Comment

by:pndoyleuk
ID: 26302389
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
 

Author Comment

by:pndoyleuk
ID: 26302558
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
 

Author Comment

by:pndoyleuk
ID: 26302565
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
 

Author Comment

by:pndoyleuk
ID: 26302581
If I try to vnc from a windows pc I get the following error
Unable to connect "connection error 10061"
0
 
LVL 7

Expert Comment

by:darrickhartman
ID: 26304324
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
 

Author Comment

by:pndoyleuk
ID: 26349189
Hi
i can't find the xstartup file..
0
 

Author Comment

by:pndoyleuk
ID: 26349203
ash: chkocnfig: command not found
[root@FedoraWS Download]# service vncserver start
Starting VNC server: no displays configured                [FAILED]
[root@FedoraWS Download]#
0
 
LVL 7

Assisted Solution

by:darrickhartman
darrickhartman earned 664 total points
ID: 26351709
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
 
LVL 7

Expert Comment

by:darrickhartman
ID: 26542129
pndoyleuk,

Have you had a chance to get this working?
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month14 days, 20 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question