Re: how do I remove xwindows/display managers, gdm, lightdm, etc?
Originally Posted by
kyooball
I simply want a headless server running Ubuntu.. with no xwindows or gdm or lightdm running.. how can I prevent that from booting up automatically? I just installed ubuntu 11.10.. this is my first ubuntu release ever.. converting from redhat/fedora.. after googling for literally an hour, I still can't get any commands I found to cause xwindows to not start up automatically after a reboot! One would think it woudln't be so hard to figure out for a seasoned linux administrator...
thanks in advance.
if you are a seasoned Linux Admin why did you install a Desktop edition ?
the easiest way is to install Ubuntu server which has no gui
otherwise you need to create a lightDM.override file or GDM.override depending on what DM you are using.
example as 11.10 uses LDM
Code:
echo 'manual' | sudo tee /etc/init/lightdm.override
and edit grub to have GRUB_CMDLINE_LINUX_DEFAULT="quiet"
and then update grub
Last edited by haqking; November 3rd, 2011 at 02:48 AM.
Backtrack - Giving machine guns to monkeys since 2006
Kali-Linux - Adding a grenade launcher to the machine guns since 2013
Bookmarks