Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-09-2012, 05:16 PM
|
#1
|
|
LQ Newbie
Registered: Apr 2012
Distribution: lubuntu, slackware, ubuntu
Posts: 22
Rep: 
|
boot into command line debian squeeze
ok so ive reinstalled squeeze, this time with the gui installed.
but now i want to set it up so that instead of booting into the gui login screen, i boot into the command line and do everything from there.
so far ive tried
update-rc.d -f gdm remove
update-rc.d -f kdm remove
update-rc.d -f xdm remove
no errors,
but it still boots up into the log in screen. is this an old method that doesnt work for squeeze?
thanks for any help
|
|
|
|
04-09-2012, 05:34 PM
|
#2
|
|
Senior Member
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing
Posts: 1,673
|
First off what DE did you install and what dm?
Why not just "apt-get remove <somedm>"?
There really should not be more than one installed.
|
|
|
|
04-10-2012, 12:48 PM
|
#3
|
|
LQ Newbie
Registered: Apr 2012
Distribution: lubuntu, slackware, ubuntu
Posts: 22
Original Poster
Rep: 
|
it came with gnome, i added lxde and i3. if i delete them all and reinstall the one or two i want, will it solve the problem?
|
|
|
|
04-10-2012, 01:58 PM
|
#4
|
|
Member
Registered: Sep 2011
Location: Upper Hale, Surrey-Hants Border
Distribution: Debian & Debian based distros
Posts: 228
Rep: 
|
One way that I have done it; as root, go into '/etc/rc2.d', 'mv S21gdm oldS21gdm', save the file.
Next time you boot up, it should start with all services, except gdm will not be started.
Hope that helps you do what you want.
|
|
|
|
04-10-2012, 02:05 PM
|
#5
|
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Slackware 14.0
Posts: 8,464
|
Edit
and set the runlevel to 3
Code:
# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:
reboot
Kind regards
|
|
|
|
04-11-2012, 11:03 AM
|
#7
|
|
LQ Newbie
Registered: Apr 2012
Distribution: lubuntu, slackware, ubuntu
Posts: 22
Original Poster
Rep: 
|
thanks for all of the responses
i ended up trying:
update-rc.d -f gdm3 remove
update-rc.d -f wdm remove
this solved it
Last edited by nepalnt21; 04-11-2012 at 11:09 AM.
|
|
|
|
04-11-2012, 09:40 PM
|
#8
|
|
Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian
Posts: 5,360
|
For others who might light on this thread, installing sysv-rc-conf allows you to turn services on and off for various runlevels. It's in the repos.
That was what I used to be able to boot to the CLI without removing the GDM in Debian.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:15 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|