1

Setup

Ubuntu 11.10 Server

LXDE

Question

After installing lxde, my box runs it on startup. How do I prevent this without uninstalling.

3 Answers 3

1

You could always rename the start file:

mv /etc/init/lxdm.conf /etc/init/lxdm.conf.nostart
1
  • This works, but then you can't start lxde on demand
    – wmarbut
    Apr 16, 2012 at 15:10
1

Although this site specifically deals with GDM (Gnome Desktop Manager), you can apply this to LXDE as well. Basically, you'll want to stop X from running, ala:

sudo update-rc.d -f gdm remove

Replacing gdm with whichever login manager you chose.


You could also try installing lightdm (the regular login manager for the desktop version of Ubuntu), and then opening up /etc/defaults/grub and adding text to the following:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

...resulting in:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash text"

Then, run sudo update-grub and restart.

3
  • the pesky devil survived this too
    – wmarbut
    Apr 11, 2012 at 19:24
  • tried sudo update-rc.d -f lxdm remove for the record
    – wmarbut
    Apr 11, 2012 at 20:01
  • I amended my answer to force it into text mode by installing lightdm, and having grub communicate with it.
    – Andrew M.
    Apr 11, 2012 at 20:35
0

sudo service lxdm stop should disable it. (Technically it's not starting "LXDE", it is starting a display manager; LXDE is one of several desktops that a user could choose to run when logging in.)

3
  • I get lightdm: unrecognized service with this
    – wmarbut
    Apr 11, 2012 at 18:56
  • Sorry, wrong service; you really need to combine our answers. Fixing...
    – geekosaur
    Apr 11, 2012 at 19:04
  • This works once lxdm is already started, but it doesn't disable auto start
    – wmarbut
    Apr 16, 2012 at 15:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .