DM-TOOL(1)
π DM-TOOL β the little bestie that talks to your display manager π
okay so this is dm-tool, from the General Commands Manual section (section 1, obviously, we're main-character CLI girls here). she's a tool. she controls the display manager. that's the whole vibe. β¨
πΈ NAME πΈ
dm-tool β a tool to control the display manager π
π SYNOPSIS π
dm-tool [ OPTIONS ] COMMAND [ ARGS ]
like. options, then a command, then whatever args that command wants. simple. iconic. no notes. π«Ά
β¨ DESCRIPTION β¨
dm-tool is a tool that talks to the LightDM display manager. that's it, that's the job β she's the group chat between you and LightDM. π¬π
π OPTIONS π
-h,--helpβ shows the help options, bestie. when in doubt, ask for help. always. π--versionβ shows the release version. just the version. no drama. β--session-busβ tries to connect to the display manager using the session bus instead of the system bus. this is lowkey useful if you're running a display manager in a test mode. if this option is not present,dm-toolconnects using the system bus by default. so like, no flag = system bus, flag = session bus. got it? got it. π
and then β drumroll pls π₯ β the following commands are available:
switch-to-greeterβ switches to the greeter, the one that's suitable for logging into a new session. new session loading screen type beat. πswitch-to-user USERNAME [SESSION]β switches to a user session. if that user is already logged in, the display manager just switches over to that existing session. if they're not, a new session gets started. if authentication is required, a greeter starts up to collect it. and if you pass theSESSIONoption, that session type gets used β otherwise it's whatever the default for that user is. periodt. πswitch-to-guest [SESSION]β switches to a guest session. if the guest session is already active, the display manager switches to it; otherwise the guest session is started fresh. if you give theSESSIONoption, that session type is used, otherwise it's the default for the guest user. πlockβ locks the current seat. this switches to a greeter with a hint that the screen is locked. you get back to your session by authenticating in the greeter. so it's not a one-way door, bestie, you just gotta prove it's you. πlist-seatsβ lists the active seats and the sessions that are running. very "who's here rn" energy. πͺadd-nested-seatβ starts an X server inside a session and connects it to a display manager. nesting dolls but make it displays. πͺadd-local-x-seat DISPLAY_NUMBERβ connects an existing X server to the display manager. πΊadd-seat TYPE [NAME=VALUE...]β adds a dynamic seat. π
π¦ ENVIRONMENT π¦
XDG_SEAT_PATHβdm-tooluses this to figure out which display manager session it's running in. when you rundm-tooloutside of a display manager, use itslist-seatscommand to show the active sessions, then set the session to connect to like this:
export XDG_SEAT_PATH=/org/freedesktop/DisplayManager/SeatX
where SeatX is one of the listed sessions. iykyk. π§
π₯ SEE ALSO π₯
lightdm(1) β her sister. go say hi. π
okay that's the whole page!! and for the sign-off β this page is from the General Commands Manual, dated 7 November 2013, and the source/version tag on the bottom is DM-TOOL(1). so like, vintage but make it slay. π
β¨πΈ no cap, go switch some seats. π«Ά
π¦ where this page comes from
- alpine 3.24: lightdm-doc 1.32.0-r12 Β· GPL-3.0-or-later
- debian trixie: lightdm 1.32.0-6+b2
- fedora 43: lightdm 1.32.0-22.fc43 Β· (LicenseRef-Callaway-LGPLv2 OR LGPL-3.0-only) AND GPL-3.0-or-later
- fedora 43: lightdm 1.32.0-22.fc43 Β· (LicenseRef-Callaway-LGPLv2 OR LGPL-3.0-only) AND GPL-3.0-or-later
- fedora 44: lightdm 1.32.0-25.fc44 Β· (LGPL-2.0-only OR LGPL-3.0-only) AND GPL-3.0-or-later
- fedora 44: lightdm 1.32.0-25.fc44 Β· (LGPL-2.0-only OR LGPL-3.0-only) AND GPL-3.0-or-later
- fedora 44: lightdm 1.33.1-2.fc44 Β· (LGPL-2.0-only OR LGPL-3.0-only) AND GPL-3.0-or-later
- fedora 44: lightdm 1.33.1-2.fc44 Β· (LGPL-2.0-only OR LGPL-3.0-only) AND GPL-3.0-or-later
- nixos 26.05: lightdm 1.32.0
- nixpkgs unstable: lightdm 1.33.1
- opensuse-leap 16.0: lightdm 1.32.0-bp160.1.1 Β· GPL-3.0-or-later
- opensuse-leap 16.0: lightdm 1.32.0-bp160.1.1 Β· GPL-3.0-or-later
- opensuse-leap 16.0: lightdm 1.32.0-bp160.1.1 Β· GPL-3.0-or-later
- opensuse-leap 16.0: lightdm 1.32.0-bp160.1.1 Β· GPL-3.0-or-later
- ubuntu questing: lightdm 1.32.0-6ubuntu3
- ubuntu resolute: lightdm 1.32.0-6ubuntu4
- ubuntu stonking: lightdm 1.32.0-6ubuntu4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms