dm-tool
A tool to communicate with the display manager. tldr-pages
On Linux
Linux
Show the greeter while keeping current desktop session open and waiting to be restored upon authentication by logged in user
dm-tool switch-to-greeterIdentifyLock the current session
dm-tool lockIdentifySwitch to a specific user, showing an authentication prompt if required
dm-tool switch-to-user username sessionIdentifyAdd a dynamic seat from within a running LightDM session
dm-tool add-seat xlocal name=valueIdentify