Steps to reproduce:
- copy latest Raspbian Jessie Lite image to sdcard
- install updates, reboot
- run raspi-config, choose "boot into Desktop" from boot menu
- install lightdm package as suggested by raspi-config
- reboot
After these steps cli is only loaded and lightdm service shows only this:
sudo systemctl status lightdm
lightdm.service - Light Display Manager
Loaded: loaded (/lib/systemd/system/lightdm.service; enabled)
Active: failed (Result: start-limit) since Thu 2017-03-30 11:05:44 UTC; 39s ago
Docs: man:lightdm(1)
Process: 854 ExecStart=/usr/sbin/lightdm (code=exited, status=1/FAILURE)
Process: 849 ExecStartPre=/bin/sh -c [ "$(cat /etc/X11/default-display-manager 2>/dev/null)" = "/usr/sbin/lightdm" ] (code=exited, status=0/SUCCESS)
Main PID: 854 (code=exited, status=1/FAILURE)
Mar 30 11:05:44 raspberrypi systemd[1]: Failed to start Light Display Manager.
Mar 30 11:05:44 raspberrypi systemd[1]: Unit lightdm.service entered failed state.
Mar 30 11:05:44 raspberrypi systemd[1]: lightdm.service holdoff time over, scheduling restart.
Mar 30 11:05:44 raspberrypi systemd[1]: Stopping Light Display Manager...
Mar 30 11:05:44 raspberrypi systemd[1]: Starting Light Display Manager...
Mar 30 11:05:44 raspberrypi systemd[1]: lightdm.service start request repeated too quickly, refusing to start.
Mar 30 11:05:44 raspberrypi systemd[1]: Failed to start Light Display Manager.
Mar 30 11:05:44 raspberrypi systemd[1]: Unit lightdm.service entered failed state.
lightdm
to use the X server installed on your PC if you want, meaning you don't have to install it on the RPi. You may also want to run without a desktop environment (think web kiosks). This is why those are not dependencies oflightdm
– Dmitry Grigoryev Apr 03 '17 at 07:44lightdm
should not havexserver-xorg
as a dependency. I'm not familiar enough withraspi-config
, but yeah, it would be nice if it did such checks for you when you select "Boot to desktop". – Dmitry Grigoryev Apr 04 '17 at 08:44apt-get install xerver-xorg lxde
(including the recommonded packages) is all you need to add to a fresh install of Raspbian 8 to get an LXDE (not PIXEL) desktop. This does, however, increase disk space usage from about 900 MB to 2.3 GB (1.9 GB afterapt-get clean
), and includes some moderately large things you may not use, such asfirefox-esr
(80 MB) andgnome-user-guide
(40 MB). Note too that theapt-get install
can take quite a long time on an SD card—much longer than a fresh install of the full non-light version. – cjs Apr 06 '17 at 15:48