LinuxQuestions.org
Review your favorite Linux distribution.
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 08-15-2006, 03:16 PM   #1
phatboyz
Member
 
Registered: Feb 2004
Location: Mooresville NC
Distribution: CentOS 4,Free BSD,
Posts: 358

Rep: Reputation: 30
Stop X


Ok this is my first attempt to use linux other than RHEL and CentOS. I have installed debian sarge and do not want to get to a GUI. Usually this means editing /etc/inittab and set the run level to 3. Well its not working as it sill loads the Xserver. I would like to always get the CL and use startx if needed. I know this is simple but like I said I am new to debian and not linux in general. Oh and I love apt-get.
 
Old 08-15-2006, 03:41 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
In Debian, all the runlevels 2-5 are the same. They all have a gui if you installed a gui. I usually aptitude install sysv-rc-conf and then run as root sysv-rc-conf. It's a nice ncurses/text tool that lets you choose what starts at each runlevel.

Many people from RH notice this difference immediately. I'm not sure why Debian chose to do it that way (I think Slack does also), but RH's choice was also arbitrary and adopted by other distros.
 
Old 08-15-2006, 03:53 PM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
providing the runlevel is set to 2 as it is in a default debian configuration

mv /etc/init.d/rc2.d/S99gdm /etc/init.d/rc2.d/K99gdm

Simply changing the name of that startup link for gdm prevents the GUI from starting at boot.
if you leave your runlevel set to 3 change rc2.d in the command above to rc3.d
 
Old 08-15-2006, 03:58 PM   #4
phatboyz
Member
 
Registered: Feb 2004
Location: Mooresville NC
Distribution: CentOS 4,Free BSD,
Posts: 358

Original Poster
Rep: Reputation: 30
Thank you for the quick replys. I'll add that to my note book
 
  


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
Stop X? bendeco13 Linux - General 2 04-07-2006 03:27 AM
Can someone help me stop this! murder Linux - Security 2 03-20-2006 07:52 AM
How do I stop services from restarting after I stop them? M$ISBS Linux - Software 3 10-27-2005 08:13 PM
how can i stop Ammad Linux - Security 2 04-30-2004 10:44 AM
How do I stop X? darkone66669 Linux - Software 4 03-25-2004 06:22 PM

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

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