Ubuntu – No X required

Ubuntu Linux is a fine Linux distribution. Its pretty user friendly and is geared toward the desktop user.

However, you may find that you are really using your Ubuntu Linux box as a server (web server, file server, etc) and that the services you are providing to your users does not require the general graphical user interface software installed. Turning off X and all the GUI goodies in Ubuntu might be a good choice for you.

Turning off all the graphical tools and interfaces can free up resources so that these services you are providing can have more elbow room (RAM and Processor availability)

You can prevent Ubuntu’s GUI from starting when the server starts by issuing the following commands:

# sudo -s {Enter password if prompted}
# cd /etc/init.d
# update-rc.d -f gdm remove

When the machine is rebooted the X.org system and all things graphical will not load. You will still be able to access and administer the machine from the command line.

If you need to get X running just for a bit you can still launch X from the command line with the command:

# startx

Now, If you change your mind you can always configure the machine to go back to its previous behavior of starting X and Ubuntu’s related GUI by issuing the following commands and rebooting the machine:

# sudo -s {Enter password if prompted}
# cd /etc/init.d
# sudo update-rc.d -f gdm defaults

2 thoughts on “Ubuntu – No X required

Comments are closed.