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. 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

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

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


To this:



Not the answer you're looking for? Browse other questions tagged or ask your own question.