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.

Anonymous Entity
  • 345
  • 2
  • 4
  • 7
  • 4
    The init system in Debian Wheezy is [sysvinit](http://savannah.nongnu.org/projects/sysvinit), while Lubuntu as a Ubuntu variant uses [Upstart](http://upstart.ubuntu.com/). 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
  • 29,912
  • 10
  • 65
  • 77
  • @user11177 This question covers changing the ls directory colors: [How to colorize output of ls?](http://unix.stackexchange.com/questions/19219/how-to-colorize-output-of-ls) – Thomas Nyman Aug 17 '13 at 06:34
0

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

#GRUB_TERMINAL=console

To this:

GRUB_TERMINAL=console

References

slm
  • 363,520
  • 117
  • 767
  • 871