Results 1 to 4 of 4

Thread: how do I remove xwindows/display managers, gdm, lightdm, etc?

  1. #1
    Join Date
    Nov 2011
    Beans
    2

    how do I remove xwindows/display managers, gdm, lightdm, etc?

    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.

  2. #2
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,744

    Re: how do I remove xwindows/display managers, gdm, lightdm, etc?

    Quote Originally Posted by kyooball View Post
    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

  3. #3
    Join Date
    Nov 2011
    Beans
    2

    Re: how do I remove xwindows/display managers, gdm, lightdm, etc?

    Thank you.. I guess I was expecting an option to not install xwindows during the installer process.. I simply went to ubuntu's website and downloaded the 64bit iso.. didn't realize it said "desktop" vs "server".. I'm downloading the server version now and I'll restart.. I do appreciate your response.. I need to find a "ubuntu for redhat/fedora dummies" FAQ.. anything like that exist?

  4. #4
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,744

    Re: how do I remove xwindows/display managers, gdm, lightdm, etc?

    Quote Originally Posted by kyooball View Post
    Thank you.. I guess I was expecting an option to not install xwindows during the installer process.. I simply went to ubuntu's website and downloaded the 64bit iso.. didn't realize it said "desktop" vs "server".. I'm downloading the server version now and I'll restart.. I do appreciate your response.. I need to find a "ubuntu for redhat/fedora dummies" FAQ.. anything like that exist?
    If you use to use fedora/Red hat you wont notice much difference with no GUI.

    It is all linux, of course you wont be using YUM or RPM anymore...other than that from CLI all you need is

    Code:
    man
    Code:
    apropos
    Everything else you will figure out
    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •