1

I am using Ubuntu Server 12.04 and I intend to use some graphical tools to administrate the server. That's why I installed ubuntu-desktop:

sudo apt-get install ubuntu-desktop

And I enabled it with:

startx

However, as soon as I finish with the administration I would like to disable it without leaving background processes consuming the CPU.

How can I achieve this?

0

1 Answer 1

1

You should be able to simply remove lightdm and use startx to manually start your X sessions.

sudo apt-get remove lightdm

This will remove the ubuntu-desktop meta package.

You can also edit /etc/default/grub

and change

GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”

to

GRUB_CMDLINE_LINUX_DEFAULT=”text”

then run

sudo update-grub

3
  • just to make it clear, choose one option or the other. There is no need to choose both options. I prefer to remove lightdm (or other managers) but changing the grub config seems to be the more "supported" method.
    – coteyr
    Apr 1, 2013 at 22:55
  • What about the GRUB_TERMINAL command? Mar 17, 2014 at 7:00
  • What command do you write to disable the GUI? Mar 21, 2014 at 3:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .