the-cavalry / light-locker

A simple session-locker for lightdm
GNU General Public License v2.0
224 stars 22 forks source link

Fingerprint unlocking requires an additional click #116

Open tobia opened 6 years ago

tobia commented 6 years ago

I have configured fprint on my system's PAM[1]. Now I can successfully use my fingerprint whenever I would use my password, for instance to unlock sudo in a terminal. But in the case of light-locker, after using my finger, an additional click is required to unlock the screen.

This is what I see as soon as I press any key:

fprint1

If I scan my finger successfully, the password field is removed, but the message and the Unlock buttons remain:

fprint2

Only after clicking on Unlock the locker is dismissed.

Is there a way to configure light-locker not to require this additional action?

[1] I'm using Xubuntu 18.04. Here is what I did:

$ sudo apt install fprintd fprint-demo libpam-fprintd
$ sudo pam-auth-update           # Enable "Fingerprint authentication"
$ sudo fprintd-enroll            # Add my finger as root
$ fprintd-enroll                 # Add the same finger as user
$ sudo reboot                    # Just in case