2

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.

Egil
  • 14,162
machinaut
  • 123

2 Answers2

5

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.

Egil
  • 14,162
  • this is probably the most elegant, because it leaves the ability to run gdm at all (compared to uninstalling everything). Ideally i'd like to pass the same boot parameters like grub does, but without grub this will do. – machinaut Apr 12 '11 at 02:11
0

You could try uninstalling gdm.