LightDM (Light Display Manager) provides lightweight graphical login screen management across Xubuntu, Lubuntu, and custom Ubuntu desktop installations. When system booting halts on a blinking cursor or logs “Failed to start lightdm.service: Light Display Manager”, the system cannot launch the X server or greeter interface. Restoring the graphical desktop requires isolating graphics driver faults and greeter package corruptions.
Access TTY Console and Inspect LightDM Logs
When the graphical interface fails to initialize, access a text-only virtual terminal to diagnose the root failure.
- Press Ctrl + Alt + F3 (or F4 through F6) to switch to a TTY virtual console.
- Enter your administrative username and password to log in.
- Query the systemd service status:
systemctl status lightdm.service - Inspect the LightDM log files for specific greeter errors:
sudo cat /var/log/lightdm/lightdm.log | grep -i error - Examine the Xorg server log for graphical initialization crashes:
cat /var/log/Xorg.0.log | grep -E "(EE|WW)"
Reinstall LightDM and the Default Greeter Package
Missing or corrupted greeter packages (such as lightdm-gtk-greeter) prevent LightDM from rendering the login dialogue.
- Reinstall LightDM and its primary GTK greeter via APT:
sudo apt update && sudo apt install --reinstall lightdm lightdm-gtk-greeter - Reconfigure LightDM as the default system display manager:
sudo dpkg-reconfigure lightdm - Select lightdm in the terminal selection dialogue and press Enter.
Address Proprietary GPU Driver Conflicts (Nvidia vs Nouveau)
Kernel updates frequently break proprietary Nvidia kernel modules, causing the X server to crash during display manager handshakes.
- Verify connected GPU hardware using
lspci -k | grep -EA3 'VGA|3D'. - If using Nvidia graphics, purge broken driver packages and install the recommended proprietary driver:
sudo ubuntu-drivers autoinstall - Reboot the system using
sudo rebootto initialize the graphics driver cleanly and load the LightDM login screen.