Page 1 of 1

How to make fingerprint reader working in KDE?

PostPosted: Sep 30th, '19, 19:58
by MagicD3VIL
I use Mageia KDE and I was wondering if there is a way how to get my fingerprint reader working to log into the system.

In Mageia Control Center it is detecting my reader (under biometrics) with the name "VFS5011 Fingerprint Reader" (Lenovo ThinkPad Edge E431).

Any help much appreciated :)

Re: How to make fingerprint reader working in KDE?

PostPosted: Oct 1st, '19, 18:07
by doktor5000
Well, this is not about KDE. At first you have to get the fingerprint reader to work at all, and then you need to enroll your fingerprint.
Then you would need to configure the PAM configuration for the display manager you're using to also allow a PAM module for the fingerprint reader to unlock your session.

I'd recommend some reading: https://wiki.archlinux.org/index.php/Fprint and maybe https://wiki.archlinux.org/index.php/Fingerprint_GUI

On a related noted, please always post devices with their PCI vendor/device ID. On Mageia you can list that with lspcidrake -v or generally with lspci -nn (lsusb shows the IDs by default).

Seems your device might be supported, but there are several devices with that "name" at https://fprint.freedesktop.org/supported-devices.html
138a:0010 Validity VFS5011
138a:0011 Validity VFS5011
138a:0015 Validity VFS5011
138a:0017 Validity VFS5011
138a:0018 Validity VFS5011

Re: How to make fingerprint reader working in KDE?

PostPosted: Oct 1st, '19, 19:06
by MagicD3VIL
So yeah my fingerprint reader is indeed supported (Vendor ID: ‎0x138a, Device ID: ‎0x0011)

Even tho I followed the tutorial you've sent to me, scanned all my fingers (was successful), edited every file as the tutorial said (didn't use the GUI version), it still does not want to register my reader on login and lock screen.

Re: How to make fingerprint reader working in KDE?

PostPosted: Oct 2nd, '19, 00:35
by doktor5000
Can you please show the edit to the PAM configuration file, what does it look like now ?

Re: How to make fingerprint reader working in KDE?

PostPosted: Oct 2nd, '19, 11:01
by MagicD3VIL
Which one would you like? There's a lot of configs in pam.d... maybe I just didn't get which one you meant :D

I've only added "auth sufficient pam_fprintd.so" to these configs tho:
    kde
    ssdm

Re: How to make fingerprint reader working in KDE?

PostPosted: Oct 2nd, '19, 14:27
by doktor5000
MagicD3VIL wrote:I've only added "auth sufficient pam_fprintd.so" to these configs tho:
    kde
    ssdm

Yeah, but the ordering in there is important. Can you post both files ?

Re: How to make fingerprint reader working in KDE?

PostPosted: Oct 2nd, '19, 18:43
by MagicD3VIL
kde:
Code: Select all
#%PAM-1.0
auth sufficient pam_fprintd.so
auth       include      system-auth
account    include      system-auth
password   include      system-auth
session    include      system-auth


ssdm:
Code: Select all
#%PAM-1.0
auth sufficient pam_fprintd.so
auth       required    pam_env.so
auth       sufficient  pam_succeed_if.so user ingroup nopasswdlogin
auth       substack    system-auth
-auth      optional    pam_gnome_keyring.so
-auth      optional    pam_kwallet5.so
-auth      optional    pam_kwallet.so
account    include     system-auth
password   include     system-auth
session    optional    pam_keyinit.so force revoke
session    required    pam_namespace.so
session    include     system-auth
session    required    pam_loginuid.so
session    optional    pam_console.so
-session   optional    pam_gnome_keyring.so auto_start
-session   optional    pam_kwallet5.so auto_start
-session   optional    pam_kwallet.so auto_start