PDA

View Full Version : [ubuntu] Disable gdm autostart



letharion
March 3rd, 2010, 11:28 AM
Hello :)

I would like to remove gdm from the auto-starting scripts.
I tried
sudo update-rc.d -f gdm remove
which tells me what I wanna hear
"removing symlinks"
but after a reboot gdm starts anyway.

I manually unlinked /etc/init.d/gdm, but gdm still starts.
I have linux experience, but don't understand how Ubuntus upstart works.

I use 08.04 LTS

warp99
March 3rd, 2010, 05:22 PM
The upstart file is located in /etc/init and now it's called gdm.conf. You could also empty the file "/etc/X11/default-display-manager" since the gdm.conf script does grep the file and will exit if the string doesn't match.

letharion
March 8th, 2010, 09:25 AM
Thanks :)