Ubuntu – How to disable GDM and Graphical User Selection

gdm

The new Ubuntu features a completely unkillable GDM. Is there a way to disable it?

It is not enabled in services , the GDM startup script is deleted, it is removed from update.rc but it still starts up.

How do I disable GDM and Graphical User Selection?

Best Answer

In Ubuntu 10.04 you should refer to documentation for Upstart which handles starting of tasks and services during boot, stopping them during shutdown and supervising them while the system is running.

Upstart handle start of gdm, so you should edit /etc/init/gdm.conf

sudo vi /etc/init/gdm.conf    # or use nano if vi is unfamiliar

Default runlevel in ubuntu 10.04 is 2 so you must change this line

stop on runlevel [016]

adding "2" in the runlevel list

stop on runlevel [0126]

Now you can reboot the system.