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 07-05-2009, 03:51 PM   #1
entropy_wins
LQ Newbie
 
Registered: Jul 2009
Posts: 2

Rep: Reputation: 0
Question Help me understand runlevel 5


Hi,

I have done a search on this, but haven't found what I need. I use my workstation (running Centos 5) both direct in XWindows, and also using Vnc. I've realised that unless I login the various services (sshd and vncserver specifically) do not start. Ideally I want these services to start whether I have logged in or not (like they do in run level 3 - I think!). I can live with it as, but there must be a solution? Is there something I can modify in inittab - i.e. action of boot rather than wait. Or should I boot in run level 3 and startX from the console?

Any thoughts?

Thanks!
 
Old 07-05-2009, 03:55 PM   #2
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 60
Quote:
Originally Posted by entropy_wins View Post
Hi,
I've realised that unless I login the various services (sshd and vncserver specifically) do not start. Ideally I want these services to start whether I have logged in or not (like they do in run level 3 - I think!).
That's strange. The services listed for a specific runlevel start whether anybody is logged in or not, as soon as the machine boots into that runlevel. That's the whole point.
Are you sure you have all the services you need at runlevel 5 activated in that runlevel?
 
Old 07-05-2009, 04:15 PM   #3
entropy_wins
LQ Newbie
 
Registered: Jul 2009
Posts: 2

Original Poster
Rep: Reputation: 0
My bad - user error - system had rebooted with file system errors, so was waiting on me to fix it - doh! Thought I had also had this issue on my other system, but obviously not!

Thanks for stopping me heading further down a blind alley!
 
  


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
What's the difference between runlevel 2 and runlevel 5 in Debian? davidas Linux - Newbie 2 01-05-2012 02:10 PM
Problems starting runlevel 3 , redhat 7.3, "no more processes left in this runlevel" kiyoshi Linux - Software 1 06-25-2009 06:11 AM
New Install of PCLinuxOS boots into runlevel 3. Should be runlevel 5 MonctonJohn Linux - General 4 02-01-2008 05:38 PM
Soun Mixer absent in Runlevel 3 but present in Runlevel 5 debloxie SUSE / openSUSE 1 01-18-2006 10:15 AM
X does not start in Runlevel 4, but i Runlevel 3 Rabon Linux - General 3 11-18-2003 07:24 AM


All times are GMT -5. The time now is 04:56 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