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. |
|
 |
07-12-2003, 09:07 PM
|
#1
|
|
Member
Registered: Jul 2003
Location: Dover, NH
Distribution: Suse
Posts: 30
Rep:
|
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.
TIA,
Jimi_l
|
|
|
|
07-12-2003, 09:20 PM
|
#2
|
|
Member
Registered: Jul 2003
Location: Dover, NH
Distribution: Suse
Posts: 30
Original Poster
Rep:
|
OR...
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,
Jimi_l
|
|
|
|
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:
|
If you want Linux to boot in console mode (non-GUI) at startup.
You need to edit the /etc/inittab
On the line
id:5:initdefault:
change the 5 to a 3
id:3:initdefault:
Since I am not familiar with Debian, I have no knowledge of available tools.
|
|
|
|
07-20-2003, 01:13 PM
|
#4
|
|
LQ Newbie
Registered: Jun 2003
Location: Denmark
Distribution: KUbuntu
Posts: 15
Rep:
|
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.
|
|
|
|
07-21-2003, 01:16 PM
|
#5
|
|
LQ Newbie
Registered: Jul 2003
Posts: 5
Rep:
|
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 127.0.0.1
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 |
|
|
|
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 12:41 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
|
|