Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Installing VNC-Server on a Fedora 11 Box

Posted on 2010-01-12
13
Medium Priority
?
654 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
  • 6
  • 3
  • 2
  • +1
12 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

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

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

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

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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 Month15 days, 9 hours left to enroll

575 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