Ubuntu – Disable GDM on ubuntu netbook remix

bootgdmubuntu-netbookupstart

I'm running Ubuntu Netbook Remix 10.10 (on a pandaboard), and it doesn't boot with grub (so I can't pass it the 'text' parameter at boot time).

How do i disable gdm so it doesn't start at boot? There is no /etc/gdm/gdm.conf.

Best Answer

To disable gdm from booting automatically, you need to alter its upstart service file, /etc/init/gdm.conf

Look for the start on(...) lines, and comment them out with #.

It should look similar to this:

# gdm - GNOME Display Manager
#
# The display manager service manages the X servers running on the
# system, providing login and auto-login services

description "GNOME Display Manager"
author      "William Jon McCann <mccann@jhu.edu>"

#start on (filesystem
#          and started dbus
#          and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
#               or stopped udevtrigger))
stop on runlevel [016]
[~30 more lines]

You can still start the service manually by running service gdm start.

Not an elegant solution, but it will improve for natty.

Related Question