LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 08-09-2011, 06:35 AM   #1
coolpraz
Member
 
Registered: Feb 2010
Posts: 35

Rep: Reputation: 0
How to configure VNC server after installation in Red Hat Entriprise Linux 6


I sucessfully install vnc server and client in my machine after installation in GUI mode i clicked on service and enable vnc server

when i click on start.
It says that "This service is being refreshed right now"

Then after i use terminal and typed "#service vncserver start"
its display error message
"Starting VNC server: no displays configured [FAILED]"

plz help me with detail infromation of this problem.
 
Old 08-25-2011, 09:21 AM   #2
mike-ocs
LQ Newbie
 
Registered: Jul 2011
Posts: 6

Rep: Reputation: Disabled
I don't know if you did this, but you'll need to edit /etc/sysconfig/vncservers. The whole file is commented out by default. At the bottom of the file you should see the last two lines which look like:
# VNCSERVERS="2:myusername"
# VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -localhost"

At a minimum, you'll need to modify the VNCSERVERS line to specify a display for a user. Replace "myusername" with the username that should have the vncserver running. So for user mike, it might look like:
VNCSERVERS="2:mike"

You don't need to specify anything for the VNCSERVERARGS line, but you could if you wanted to. Keep in mind that for each user specified in VNCSERVERS, you'll need to switch over to that user (su - username) and run the vncpasswd command.

Mike

Last edited by colucix; 08-25-2011 at 10:58 AM. Reason: Advertising to commercial site removed.
 
1 members found this post helpful.
Old 08-26-2011, 07:55 AM   #3
coolpraz
Member
 
Registered: Feb 2010
Posts: 35

Original Poster
Rep: Reputation: 0
thanks mike
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to configure DHCP Server in Red Hat Linux ? gardenair Linux - Newbie 8 04-19-2010 03:07 AM
to configure RAID 1 on Red hat Enterprise Linux after installation of operating syste narender1762 Linux - Newbie 9 11-17-2009 05:31 PM
Linux RedHat Entriprise and how to configure RAID1 MandrivaUser Red Hat 10 07-17-2007 08:59 AM
How to configure Red Hat Linux as a server gschrade Red Hat 3 10-29-2003 12:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration