Home > Uncategorized > How to: Remove Ubuntu-desktop from Ubuntu server 12.04

How to: Remove Ubuntu-desktop from Ubuntu server 12.04

Ok, so i did a silly thing of installing ubuntu-desktop on Ubuntu server just because i needed a browser to submit POST data  (because i can’t figure out how to use wget well enough)… anyhow long story short: Now i want to remove the damned GUI coz it’s served it’s purposes and now is unnecessarily consuming resources.

The commands that sorted this out were (… they worked for me, but i can’t guarantee that they’ll necessarily work for you – use them at your own peril):

sudo apt-get install tasksel
sudo tasksel remove ubuntu-desktop 
sudo apt-get --purge remove lightdm
sudo apt-get autoremove 
sudo reboot

… and hey presto … i’m back into the beautiful Ubuntu server command line interface (CLI)

I don’t believe it actually removes all the extra stuff that came with Ubuntu-Desktop, but for now, the machine is a little more snappy outside the world of GUI.

Advertisements
Categories: Uncategorized
  1. RB
    May 12, 2015 at 3:02 AM

    Thanks a ton! This worked for me beautifully.

    • Irvin Homem
      February 9, 2016 at 4:22 PM

      Great to hear!

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: