2

I have a laptop with lubuntu. It's great but I wish LXDE was optional instead of autostarting.

So my question is, what can I do to make it boot directly into a text only mode, not loading anything extra until I do something like start x ? My goal is to have my system be as lightweight as possible until I need the extra stuff.

  • 4
    The init system in Debian Wheezy is sysvinit, while Lubuntu as a Ubuntu variant uses Upstart. Therefore answers applicable to Debian Wheezy might not be applicable to Lubuntu and vice versa. – Thomas Nyman Aug 16 '13 at 20:25
  • While Wheezy currently leaves the choice of init to the user, the proposed solution with /etc/X11/default-display-manager works with Debian and all its derivates. – Bananguin Aug 16 '13 at 21:40

2 Answers2

5

To disable the login manager permanently on Ubuntu you can do the following:

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

To start the login manager manually when needed you would do:

sudo service lightdm start

To stop it manually:

sudo service lightdm stop
Thomas Nyman
  • 30,502
0

You can edit this file, /etc/default/grub, and change this line:

#GRUB_TERMINAL=console

To this:

GRUB_TERMINAL=console

References

slm
  • 369,824