Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 07-12-2003, 09:07 PM   #1
Registered: Jul 2003
Location: Dover, NH
Distribution: Suse
Posts: 30

Rep: Reputation: 15
Stop KDE from loading at start

Hi all,

Could someone be so kind as to take me through stopping the GUI from loading at start-up? Surely this MUST be simple but I cannot seem to get it done!!

I would prefer a moron proof method (like dpkg-reconfigure) as opposed to manually editing a file. I do not seem to have much luck at that yet.


Old 07-12-2003, 09:20 PM   #2
Registered: Jul 2003
Location: Dover, NH
Distribution: Suse
Posts: 30

Original Poster
Rep: Reputation: 15

How about somthing else like a command to stop all the server/processes involved? If I exit out of KDE and then try to restart it or somthing else(mozilla-ProfileWizard for example)I get an error that the server is already running.

Just a thought,

Old 07-12-2003, 10:49 PM   #3
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
If you want Linux to boot in console mode (non-GUI) at startup.
You need to edit the /etc/inittab

On the line

change the 5 to a 3

Since I am not familiar with Debian, I have no knowledge of available tools.
Old 07-20-2003, 01:13 PM   #4
John Newbie
LQ Newbie
Registered: Jun 2003
Location: Denmark
Distribution: KUbuntu
Posts: 15

Rep: Reputation: 0
Stopping KDE (or any other) from starting at boot.
It is the "X Display Manager", whih is doing that, so remove the "X Display Manager" by: apt-get remove xdm.
Then when ever you want the KDE (or any other to start at Boot-time again you just: apt-get install xdm.
When you have removed your "X Display Manager", you have to start it manualy by: startx , at prompt (console)

I did it after getting 2.4.21 and until it had the right graphics-driver for my card (Gforce4 TI 4200).

Last edited by John Newbie; 07-20-2003 at 01:15 PM.
Old 07-21-2003, 01:16 PM   #5
LQ Newbie
Registered: Jul 2003
Posts: 5

Rep: Reputation: 0
What I suggest you do is rename (instead of deleting) the script that starts up XDM with the computer boots. Go to /etc/rc2.d and mv S99XDM to s99XDM. If you later decide you want the GUI startup back rename the file again.

btw, an easy and effective way to begin locking down a machine security-wise is to install nmap and portscan it, then rename the startup script for each daemon you find running. For example:

nmap -sTU

if it shows port 22 open, find S??sshd (where ?? is some number) and rename it to s??sshd. I recommend you repeat this process until you don't have any open ports, then go back and activate whatever servers you really need.


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
How do I stop xvnc from loading? Jamaika Linux - Software 2 03-08-2005 02:09 AM
Need to stop KDE from auto-loading at boot. Zombie13 Linux - Distributions 3 12-16-2004 11:32 PM
Need to stop KDE from auto-loading at boot. Zombie13 Mandriva 2 12-16-2004 05:56 PM
how to stop certain programs from launhing when Kde start? sirpelidor Linux - General 2 09-08-2004 12:26 AM
How do I stop sendmail from loading ... ? purpleburple Linux - General 5 10-22-2002 07:22 PM > Forums > Linux Forums > Linux - Distributions > Debian

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