LinuxQuestions.org
Visit Jeremy's Blog.
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 03-16-2005, 04:48 AM   #1
Vard0
LQ Newbie
 
Registered: Mar 2005
Posts: 1

Rep: Reputation: 0
VNC server on Fedora FC3


Hi all.

I am trying to get VNC server to load automatically when the system boots.
At the moment, the only way that I can get the service to run is if I first log into the server and then the service starts.

Is there any way to configure the service to start without having to log in first?

Thank you for any help.

vard0
 
Old 03-16-2005, 06:06 AM   #2
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Distribution: RH,FC/SuSE/Debian/HPUX/OSX
Posts: 518

Rep: Reputation: 30
look for the vnc-server daemon and enable it for ur runlevel
check with:
Code:
 chkconfig --list
 
Old 03-16-2005, 10:25 AM   #3
Bl4deRunner
LQ Newbie
 
Registered: Feb 2005
Distribution: Fedora Core 5
Posts: 6

Rep: Reputation: 0
When I run

Code:
chkconfig --list
I get:

vncserver 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Where do I go from here?

Last edited by Bl4deRunner; 03-16-2005 at 10:28 AM.
 
Old 03-16-2005, 12:03 PM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
This should do it for you:

Code:
chkconfig --level 345 vncserver on
SSH is probably a better option, but if you need to "see" a desktop, VNC is cool. I always think running Xwindows on a server is bass ackwards, but whatever floats your boat!

Peace,
JimBass
 
Old 03-17-2005, 02:53 AM   #5
Bl4deRunner
LQ Newbie
 
Registered: Feb 2005
Distribution: Fedora Core 5
Posts: 6

Rep: Reputation: 0
Learning everyday..
One of the joys of being a


Can someone explain me what a "runlevel" is?

Is't like a 'parking spot' on which a user can logon to Linux?
Like: there are 7 runlevels, does it mean that 7 people max can logon simultanously and work in their own workspace on the box?

Last edited by Bl4deRunner; 03-17-2005 at 03:33 AM.
 
Old 03-17-2005, 08:41 AM   #6
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
No, you can have a huge number of people logged into a *nix system regardless of runlevel, so it has nothing to do with the number of simultaneous users. The way I think of runlevels is that they are different sets of startup instructions. You can configure what starts up in each runlevel to suit your needs. For example, you might have runlevel 5 start everything you would possibily use, then have fewer things auto start in 4, even fewer in 3, etc. I told you to start vncserver in runlevels 3, 4, and 5 because chances are very good that you boot into runlevel 5, but if you booted into another you would still have vnc server working. I boot into 3, because I don't want my xwindows to start by default. As with all things linux, you could customize each runlevel to do exactly what you want, but most people leave them set as they come from the install.

The computer switches to runlevel 6 when you give the shutdown or reboot command, and I have never personally used runlevels 1,2, or 6. I think 6 is used if you forget your root password, but I haven't had that problem.

Peace,
JimBass
 
Old 03-17-2005, 09:27 AM   #7
Bl4deRunner
LQ Newbie
 
Registered: Feb 2005
Distribution: Fedora Core 5
Posts: 6

Rep: Reputation: 0
ah.
Thanks! I understand now.

Is this something Fedora-specific, or are all runlevels standardised throughout Linux destributions?

Any idea where I can find information about runlevels, in specific the filosophy behind the different ways they are configured?
 
Old 03-17-2005, 10:48 AM   #8
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Runlevels are are part of all distros. I would check out google.com/linux, and put in runlevels explained as your search terms. The first page of hits looks very much like what you're looking for.

I would urge you to do some search before posting questions. Not that we mind answering them, but if you tried google (even the non-linux specific google) you'd have had your answer faster than it took you to write your question!

Peace,
JimBass
 
Old 03-17-2005, 11:08 AM   #9
Bl4deRunner
LQ Newbie
 
Registered: Feb 2005
Distribution: Fedora Core 5
Posts: 6

Rep: Reputation: 0
You're right...

But knowing what to ask is already half the answer, and you just helped me with half the answer...

Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
vnc server - fedora theycallmepj Linux - General 11 12-22-2005 12:56 PM
Mirroring Fedora Directory Server (FC3,FC4) gyankosh Linux - Software 1 09-27-2005 10:20 AM
Fedora Core 1 VNC Server Problems alannerd Linux - Networking 2 07-09-2005 05:17 AM
Vnc Server Strange Behavior In Fedora Core 3 kasra Fedora 3 06-26-2005 06:11 AM
VNC Server setup for Fedora Core 3 HELP!!! PLZ bkz81 Linux - Networking 7 06-09-2005 03:49 PM


All times are GMT -5. The time now is 09:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration