LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-11-2005, 04:43 PM   #1
aquaboot
Member
 
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 483

Rep: Reputation: 31
runlevel 3


Hi,

In redhat I'm used to being able to set /etc/inittab to run level 3 and reboot into text mode. This doesn't seem to work with Debian. How do I set to reboot into text mode? :-)

Many Thanks,

ab
 
Old 09-11-2005, 05:02 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Re: runlevel 3

Quote:
Originally posted by aquaboot
Hi,

In redhat I'm used to being able to set /etc/inittab to run level 3 and reboot into text mode. This doesn't seem to work with Debian. How do I set to reboot into text mode? :-)

Many Thanks,

ab
The runlevels 2-5 are configured identically in Debian with 2 being the default startup, if you install a window display manager like kdm, gdm, xdm .... then it will be started. If you wish it not to start whichever you have installed then you need to in the directory /etc/rc2.d delete the link for it or you can simply uninstall it. Now you will have to use startx to start the desktop of your choice or if you left the window display manager like kdm, gdm, xdm .... installed then /etc/init.d/?dm start replacing the ? with the proper letter for the one you want to start. Alternately you could delete the link in /etc/rc3.d then do the inittab edit and reboot into it like you are used too.
 
Old 09-11-2005, 06:03 PM   #3
McCloud
Member
 
Registered: Sep 2004
Distribution: Debian Etch
Posts: 179

Rep: Reputation: 30
There is another way. Instead of deleting the links, you can also use the tool 'sysv-rc-conf' to configure which daemons start in which runlevel. You can install it with the command 'aptitude install sysv-rc-conf'.

What you can do now is tailor the runlevels in such a way that ?dm (kdm, gdm or xdm) doesn't start in runlevel 2. You can do this with every daemon by the way. So you can tailor the runlevels to your specific needs. That Debian by default configures runlevels 2-5 identically doesn't mean that it has to be done that way. So you can configure runlevel 2 as text and runlevel 3 as graphical for instance.

The default runlevel is indeed set in the inittab file.

Remember, it is Linux, not Windows, you are free to configure the system the way you want to
 
Old 09-11-2005, 06:20 PM   #4
mithereal
Member
 
Registered: Jan 2005
Location: Noscut, Arizona
Distribution: Ubuntu 10.04
Posts: 83

Rep: Reputation: 15
or u can use bum if you like your configuration gooey
 
Old 09-11-2005, 09:45 PM   #5
aquaboot
Member
 
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 483

Original Poster
Rep: Reputation: 31
Thanks for great tips!

Cheers,

ab
 
Old 09-11-2005, 09:54 PM   #6
aquaboot
Member
 
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 483

Original Poster
Rep: Reputation: 31
BTW-

just used sysv-rc-conf. What an adorable and handy little command line app.! ;-)

-aq
 
  


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
What's the difference between runlevel 2 and runlevel 5 in Debian? davidas Linux - Newbie 2 01-05-2012 01:10 PM
runlevel eaglegst Linux - Software 1 02-23-2004 12:54 AM
Runlevel 5 lapthorn Linux - Newbie 6 12-03-2003 05:23 AM
X does not start in Runlevel 4, but i Runlevel 3 Rabon Linux - General 3 11-18-2003 06:24 AM
which runlevel? adme Linux - Software 8 02-11-2003 11:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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