Long Login Time after Enabling Fingerprint Kubuntu

Prologue

I was experiencing issues with really long loading times on Kubuntu, which uses KDE and SDDM, after enabling fingerprint. I couldn’t find any solution to this problem so I spent a couple hours troubleshooting and figured I’d put the solution I found here.

My system

I’m on Kubuntu 26.04.01 LTS, kernel 7.0.0-38-generic. I have a Framework 13 Pro with a Series 3 X7 358H, 32GB RAM, 2TB SSD.

Important Notes

It is highly advised to read the entire guide before attempting.

The commands and instructions are what I did to get it working and may be different for other systems. This is specifically what worked for me on my laptop running a fresh install of Kubuntu 26.04.01 LTS and may cause major issues on your system.

This fix separates your standard auth options from your SDDM options, meaning any change to common-auth will need to be replicated to work on login. You’ve been warned.

Enabling Fingerprint

If you have fingerprint already enabled, you can skip to “Fix SDDM Config”.

To enroll fingerprint you can go into Settings > Users > [Your User] > and scroll down to “Configure Fingerprint”. Follow the on-screen instructions to enroll whatever fingerprints you want.

Once we have our fingerprint registered you need to enable it’s use across the system by going to the terminal and running sudo pam-auth-update. A terminal menu will pop up, navigate to “Fingerprint Authentication” with arrow keys and enable it by pressing SPACE. Then hit ENTER to save and exit.

To confirm fingerprint is working, exit the terminal and open a new one. Run sudo whoami and you should be able to use fingerprint. If it doesn’t than something is wrong with your fingerprint enrollment or PAM.

Now, if you logout and log back in you may notice very long login times (it was 15-20s for me). This guide fixes that.

Fix SDDM Config

Past this point it is possible to get to a point where you cannot login if not done correctly. If that happens, see the recovery instructions I will put in the comments.

First step is to backup the current config. Run sudo cp /etc/pam.d/sddm /home/sddm.

Next is to fix the SDDM config. Run sudo nano /etc/pam.d/sddm to open the config.

Replace the line @include common-auth with 3 lines as shown below:

auth    [success=1 default=ignore]      pam_unix.so nullok try_first_pass
auth    requisite                       pam_deny.so
auth    required                        pam_permit.so

Hit CTRL+X to exit, then press Y to save when prompted to save, then ENTER to keep the same name / overwrite the previous config.

Now restart your computer and the login should be just as snappy as before. If you can’t login or get some other error, you need to recover your old config with the instructions provided in the comments.

Explanation

From what I can tell by investigating logs, SDDM tries and fails to call fprint. Instead of just failing it waits until it times-out, causing the long wait times. The @include common-auth line means that it uses /etc/pam.d/common-auth which includes a line using fprint on every login. This guide essentially removes the fingerprint option for just SDDM. If your system has different lines in /etc/pam.d/common-auth than the ones included in the instructions, you should probably use those instead. Just make sure to omit the line with fprint. You can also omit any line with # as those are comments and don’t change the config behaviour.

Recovery

If something goes wrong, you’ll need to recover your config. Read this entire guide before attempting.

Start from powered off. Press the power button and wait until you see the Framework logo. Once you see it, quickly press ESC. You may need to try multiple times or press repeatedly.
If you go into Memory Training, you likely pressed ESC too early, wait until the system finishes and restarts on it’s own before trying again.
If you get into GRUB terminal with no menu, you pressed ESC too many times. Hold power button to shutdown and try again.
If you boot normally, you likely pressed ESC too late. Hold power button to restart and try again.

Once you successfully get into the recovery menu, you will see a couple different options in a terminal menu. Use the arrow keys and enter to select the root option.

Once we’re in a root terminal, run cp /home/sddm /etc/pam.d/sddm.

Once that’s done, run reboot to reboot your system and try to login.

If the recovery fails you can get back to your system’s desktop environment by going back into a root terminal with the above instructions and instead run su - {USERNAME} and replace {USERNAME} with your normal username (not root) without brackets. You may be prompted for a password, use the password you use to run sudo or login.

Then you can run startplasma-wayland to get back to a somewhat normal GUI. From here it’s much easier to troubleshoot issues.

Good Luck!