Bug#874621: screen lock cannot be unlocked in vnc session

Pirate Praveen praveen at debian.org
Fri Sep 8 17:29:06 UTC 2017


On 09/08/2017 01:39 PM, Simon McVittie wrote:
> You might also be able to use loginctl to list sessions, then something
> like "loginctl unlock-session 42" to unlock your session.
no, that did not work after I got locked in for the 3rd time. I was able
to lock and unlock manually, but the problem comes when it gets locked
after some idle time.

see logs attched


-------------- next part --------------
pravi at nishumbha:~$ loginctl list-sessions 
   SESSION        UID USER             SEAT             TTY             
        12       1001 srud             seat0            /dev/tty2       
      2554       1000 pravi                                             
        c1        117 Debian-gdm       seat0            /dev/tty1       

3 sessions listed.
pravi at nishumbha:~$ loginctl unlock-session 2554
pravi at nishumbha:~$ sudo loginctl unlock-session 2554
pravi at nishumbha:~$ loginctl session-status 2554
2554 - pravi (1000)
           Since: Fri 2017-09-08 22:22:50 IST; 4min 30s ago
          Leader: 13493 (sshd)
          Remote: 192.168.2.100
         Service: sshd; type tty; class user
           State: active
            Unit: session-2554.scope
                  ├─13493 sshd: pravi [priv]
                  ├─13512 sshd: pravi at pts/4
                  ├─13513 -bash
                  ├─13803 loginctl session-status 2554
                  └─13804 pager
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 862 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20170908/a752dcc4/attachment.sig>


More information about the pkg-gnome-maintainers mailing list