Files
linux/docs/display-managers/lightdm.md

1.2 KiB

lightdm

LightDM is a lightweight, cross-desktop display manager used to handle graphical logins on Linux systems. It provides the login screen (called a greeter) and manages user sessions, including authentication and session launching.

🧭 Key Features of LightDM:

  • Lightweight and fast: Designed to use minimal system resources compared to heavier alternatives like GDM (GNOME Display Manager).
  • Cross-desktop compatibility: Works with GNOME, KDE, Xfce, LXDE, and other desktop environments.
  • Greeter flexibility: Supports multiple greeter front-ends, such as:
    • LightDM GTK Greeter (default for many distros)
    • Slick Greeter (used by Linux Mint)
    • Webkit Greeter (HTML/CSS-based)
  • Remote login support: Includes protocols like XDMCP and VNC for remote graphical sessions.
  • Guest sessions and autologin: Can be configured for temporary guest accounts or automatic login.

Disable suspend black screen:

# /etc/lightdm/lightdm.conf
[Seat:*]
xserver-command=X -s 0 dpms

Lightdm auto login:

# /etc/lightdm/lightdm.conf
[SeatDefaults]
autologin-user=public
autologin-user-timeout=5
# Uncomment the following, if running Unity
#greeter-session=unity-greeter