Arch-Linux Fingerprint
Fingerprint Authentication Setup for Arch Linux
Complete guide for setting up fingerprint authentication on Arch Linux with SDDM and Hyprland.
Prerequisites
- Arch Linux with SDDM display manager
- Hyprland window manager
- A working fingerprint reader
Installation
1. Install Required Package
2. Enroll Your Fingerprint
Replace antonis with your actual username.
Configuration
3. Configure PAM for System Authentication
Edit /etc/pam.d/system-auth:
Add this line after the first pam_faillock.so preauth line:
Your file should look like:
4. Configure PAM for SDDM Login
Edit /etc/pam.d/sddm:
Use this configuration:
5. Configure PAM for Screen Lock (Hyprlock)
Create or edit /etc/pam.d/hyprlock:
Add:
Testing
Test Sudo
You should see a fingerprint prompt instead of password.
Test SDDM Login
- Log out or reboot
- At the SDDM login screen, select your username
- Press Enter (don’t type a password)
- Place your finger on the fingerprint reader
- You should be logged in
Test Screen Lock
Lock your screen (close laptop lid if configured), then unlock with your fingerprint.
Troubleshooting
Fingerprint Not Working
Check if the service is running:
Note: The service is socket-activated and starts on-demand, so it’s normal if it shows as inactive.
Check Enrolled Fingerprints
Re-enroll Fingerprint
Check Logs
Then try to authenticate in another terminal to see live logs.
Check kernel messages
Notes
- SDDM Behavior: With most SDDM themes (including Chili), pressing Enter triggers fingerprint authentication. Password authentication at SDDM may not work when fingerprint is enabled due to PAM flow.
- Sudo: Fingerprint works perfectly with sudo when configured in
system-auth. - Security: Failed fingerprint attempts don’t trigger account lockout (faillock only applies to password attempts).
- The
sufficientkeyword means: if fingerprint succeeds, authentication is complete; if it fails, it tries the next authentication method.
Optional: Customize SDDM Text
If using the Chili theme, you can customize the placeholder text:
Find line below and change:
Save and restart SDDM:
System Information
This guide was tested on:
- OS: Arch Linux
- Display Manager: SDDM with Chili theme
- Window Manager: Hyprland
- Screen Locker: Hyprlock