dm-tool
LightDM display manager control
TLDR
Show greeter (login screen)
SYNOPSIS
dm-tool command [arguments]
DESCRIPTION
dm-tool is a command-line utility for interacting with the LightDM display manager. It provides session management capabilities including locking the current session, switching between users, and displaying the greeter (login screen) without logging out.
The tool enables multi-user workflows by allowing quick user switching while preserving all open sessions. It can also manage display seats, which are independent workstations consisting of a display, keyboard, and mouse.
dm-tool communicates with LightDM via D-Bus, sending commands that control the display manager's behavior. This makes it useful for scripting and custom session management workflows on systems using LightDM.
PARAMETERS
switch-to-greeter
Show login screen, keep current sessionlock
Lock current sessionswitch-to-user user [session]
Switch to specified useradd-seat type options
Add dynamic seatlist-seats
List available seats
CAVEATS
Only works with LightDM display manager. Other display managers (GDM, SDDM) have different tools. Session type must be valid.
