HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

dm-tool — A tool to communicate with the display manager. More information: <https://manned.org/dm-tool>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandclidm-toolcommunicatewithtooldisplay
linux

Problem

How to use the dm-tool command: A tool to communicate with the display manager. More information: <https://manned.org/dm-tool>.

Solution

dm-tool — A tool to communicate with the display manager. More information: <https://manned.org/dm-tool>.

Show the greeter while keeping current desktop session open and waiting to be restored upon authentication by logged in user:
dm-tool switch-to-greeter


Lock the current session:
dm-tool lock


Switch to a specific user, showing an authentication prompt if required:
dm-tool switch-to-user {{username}} {{session}}


Add a dynamic seat from within a running LightDM session:
dm-tool add-seat {{xlocal}} {{name}}={{value}}

Code Snippets

Show the greeter while keeping current desktop session open and waiting to be restored upon authentication by logged in user

dm-tool switch-to-greeter

Lock the current session

dm-tool lock

Switch to a specific user, showing an authentication prompt if required

dm-tool switch-to-user {{username}} {{session}}

Add a dynamic seat from within a running LightDM session

dm-tool add-seat {{xlocal}} {{name}}={{value}}

Context

tldr-pages: linux/dm-tool

Revisions (0)

No revisions yet.