![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Desktop Environments Support for your Ubuntu desktop. Including Gnome, KDE and XFCE. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Just Give Me the Beans!
![]() Join Date: Oct 2004
Location: Pittsburgh, PA
Beans: 63
Gutsy Gibbon Testing
|
I have done some searching thought the forum and still couldn't but couldn't find an answer. How does one keep X from loading on boot. This is a headless box, and I would like to keep the resources free for the daemons that are running on the box. Any had a success?
-oberon |
|
|
|
|
|
#2 |
|
Ubuntu Developer
![]() Join Date: Oct 2004
Location: Helsinki, FI
Beans: 369
|
Re: Keeping X from loading...
sudo apt-get remove xserver-x{free86,org}, is a pretty good way to do that.
__________________
daniel dot stone at ubuntu dot com |
|
|
|
|
|
#3 | |
|
A Carafe of Ubuntu
![]() Join Date: Oct 2004
Beans: 96
|
Re: Keeping X from loading...
Quote:
Other than that, I don't know whether the Debian|Ubuntu process changes /etc/inittab (as in runlevel 5) or if it just adds an entry to runlevel 3...*shrug* I'd see if /etc/inittab is set for runlevel 5 as a default, and change it to 3 if it is. Viola. |
|
|
|
|
|
|
#4 |
|
Ubuntu Developer
![]() Join Date: Oct 2004
Location: Helsinki, FI
Beans: 369
|
Re: Keeping X from loading...
No, Ubuntu is targetted equally towards workstations and servers; it's just that the default install happens to be for workstations (admins running headless workstations are more likely to be far more skilled). 'linux custom' at the install prompt gives you a Ubuntu install with nothing like X, GNOME, et al installed; but you can install many of the programs from our supported seed, such as Apache 2, Postfix/Exim/whatever, BIND, PHP, ...
__________________
daniel dot stone at ubuntu dot com |
|
|
|
|
|
#5 |
|
Just Give Me the Beans!
![]() Join Date: Oct 2004
Location: Pittsburgh, PA
Beans: 63
Gutsy Gibbon Testing
|
Re: Keeping X from loading...
Well I am not that skilled yet, but thought that by dumping the monitor and forcing me to do everything through SSH would kinda force me to learn it. I would like to keep X on cuz if I need to do somthing and havn't figureing out how to do it on CLI than I can always tunnel X apps to get it done (I do need xserver for this right?). I will mess with the initab settings when I get home. Thanks for the help.
-oberon |
|
|
|
|
|
#6 |
|
5 Cups of Ubuntu
![]() Join Date: Dec 2004
Location: Paris, France
Beans: 18
|
I was in exactly the same position.
I only wanted a minimum install but did not know how to do everything from a terminal so wanted the ability to occasionally start up X to get me out of jail. I was also conscious of keeping the number of process down on my antique P200 I was using. This is how I stopped X from automatically starting up, but retaining the ability to manually fire it up on demand. In just two steps this is done like this. 1. Confirm which Runlevel your system boots up into. i.e. Runlevel n 2. Remove the symbolic link to gdm in /etc/rcn.d – changing n for the Runlevel If this is really new to you or other readers here it is again in more detail. For whatever reason my system boots up to Runlevel 2. You can find out what yours does by issuing the command $ runlevel My system reports “N 2” which means I am now in Runlevel 2 and have not switched from anything else. Knowing your runlevel you need to edit the directory containing the Runlevel 2 scripts and disable the Gnome Desktop Manager or “gdm”. This is done like this. Change to the directory concerned $ cd /etc/rc2.d – (This would be /etc/rc3.d for Runlevel 3.) If you do a $ ls –l you will see a list of links pointing to files in /etc/init.d One of them will be along the lines of S99gdm -> ../init.d/gdm (Your "99" may be different, in which case replace with what you see in the next step) This link needs to be removed $ sudo rm S99gdm This prevents ubuntu running the Gnome Desktop Manager at boot. Now when you want to start X, you can just issue either of the following commands after loging in. $ startx which takes you right in or $ sudo gdm for the normal start screen. Best of luck. Last edited by Hellsteeth; October 18th, 2005 at 05:58 AM.. |
|
|
|
|
|
#7 |
|
Just Give Me the Beans!
![]() Join Date: Oct 2004
Beans: 33
|
Re: Keeping X from loading...
Wouldn't it be easier to just do an apt-get remove gdm?
|
|
|
|
|
|
#8 |
|
Gee! These Aren't Roasted!
![]() Join Date: Nov 2004
Location: Brooklyn, NY
Beans: 205
Ubuntu 8.10 Intrepid Ibex
|
Re: Keeping X from loading...
To simplify Hellsteeth's solution...
Code:
sudo apt-get install rcconf sudo rcconf Code:
sudo telinit 3 |
|
|
|
|
|
#9 |
|
First Cup of Ubuntu
![]() Join Date: Dec 2004
Beans: 3
|
Re: Keeping X from loading...
http://sivut.koti.soon.fi/lindj/debi...ms.html#howto3
I used the update-rc.d method to disable the X server on my Ubuntu box and it seems to have worked fine so far. Now all my administration is done via SSH; but I still have X kicking around in case I need it. |
|
|
|
|
|
#10 |
|
First Cup of Ubuntu
![]() Join Date: Mar 2007
Beans: 1
|
Re: Keeping X from loading...
Hey Hellsteeth .. makes sens e. nice one ... and to teh rest to, needed 'pure shell mode' to change drivers for NVIDIA
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|