Results 1 to 4 of 4

Thread: Disable GNOME/X Bootup

  1. #1
    Join Date
    Aug 2006
    Location
    RTP, NC
    Beans
    12
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Disable GNOME/X Bootup

    I do not want gnome to start automatically when the machine boots up. I want to boot to a console and use startx as needed.

    After googling, I tried:
    Code:
    update-rc.d -f gdm remove
    This did not work. So, I also installed rcconf and unchecked x11-console and verified gdm was unchecked. System STILL loads gnome. I'm at a loss. Any suggestions?

  2. #2
    Join Date
    Jul 2010
    Location
    Nancy, France
    Beans
    157
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Disable GNOME/X Bootup

    Quote Originally Posted by itsmilesdavis View Post
    This did not work. So, I also installed rcconf and unchecked x11-console and verified gdm was unchecked. System STILL loads gnome. I'm at a loss. Any suggestions?
    That is because Ubuntu doesn't use System V init files for startup any more, it uses a program called Upstart. You have to edit the file /etc/init/gdm.conf and comment the 'start' line to obtain something like:
    Code:
    #start on (filesystem
    #          and started dbus
    #          and (graphics-device-added fb0 PRIMARY_DEVICE_FOR_DISPLAY=1
    #               or drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
    #               or stopped udevtrigger))
    stop on runlevel [016]

  3. #3
    Join Date
    Aug 2006
    Location
    RTP, NC
    Beans
    12
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Disable GNOME/X Bootup

    Thanks! That fixed it.

    Should I go back in rcconf and enable gdm and x11-console? Or, leave them off?

  4. #4
    Join Date
    Jul 2010
    Location
    Nancy, France
    Beans
    157
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Disable GNOME/X Bootup

    Quote Originally Posted by itsmilesdavis View Post
    Should I go back in rcconf and enable gdm and x11-console? Or, leave them off?
    It doesn't matter, the gdm rc script just prints a message:
    Code:
    $ /etc/init.d/gdm start
    Rather than invoking init scripts through /etc/init.d, use the service(8)
    utility, e.g. service gdm start
    
    Since the script you are attempting to invoke has been converted to an
    Upstart job, you may also use the start(8) utility, e.g. start gdm

Tags for this Thread

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
  •