LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-10-2006, 02:57 PM   #1
jimbo-62
Member
 
Registered: May 2005
Location: Utah
Posts: 102

Rep: Reputation: 15
Change Boot Process??


I have an Etch installation with xfce4 as the desktop. Everything works OK. Etch boots to a gdm login window, then to the xfce desktop. I want to boot to a command line login and then to the command line prompt. Then I want to use startx to boot the xfce desktop. (Don't ask why, I just like to fiddle.)

Some distros use different run levels to accomplish this task. I just edit /etc/inittab to change the default run level from 5 to 3 and I then get a command line rather than the xfce desktop. To switch back to booting directly to xfce. I change the default run level back to 5. Debian doesn't distinguish between run levels 2-5, so how do I change from booting GUI to booting command line?

Any help will be appreciated.

Thanks, jimbo
 
Old 10-10-2006, 03:23 PM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
How about booting to runlevel 1? Of course, you'd miss the network stuff etc, but hey: you're booting to the cli!

You might also go into the /etc/rc2 directory and remove the graphical startup sym-links.
 
Old 10-10-2006, 03:25 PM   #3
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
I used aptitude to install sysv-rc-conf on Sarge. Run that as root from the CLI. Then you can just use the space bar to unselect gdm from runlevel 3 startup. Then booting into init3 will start at the CLI.
 
Old 10-11-2006, 06:19 PM   #4
jimbo-62
Member
 
Registered: May 2005
Location: Utah
Posts: 102

Original Poster
Rep: Reputation: 15
Thanks for the replies. Exactly what I was looking for. I can now easily change from booting to CLI to booting to GUI by editing /etc/inittab.

Thanks, jimbo
 
  


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
Linux boot up process Vs. Windows boot up process darkskull Linux - Software 7 12-30-2006 04:21 PM
Change process priority Azriel_2501 Linux - General 4 01-18-2006 07:00 PM
Change process priority ]SK[ Linux - Software 11 02-24-2005 08:00 PM
Change the display of a running process? ejkeebler Linux - Newbie 3 06-16-2004 08:43 AM
How do I change the look of the boot process? hecresper Fedora 4 02-02-2004 02:54 PM

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

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