dm-tool

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

Install

All systems
curl cmd.cat/dm-tool.sh
Debian Debian
apt-get install lightdm
Ubuntu
apt-get install lightdm
Arch Arch Linux
pacman -S lightdm
image/svg+xml Kali Linux
apt-get install lightdm
Fedora
dnf install lightdm
Windows (WSL2)
sudo apt-get update sudo apt-get install lightdm
Raspbian
apt-get install lightdm

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

© tl;dr; authors and contributors