If you forgot to install LXDE on a Debian (for example bullseye) and you want something super-minimal, do this:
IMPORTANT: don’t read this guide if you are using Raspbian! Go to the next section instead.
sudo apt install lxde-core lxdmInstead, do this
raspi-configThen go to System Options > Boot / Auto-login > Desktop.
And reboot. Done!
At this point, I’ve noticed that the raspi-config option is not able to enable the auto-login option. If you need it, don’t worry. In that case, just manually change this file:
/etc/lxdm/lxdm.confAnd be sure to have this line de-commented:
[base]
autologin=piSource:
(P.S. I’m trying to increase the rank of the Debian wiki to finally find it in search results… lol – sorry for this unuseful post)
Installing LXDE on Raspbian
If you are on Raspbian (for example bullseye), instead, go for this to install LXDE (note that in Raspbian you have no other reasonable choice probably):
sudo apt install raspberrypi-ui-modsDone. Eventually also run again raspi-config as mentioned above.
Source:
https://github.com/MichaIng/DietPi/issues/1558#issuecomment-691507999