LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 38
stopX?


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 X.org 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 x.org, but i'm not sure that's the best way of doing it...
 
Old 10-12-2006, 06:45 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
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, 07:07 PM   #3
Lordandmaker
Member
 
Registered: Sep 2005
Location: London, UK
Distribution: Debian
Posts: 258

Original Poster
Rep: Reputation: 38
Fantastic! Cheers!
 
  


Reply


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 03:18 AM


All times are GMT -5. The time now is 01:21 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration