2

Referring to this question: How to remove the graphical user interface?

The answer of modifying /etc/default/grub to have GRUB_CMDLINE_LINUX_DEFAULT="text" would be great, but unfortunately I don't have GRUB. Can I achieve the same by modifying Kernel boot parameters manually, like from u-boot?

  • I am assuming that you already are aware of ctrl+alt+F1 thru F7. It is not the same but it definitely improves on the cpu overhead. – dearN Oct 29 '12 at 17:23
  • Yes, I'm aware of that. I need my computer to boot to text mode (without X) each time it boots. I don't want to uninstall graphical desktop as I see I may want to revert back someday. – user54330 Oct 29 '12 at 17:41
  • But if you want the graphical desktop envoirement back, you can just install it again? – Dr_Bunsen Oct 29 '12 at 17:48
  • Correct, but it's a lot of packages to uninstall and then install again. I'd prefer more elegant solution. Actually I've done that uninstalling once, but there were some dependency issues, as desktop is tightly integrated with power saving and some other components, so there was no clean way to uninstall desktop. I wouldn't like to run to these issues again. – user54330 Oct 29 '12 at 18:20

1 Answers1

1

sudo sh -c "echo manual >> /etc/init/lightdm.override"

To revert sudo rm /etc/init/lightdm.override

From http://upstart.ubuntu.com/cookbook/#disabling-a-job-from-automatically-starting via https://superuser.com/questions/266040/how-do-you-disable-an-upstart-service-in-ubuntu-10-10#comment351951_266040

ijk
  • 607