Setting up Debian based Linux PC with Fingerprint Authentication
Here’s the complete step-by-step guide including cosmic-greeter setup for fingerprint login on Pop!_OS
Fingerprint Setup on Pop!_OS (Lenovo ThinkPad with COSMIC)
- Install Required Packages
sudo apt update && sudo apt install fprintd libpam-fprintd
- Reinstall cosmic-greeter (if needed). Ensure the login manager is working:
sudo apt install --reinstall cosmic-greeter
- Enable Fingerprint in PAM
sudo pam-auth-update
- Use arrow keys to select "Fingerprint authentication". Press Space, then Tab → Enter
- Enroll Your Fingerprint
fprintd-enroll
- Swipe your finger until you see enroll-completed. You can specify a finger
fprintd-enroll -f right-index-finger
- Reboot
sudo reboot
After reboot
- Go to Settings > Users — you should see "Fingerprint Login" enabled
- Use Fingerprint
- At login: Swipe instead of typing password
- For sudo: Run sudo ls and use your finger
Troubleshooting
- No fingerprint option?
sudo pam-auth-update --enable fprintd
BIOS conflict (ThinkPad):
Enter BIOS → Security → Fingerprint → Disable "Predesktop Authentication"