Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-21-2012, 06:22 PM   #1
LQ Newbie
Registered: Aug 2012
Posts: 1

Rep: Reputation: Disabled
debian and ubuntu don't allow reaching runlevel 3 unlike mandriva and centos


I am using a distribution based on debian squeeze and I want to get to runlevel 3.

How can this be achieved?
"sudo telinit 3" does not do the trick.

Same problem exists with ubuntu.

mandriva and centos do it naturally.

Old 08-21-2012, 07:55 PM   #2
LQ Addict
Registered: Oct 2003
Location: Australia
Distribution: MX 16
Posts: 5,273

Rep: Reputation: Disabled

for me, open a terminal and get root then shutdown the login manager,
I have sudo disabled so use su

sudo /etc/init.d/ stop
change loginmanager to gdm3 or kdm or nodm etc

ubuntu uses upstart so me thinks you might try

service "loginmanager" stop

Last edited by aus9; 08-21-2012 at 07:56 PM.
Old 08-21-2012, 08:01 PM   #3
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288

Originally Posted by somb View Post
I am using a distribution based on debian squeeze and I want to get to runlevel 3.

How can this be achieved?
"sudo telinit 3" does not do the trick.
What happens? What do you expect to happen?

On Debian, unless you've customized your run levels, 3 should be the same as the default runlevel (2). Thus you should not expect anything to happen: see the "CHANGING RUNLEVELS" section in the telinit man page, in particular the first two sentences of the last paragraph:
When init is requested to change the runlevel, it sends the warning signal SIGTERM to all processes that are undefined in the new runlevel. It then waits 5 seconds before forcibly terminating these processes via the SIGKILL signal.
If runlevels 2 and 3 have the exact same services defined, none of them will be killed.




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 01:10 PM
Mandriva 2006, apache not reaching an alliased page uzimadawa Linux - Server 1 12-02-2006 11:36 AM
Change runlevel in ubuntu (Debian) GNUROCKS Linux - Newbie 2 12-12-2005 03:00 PM
reaching runlevel 4 automaticly berrance Slackware 6 02-19-2005 03:44 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:26 PM.

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