I am using ubuntu 16.04. However I want to use a light weight desktop environment as a backup, so I install LXDE using:

sudo apt install lxde

I install it successfully with no errors, however when I log out(even reboot) I found no option to login into LXDE environment. What shall I do next?

ps: I don't want to install Lubuntu-desktop.

pss: Must I install lxdm to use LXDE? If installed this, can my unity desktop works well?

Please help.

  • Are you sure you did sudo apt install LXDE? Commands are case-sensitive, so the correct command should have been sudo apt install lxde.
    – edwinksl
    Aug 13, 2016 at 13:46
  • @edwinksl I did installed lxde, I've correct the post. Aug 13, 2016 at 13:48
  • 1
    What does apt-cache policy openbox say? What files does /usr/share/xsessions contain? Is /usr/share/xsessions/LXDE.desktop there?
    – DK Bose
    Aug 13, 2016 at 14:13
  • 1
    No you don't need to install lxdm. Actually lxde-core and lxde-common should be enough to have a working lxde session (both are installed with the lxde metapackage). Maybe you need to reboot so that the lxde session is detected. You can also try sudo apt install --no-install-recommends lubuntu-core which will give you lubuntu session with very few extra applications. Aug 13, 2016 at 14:15
  • @ThanosApostolou Install lubuntu actually works, however I want unity-greeting session to login into either lxde or unity desktop itself. Just don't feel like to install lubuntu, seems not clean enough for me... Aug 13, 2016 at 14:22

3 Answers 3


I had the same problem and here's the fix: you need to install lxde-common after installing lxde. it includes lxsession and two other packages needed for lxde:

sudo apt install lxde-common

I don't know why dependencies aren't covered in this particular package.


Amazingly, I installed lxsession package and reboot, finding that I have session lxde and openbox.

However, the logout button doesn't work, so I installed lxsession-logout, still I can't logout.

Then I remove lxsession-logout and install lxde-logout and all works. It seems that when install lxde-logout, lxsession-logout is automatically added.

  • 1
    For me (on current Ubuntu 16.04), installing lxsession-logout does fix it, and package lxde-logout doesn't exist. Apr 12, 2017 at 10:44

In my case there was a problem with the mirror I was using (missing packages), which caused apt-get to install only some of the LXDE required packages so it thought they were all installed

After editing /etc/apt/sources.list and changing the repository, then apt-get update && apt-get install lxde worked fine

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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