Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-12-2006, 03:31 PM   #1
Registered: Sep 2005
Location: London, UK
Distribution: Debian
Posts: 258

Rep: Reputation: 38

I've bodged together a PC to use as a server, but it's pretty old (PII) and slow, so I don't want to have running all the time. That said, i've installed it so that I can do things i don't know the terminal equivalents for.

How do I stop X running, in such a way as to get it up again if/when I want it?

Being Debian based, Ubuntu wont let me do it using init, so i'm at a bit of a loss. All I can think of is to kill, but i'm not sure that's the best way of doing it...
Old 10-12-2006, 05:45 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
aptitude install sysv-rc-conf. From a command line type sudo sysv-rc-conf use the space bar to deselect xdm, gdm, or kdm (your graphical login manager) from one of the init levels (I usually do 3). Then close out of it and change your /etc/inittab to boot to runlevel 3 by default.

To stop x when it is running, typically you do sudo /etc/init.d/gdm stop (or xdm or kdm, whichever you use).
Old 10-12-2006, 06:07 PM   #3
Registered: Sep 2005
Location: London, UK
Distribution: Debian
Posts: 258

Original Poster
Rep: Reputation: 38
Fantastic! Cheers!


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
kdm stopx X after LOGOUT and brings me in front of a console login zvonSully Linux - Software 1 09-19-2005 02:18 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:59 PM.

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