Results 1 to 4 of 4

Thread: Using Ubuntu without GUI as default

  1. #1
    Join Date
    Jan 2010
    Location
    Currently, New York
    Beans
    6
    Distro
    Ubuntu

    Using Ubuntu without GUI as default

    Hi, I wanted to ask about how I would go about using Ubuntu without the GUI, namely, disabling it instead of removing it completely so the system boots into the console by default (like how slackware starts)? I have seen some information on this via google search on this and other forums but it seems to be either outdated or via intentionally running an error.

    I want to have the system accept that I am running a CLI only session and not run errors. And as implied before, I would like to do it without simply introducing syntax errors or such in x.org files. I would also like to leave an option to start x.org whenever I want from the console as I would in slackware with the "startx" command.


    Furthermore, I would like to mention, I found on this and other sites a command "sudo update-rc.d -f gdm remove" to do this and a command "sudo update-rc.d -f gdm defaults" to get it back to GUI default. This seemed like what I was looking for, am I correct in my assumption? Thanx in advance.


    ~

    Currently using: Ubuntu 9.10, 64-bit; dual-booted with windows 7

  2. #2
    Join Date
    Jan 2009
    Beans
    Hidden!

    Re: Using Ubuntu without GUI as default

    Debian-based distros use the file /etc/X11/default-display-manager to keep track of which X11 display manager should be started. With GDM as the default, the file will contain '/usr/sbin/gdm' as its complete content. If you delete that line, leaving the file empty, gdm will not be started. This is better than the method you indicated, because /etc/X11/default-display-manager is a config file, and so the change will not be overridden by future gdm updates.

  3. #3
    Join Date
    Jan 2010
    Location
    Currently, New York
    Beans
    6
    Distro
    Ubuntu

    Re: Using Ubuntu without GUI as default

    Thanx, I think I will try the method you described.

  4. #4
    Join Date
    Jan 2010
    Location
    Currently, New York
    Beans
    6
    Distro
    Ubuntu

    Re: Using Ubuntu without GUI as default

    I tried that method and it worked fine, thanx again for the information!

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
  •