IT lexicon › Infra & Ops › Display manager

Display manager

Infra & Ops På svenska → Updated: 2026-10-07

The program that starts the X server or compositor, draws the login screen and hands the display over to a graphical session.

On a text console, logging in is the job of getty and login; the display manager is their graphical counterpart. It starts an X server, or these days a Wayland compositor, draws a login box, checks the password through PAM and then launches the session as the right user. When the session ends it cleans up and shows the box again. XDM from 1988 came first, and also offered the service to X terminals over the network via XDMCP.

The desktop environments soon wrote their own: dtlogin for CDE, KDM for KDE, GDM for GNOME. They brought themes, user lists with portraits, session selection, automatic login and switching users without logging out; the grey box became a software category of its own. Later came LightDM (2010), meant to be independent of any desktop, and SDDM (2013), which replaced KDM. Anyone who starts X by hand with startx skips the whole layer, which is why some people still do.

← Back to the lexicon