'dm-tool' is not intended to be used directly.
If 'light-locker' doesn't run, 'dm-tool switch-to-greeter' will leave the session unlocked.
It is the very reason why there is a tool like 'light-locker' with its controller 'light-locker-command', which will lock the session and then switch to the LightDM's greeter.
(In reply to Thaddaeus Tintenfisch from comment #1) bazaar. launchpad. net/~ubuntu- branches/ ubuntu/ vivid/xfce4- panel/vivid/ /debian/ patches/ 02_support- dmtool. patch
> Better use "dm-tool switch-to-greeter" as replacement for "gdmflexiserver".
>
> http://
> view/head:
'dm-tool' is not intended to be used directly. locker- command' , which will lock the session and then switch to the LightDM's greeter.
If 'light-locker' doesn't run, 'dm-tool switch-to-greeter' will leave the session unlocked.
It is the very reason why there is a tool like 'light-locker' with its controller 'light-
I hope you understand this. ;)