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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-22-2003, 12:38 PM
|
#1
|
LQ Newbie
Registered: Feb 2003
Location: Apex, North Carolina
Distribution: Debian
Posts: 29
Rep:
|
Stoping xwindows from starting
How do i stop xwindows from starting automaticlly. Every time i terminate the session it just restarts the x server.
How do i make it start up in the command prompt.
|
|
|
09-22-2003, 12:54 PM
|
#2
|
Member
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 495
Rep:
|
This question is asked all the time here. There is a file called /etc/inittab with a line that looks something like this:
# The default runlevel is defined here
id:5:initdefault:
Change the 5 to a 3 with a text editor. That's all there is to it.
|
|
|
09-23-2003, 03:19 AM
|
#3
|
Member
Registered: Aug 2003
Posts: 102
Rep:
|
That's the way you do it in Red Hat, but not in Debian.
In Debian, the login managers (xdm, kdm, gdm - they start X and give you the GUI login prompt) are installed as services in /etc/rc*.d. To stop the login manager, get a root shell and type "/etc/init.d/xdm stop". To make the X login manager go away permanently, go to /etc/rc2.d (assuming you're in runlevel 2) and remove the symlink S99kdm (or xdm or gdm).
Last edited by meldroc; 09-23-2003 at 03:20 AM.
|
|
|
09-23-2003, 10:04 PM
|
#4
|
Member
Registered: Jun 2003
Location: Washington DC
Distribution: debian sid
Posts: 78
Rep:
|
alternatively, you could apt-get install a nifty little program called rcconf. then type rcconf and it will give you a list of all the services started on boot-up. just uncheck gdm, kdm, and/or xdm. i've found that this way of configuring things tends to be harder to screw up than editing the rc*.d files.
|
|
|
09-25-2003, 05:56 PM
|
#5
|
LQ Newbie
Registered: Feb 2003
Location: Apex, North Carolina
Distribution: Debian
Posts: 29
Original Poster
Rep:
|
Thanks alot I'll try it out
|
|
|
09-26-2003, 12:21 AM
|
#6
|
Member
Registered: Jan 2003
Location: Northam, W.A., Australia
Distribution: Gentoo ~x86
Posts: 321
Rep:
|
Quote:
Originally posted by dbkluck
alternatively, you could apt-get install a nifty little program called rcconf. then type rcconf and it will give you a list of all the services started on boot-up. just uncheck gdm, kdm, and/or xdm. i've found that this way of configuring things tends to be harder to screw up than editing the rc*.d files.
|
And this isn't in the base system WHY?
My (already low) respect for Debian has just dropped to whole new lows...
|
|
|
09-26-2003, 12:24 AM
|
#7
|
Member
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569
Rep:
|
Quote:
Originally posted by LSD
And this isn't in the base system WHY?
My (already low) respect for Debian has just dropped to whole new lows...
|
Because the base system doesn't need it? Besides, who manually mucks with rc*.d files and links anyway? Why do you think Debian invented update-rc.d? (oh, and Gentoo fanboi, where do you think Gentoo stole most of its ideas from? oh that's right, Debian!)
|
|
|
09-26-2003, 12:56 AM
|
#8
|
Member
Registered: Jan 2003
Location: Northam, W.A., Australia
Distribution: Gentoo ~x86
Posts: 321
Rep:
|
Why doesn't the base system need it? Not all of us are stupid enough to install everything on offer. And update-rc.d is a pain, it doesn't work nearly as well (any tool where you have to use a --force switch to get things done sucks) as either rc-update on Debian or even Red Hat's ntsysv tool (which looking at it now looks suspiciously related to rcconf). If you want to adjust startup services on any Linux system you have to fiddle with the rc*.d files and a decent interface for that is a must.
|
|
|
All times are GMT -5. The time now is 01:18 AM.
|
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
|
|