LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 03-19-2011, 06:54 PM   #1
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 716

Rep: Reputation: 102Reputation: 102
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 ->

Quote:

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
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mandriva, CentOS, Ubuntu
Posts: 456

Rep: Reputation: 69
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
rokytnji
Senior Member
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 13 , Various Puppys (MacPup,Slack0),MX-14
Posts: 2,127
Blog Entries: 12

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

Code:
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
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 716

Original Poster
Rep: Reputation: 102Reputation: 102
Cool

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 !!!!
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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/Novell 1 05-08-2005 07:00 PM


All times are GMT -5. The time now is 05:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration