Code: Select all
loginctl lock-session
echo $?
returns a value of 0 but the screen is still not locked. I tried loginctl lock-session c1
and still nothing. My workaround is cinnamon-screensaver-command --lock
which does work. Also, I can unlock the screen with loginctl unlock-session
from my phone.Can someone replicate it at their end and see if it's a bug, or I have some issue on my machine? Thanks.