Is it possible to disable X at boot time? I'm setting up a server so it would be nice if it wouldn't load the graphical interface every time I boot.
For Ubuntu 11.10 and 12.04, 12.10
Edit /etc/default/grub with your favorite editor,
Find out this line:
Change it to:
No need to remove / disable
You will still be able to use X by typing
For 11.04 and previous versions (and perhaps later)
If you want to boot into text mode:
Find this line:
Then update Grub:
To disable GDM:
After installation it will be found under System>>Administration>>Bootup-Manager
Uncheck Gnome Display Manager
I did following
Step 1 First update your repository by running
Step 2 There is some bug in old version of lightdm, so we need to upgrade the same. To do so run,
Step 3 Now we have to modify grub config.
Step 3a Open
Step 3b Also comment
Step 4 Now we will upgrade GRUB configuration
Step 5 Now restart your machine.