LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-04-2006, 02:46 PM   #1
JSLayton
Member
 
Registered: Apr 2005
Location: Warrior, AL
Distribution: Slackware 10.1, Fedora Core 4
Posts: 128

Rep: Reputation: 15
VNC server won't start


I'm using CentOS and I tried to setup VNC server to start. In the /etc/sysconfig/vncservers file I have this line

Code:
VNCSERVERS="1:root"
But when booting, the startup line says

Code:
Starting VNC server: 1:root               [FAILED}

I have checked everything that I know to but I can't figure out why it is failing, any ideas?
 
Old 04-04-2006, 03:22 PM   #2
bmeckle
Member
 
Registered: Jun 2004
Posts: 60

Rep: Reputation: 15
Can you start it manually?

If so, have you thought about building a start script? Anything you can do from the command line, you can do on a script.

If you can't start it manually then you have a problem with your VNC setup and need to fix that first.
 
Old 04-04-2006, 03:23 PM   #3
JSLayton
Member
 
Registered: Apr 2005
Location: Warrior, AL
Distribution: Slackware 10.1, Fedora Core 4
Posts: 128

Original Poster
Rep: Reputation: 15
I can't start it manually. I get failed there as well. What now?
 
Old 04-04-2006, 03:29 PM   #4
bmeckle
Member
 
Registered: Jun 2004
Posts: 60

Rep: Reputation: 15
Look at your error logs. They should point you in to something that needs to be tweaked in order for it to work.
 
Old 04-04-2006, 03:35 PM   #5
JSLayton
Member
 
Registered: Apr 2005
Location: Warrior, AL
Distribution: Slackware 10.1, Fedora Core 4
Posts: 128

Original Poster
Rep: Reputation: 15
All it says is that it failed. I was looking in /var/log/messages. Isn't this where it would be?
 
Old 04-04-2006, 03:40 PM   #6
bmeckle
Member
 
Registered: Jun 2004
Posts: 60

Rep: Reputation: 15
You'd have to post part of your log in order for me to help debug that.
I don't use VNC myself, so I am uncertain if there is a seperate log that it creates, but most programs write to the messages file. That is usually a safe bet to say error would show up there.

Some programs allow for debugging or verbose mode. Those messages can be very helpful for fixing problems as well. Might want to check if that's possible.
 
Old 04-04-2006, 04:15 PM   #7
JSLayton
Member
 
Registered: Apr 2005
Location: Warrior, AL
Distribution: Slackware 10.1, Fedora Core 4
Posts: 128

Original Poster
Rep: Reputation: 15
I just downloaded the newest version from real VNCs site and it isn't allowing me to install vncserver as a service. I need help.
 
Old 04-04-2006, 04:57 PM   #8
JSLayton
Member
 
Registered: Apr 2005
Location: Warrior, AL
Distribution: Slackware 10.1, Fedora Core 4
Posts: 128

Original Poster
Rep: Reputation: 15
I finally got it to allow me to connect, but how to I keep it from asking me for a password??
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot start vnc server because the USER environment variable is not set izac5 Linux - Newbie 4 11-21-2009 08:10 PM
Cannot start VNC Server JockVSJock Linux - Software 2 06-14-2005 08:34 AM
cannot start vnc server mikeshn Linux - Software 1 11-14-2004 12:44 PM
start VNC server from command line gyost Mandriva 3 08-18-2004 09:27 PM
start vnc server at RH linux ust Linux - General 1 06-21-2004 05:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:36 AM.

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