3

Possible Duplicate:
How to disable X at boot time?

How do I boot Ubuntu by default into the CLI using a multiuser runlevel? I wish to still maintain my graphical desktop manager (GDM or whatever replaced it) since I do use that to switch between Unity and Awesome WM. I do however wish to boot by default into a CLI login shell. I could then startx to start my GUI if I need it. I am aware that Ctrl-Alt-(F1-6) will open a separate tty instance with a login shell but it seems wasteful to have a GUI running even if asleep if I am working purely from the command line.

haziz
  • 2,929

2 Answers2

2

Add text as a kernel boot parameter.

Explained in detail in this answer to a possible duplicate question "How to disable X at boot time?".

gertvdijk
  • 67,947
  • Not sure this is a duplicate. How to disable X at boot time?" seems to be talking about disabling it once. This seems to be asking how to have it always disabled. That said if you use this options remember to update grub. – coteyr Dec 05 '12 at 13:15
  • To make is persistent is quite straightforward. Just make your bootloader (Grub probably) use this parameter by default. And hey, it's in the answer already! GRUB_CMDLINE_LINUX_DEFAULT="text" – gertvdijk Dec 05 '12 at 13:16
-1

This Document Should help

Basically you edit /etc/init/rc-sysinit.conf and add/change

env DEFAULT_RUNLEVEL=2

coteyr
  • 18,288