How to Fix - Failed to Start Light Display Manager Error [Solved]

Firstly, check whether anything wrong with the lightdm systemd service.

systemctl status lightdm

If it gives you the status GREEN, then something else is broken.

Next, try to run the following command to start lightdm as test mode with debugging switch. This would try to launch lightdm and show you any errors or warnings.

lightdm --test-mode --debug

For this example, as you can see below – it successfully loads everything, but in the end, it cannot find the greeter. The greeter is a graphical login window where you enter your user id and password. And for this case, somehow, the greeter is corrupted.

https://huaweicloud.csdn.net/63561825d3efff3090b59eb6.html?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7Eactivity-1-123538446-blog-90476577.pc_relevant_multi_platform_whitelistv4&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7Eactivity-1-123538446-blog-90476577.pc_relevant_multi_platform_whitelistv4&utm_relevant_index=1


gedit /etc/lightdm/lightdm.conf


[SeatDefaults]
user-session=ubuntu

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐