I recently got an X1 Carbon (7th generation) and I decided to install Linux Mint 20 on it, primarily because at least two people told me it was a good distro. One of the first things I wanted to get set up was fingerprint authentication so I could easily sign in without using my user password.

If you have another Ubuntu-based Linux distribution, this will also probably work just fine. You may need to install fprintd yourself, though. If this guide works for you on a different distro, let me know: blog@tjtjtj.tj
Update: This guide has also been confirmed to work with Debian on a T450s!

Ubuntu 20.04 comes with improved support for fingerprint authentication, making it work entirely out of the box with any supported reader (which includes the X1C's fingerprint reader). The good news is that since Mint is based off of Ubuntu, many of the improvements carry over. But, of course, there are some caveats. Since much of the improvements made to fingerprint auth are Ubuntu-specific, we will need to:

  1. Update the fingerprint reader's firmware
  2. Install the PAM module for fprintd
  3. Enroll a finger from the command line

Update Reader Firmware

First, let's update the fingerprint reader firmware. Run these commands borrowed from the Arch Linux wiki to update the firmware:

$ fwupdmgr refresh
$ fwupdmgr get-updates
$ fwupdmgr update

This will check for firmware updates and then update any devices that are out-of-date.

Note: This will also update things like your ThinkPad's BIOS, Thunderbolt controller, etc. so if you only want to update the fingerprint reader, run fwupdmgr get-devices and find the "Prometheus" device – this is the fingerprint reader. Use that device ID in fwupdmgr update [device-id] to only update that specific device.

After updating the firmware, you might want to reboot – it's not required in my experience, but it doesn't hurt.

Install PAM Module

Next, we need to install the PAM module for fprintd so that it can be used as an authentication method alongside a password. Run this commands to do so:

$ sudo apt install libpam-fprintd

Now that the module is installed, we need to tell the system to use it:

$ sudo pam-auth-update

At this screen, make sure "Fingerprint authentication" is selected, then select "Ok" to save.

Enroll Fingerprint

Finally, let's enroll a fingerprint into fprintd so it can be used for authentication. We will be using fprintd-enroll to register a fingerprint. Run this command to enroll a finger:

$ fprintd-enroll -f [finger]

[finger] can be one of:

  • left-thumb
  • left-index-finger
  • left-middle-finger
  • left-ring-finger
  • left-little-finger
  • right-thumb
  • right-index-finger
  • right-middle-finger
  • right-ring-finger
  • right-little-finger

If omitted, it will default to the right index finger. Once run, press a finger on the sensor several times from several different angles. When the program exits, you are done.

If you do not have fprintd-enroll, then you may need to install fprintd with apt. It was already installed in my case.

Once your fingerprint has been enrolled, you can test it out using fprintd-verify, which is a simple application that verifies a fingerprint swipe. Run it, press the finger you just enrolled on the sensor, and it should work!

You should now be able to use your fingerprint as an authentication method anywhere PAM is used (which is basically anywhere you'd normally use your password). To test it out, try locking your machine and signing back in with your fingerprint. If it doesn't prompt you for a finger, try restarting your machine.


I wrote this article because it took me some digging through Reddit, random forum posts, wikis, and Stack Exchange to figure out exactly how to get fingerprint auth working on my X1C7, so I hope this helped at least one person save time on theirs!