Review your favorite Linux distribution.
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 03-19-2011, 06:54 PM   #1
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 103Reputation: 103
Question Debian 6 - Run Level - Boot to Command LIne

I have Debian 6 installed on my netbook which I tend to spend more time at a command prompt then gnome so I would like it to boot to the command line with the same services as the default with the option to "startx"

I tried ->


1. update-rc.d -f gdm remove
2, Updated inittab
id:3:initdefault: --> from default of 2

No luck. Any advice ?
Old 03-19-2011, 08:54 PM   #2
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
You've set your initdefault to 3. So if gdm is still starting, you need a way to turn it off on runlevel 3. Best way i found is to install & use the package sysv-rc-conf.

Run sysv-rc-conf, locate in the column for runlevel 3 the line for your login manager: either gdm or kdm or whatever, uncheck the box for it to start. Now at runlevel 3 gdm won't be started.

You will have console mode. If you want to start X, simply launch startx or telinit 2.
1 members found this post helpful.
Old 03-19-2011, 09:02 PM   #3
LQ 5k Club
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 17 , ChromeOS
Posts: 5,162
Blog Entries: 20

Rep: Reputation: 2432Reputation: 2432Reputation: 2432Reputation: 2432Reputation: 2432Reputation: 2432Reputation: 2432Reputation: 2432Reputation: 2432Reputation: 2432Reputation: 2432
My single user mode grub entry (/boot/grub/menu.lst) to keep slim (I don;t use GDM) from starting.

title		Debian GNU/Linux, kernel 2.6.34-stevo (single-user mode)
root		(hd0,5)
kernel		/boot/vmlinuz-2.6.34-stevo root=UUID=33d2cb14-08cc-4db8-80c6-771828e68200 ro single
initrd		/boot/initrd.img-2.6.34-stevo
single at the end of kernel line keeps slim from opening.

OOOPs. I run Grub Legacy instead of Grub2. I forgot most folks now run Grub2 in Debian 6,

Last edited by rokytnji; 03-19-2011 at 09:12 PM.
Old 03-20-2011, 06:00 AM   #4
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Original Poster
Rep: Reputation: 103Reputation: 103

I install sysv removed GDM3 from the set run level & viola I am all set. I am actually answering from e-links.... .. a little clumsy but that is a different post.

Thank You very much for your advice !!!!


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
Nvidia won't load no KDE forced back to command line run level 1 nickcommandlinenewbie Mandriva 25 04-16-2010 05:23 PM
How to enter graphical mode (run level 5) command line (run lenel 3) edmondgyampoh Linux - Newbie 3 05-15-2009 06:33 PM
run command on debian boot? aktivemac Debian 12 02-29-2008 07:59 PM
set your default run level so you will boot to a default run level - vga console Adam555 Linux - Newbie 1 01-21-2008 04:55 PM
How can I go to the windows screen from the command line on suse, on run level 3? abefroman SUSE / openSUSE 1 05-08-2005 07:00 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:49 AM.

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