I have a Thinkpad x1 Carbon (2nd Gen) with a fingerprint scanner. The machine has Kubuntu 22.04 (Jammy Jellyfish) installed.
Since it's Kubuntu, I installed fprintd to scan my fingerprint for login. Here are the commands I ran and things I changed:
$ sudo apt install -y fprintd libpam-fprintd
$ sudo pam-auth-update
$ sudo nano /etc/pam.d/common-auth
Add the below line before the line that starts with “auth [success=1”:
auth [success=2 default=ignore] pam_fprintd.so max_tries=1 timeout=10
Exit and save
When I was ready, I ran fprintd-enroll $my_username
It asked me for my right pointer fingerprint and I swiped my finger. I then received a message saying that my print was enrolled, but nothing happened (as in, the programming kept running), so I kept scanning my finger until the prompts told me that my fingerprint had been logged successfully and the program closed. I then logged out to test it.
Everything up to this point has worked perfectly fine. Installation, input, everything. Here's where the problems arise.
When I tried to log in, the light was blinking green, so clearly the fingerprint scanner was indeed working. However, when I tried to scan my finger again in the exact same way, I just got an error saying that the login failed. Moreover, it wouldn't even process another login attempt until I restarted (I'd just hit enter on the password and nothing would happen, no green light for 'login failed' message). This is likely because I foolishly set the max auth attempts to 1 for the fingerprint scan.
I've been scanning over and over for the last few hours. Is there a way for me to get into my computer without getting the fingerprint to work?