Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dm-tool: add page #7710

Merged
merged 14 commits into from
Feb 2, 2022
20 changes: 20 additions & 0 deletions pages/linux/dm-tool.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# dm-tool

> A tool to commnicate with the display manager. EG: lock currect session and show lightdm, list all open sessions, connect an existing x server to the display manager.
godalming123 marked this conversation as resolved.
Show resolved Hide resolved
> More informatioin: https://www.mankier.com/1/dm-tool.
godalming123 marked this conversation as resolved.
Show resolved Hide resolved

- show the greeter while keeping current desktop session in ram and waiting to be restored upon autentication by logged in user:
godalming123 marked this conversation as resolved.
Show resolved Hide resolved

`dm-tool switch-to-greeter`

- lock the current session:
godalming123 marked this conversation as resolved.
Show resolved Hide resolved

`dm-tool lock`

- swicth user, showing a authentication prompt if required:
godalming123 marked this conversation as resolved.
Show resolved Hide resolved

`dm-tool swict-to-user {{username}} [{{session}}]`
godalming123 marked this conversation as resolved.
Show resolved Hide resolved

- add a new X server instance:
godalming123 marked this conversation as resolved.
Show resolved Hide resolved

`dm-tool add-seat [{{name}}={{value}}]`
godalming123 marked this conversation as resolved.
Show resolved Hide resolved