# Using a fingerprint reader with Cinnamon, possibly other DEs

**URL:** <https://forum.endeavouros.com/t/using-a-fingerprint-reader-with-cinnamon-possibly-other-des/74109>\
**Category:** Cinnamon\
**Created:** [August 5, 2025, 3:30pm UTC](https://forum.endeavouros.com/t/using-a-fingerprint-reader-with-cinnamon-possibly-other-des/74109 "2025-08-05T15:30:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Moonbase59](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/moonbase59/32/112659_2.png) [@Moonbase59](https://forum.endeavouros.com/u/Moonbase59)\
**Post date:** [August 5, 2025, 3:30pm UTC](https://forum.endeavouros.com/t/using-a-fingerprint-reader-with-cinnamon-possibly-other-des/74109/1 "2025-08-05T15:30:36Z")

</div>

I’ve been setting up the fingerprint reader on my Thinkpad today. Many laptops have one but users struggle with the installation. I explored lots of options (and many pitfalls), so I thought I’d share my notes with you.

**Warning: Long and detailed!**

As usual, documenting took ~~three~~ four times as long as actually setting it up…

**EDIT 2025-08-07:** Added some info about fingerprint reader types, storage and how to delete a fingerprint.

* * *

# Fingerprint Reader

On _EndeavourOS_ with _Cinnamon_ DE and the _Thinkpad T14 Gen 1_.

Note these instructions might work **for other DEs as well**. Just check what you got in `/etc/pam.d/` and replace the “Cinnamon Screensaver” part with _your_ screensaver/locker. KDE Plasma, for instance, should have an additional `/etc/pam.d/kde` (or similar). **Check the Arch Wiki!**

## Goals

- Enable fingerprint reader for:
  - User login (LightDM)
  - Virtual console login (`Ctrl`+`Alt`+`F1`..`F6`)
  - Screensaver (also used when resuming from suspend/hibernate)
  - Apps using Polkit (Firewall settings, etc.)
  - `sudo`
  - `su` (root; includes _Welcome_ screen apps using `eos-run-cmd-with-su`)

- Fingerprint first, password input after 3 wrong fingerprints or timeout.
- Since user and root are technically different users, use separate fingers:
  - right index finger for User
  - right middle finger for root

## Prerequisites

- [Arch fprint documentation](https://wiki.archlinux.org/title/Fprint)
- Fingerprint reader must be in the list of [supported devices](https://fprint.freedesktop.org/supported-devices.html)

```auto
$ lsusb
...
Bus 001 Device 032: ID 06cb:00bd Synaptics, Inc. Prometheus MIS Touch Fingerprint Reader
...

```

- Install fprintd and imagemagick:

```auto
$ sudo pacman -Syu fprintd imagemagick

```

- Do _not_ use `pam-fprint-grosshack` from the AUR, as it doesn’t work with the Cinnamon screensaver, and possibly others.

## Configuration

Upstream recommends [using S2Idle sleep instead of S3](https://gitlab.freedesktop.org/libfprint/libfprint/-/issues/538) but depending on your device, S3 might work as well.

In the system BIOS, **S2Idle** is often called “Windows”, **S3** “Linux” sleep mode.

On my Thinkpad, S3 works fine.

### Configuration files in `/etc/pam.d/`

#### LightDM login

Add `pam_fprintd.so` as _sufficient_ to the top of the auth section of `/etc/pam.d/lightdm`:

```auto
auth sufficient pam_fprintd.so

```

This tries to use fingerprint login first, and if it fails or if it finds no fingerprint signatures in the given user’s home directory, it proceeds to password login.

#### Local console login

Add `pam_fprintd.so` as _sufficient_ to the top of the auth section of `/etc/pam.d/system-local-login`:

```auto
auth sufficient pam_fprintd.so

```

#### Cinnamon screensaver

The screensaver can be used to lock the screen via command (`Ctrl`+`Alt`+`L` or `cinnamon-screensaver-command -a`) or after a suspend/hibernate when the system resumes.

Add `pam_fprintd.so` as _sufficient_ to the top of the auth section of `/etc/pam.d/cinnamon-screensaver`:

```auto
auth sufficient pam_fprintd.so

```

#### Polkit

This is used by several GUI apps like the firewall configuration.

Copy the default configuration file:

```auto
$ sudo cp /usr/lib/pam.d/polkit-1 /etc/pam.d/polkit-1

```

Add `pam_fprintd.so` as _sufficient_ to the top of the auth section of `/etc/pam.d/polkit-1`:

```auto
auth sufficient pam_fprintd.so

```

#### `sudo`

Add `pam_fprintd.so` as _sufficient_ to the top of the auth section of `/etc/pam.d/sudo`:

```auto
auth sufficient pam_fprintd.so

```

#### `su`

Note `su` is run as _root_, thus it needs a different fingerprint!

`su` is also used by EOS’ _Welcome_ screen applications, via `eos-run-cmd-with-su`.

Add `pam_fprintd.so` as _sufficient_ to the top of the auth section of `/etc/pam.d/su` _and_ `/etc/pam.d/su-l`:

```auto
auth sufficient pam_fprintd.so

```

### Group `input`

Add yourself to the `input` group:

```auto
$ sudo usermod -aG input "$USER"

```

Restart your system.

### Create fingerprint signatures

You will need to have an authentication agent running before being able to enroll.

Be sure you know the **type of sensor** you have. There are basically **two types of sensors:** On cheaper and less reliable ones, you’ll have to **swipe** your finger over it at a constant speed and direction. The better ones allow you to just (slightly) **press** your finger onto them and are generally more reliable.

_Note:_ It may be tempting to enroll more than one finger per user. Don’t. Most software only ever uses enrolled finger #0. Also, the storage space in the fingerprint device is limited and might overflow if too many fingerprints are registered.

_Note:_ Most modern fingerprint readers have their own chipset and store/verify fingerprints _on device_. For safety reasons, I recommend to _delete_ your fingerprints before dumping, gifting or selling your hardware.

Signature data is also typically kept in `/var/lib/fprint`:

```auto
$ sudo tree /var/lib/fprint/
Legen Sie Ihren rechten Zeigefinger auf den Fingerabdruckleser
/var/lib/fprint/
├── matthias
│ └── synaptics
│ └── 5a8893c61436
│ └── 7
└── root
    └── synaptics
        └── 5a8893c61436
            └── 8

7 directories, 2 files

```

The lowest level “number” indicates the finger, counting from the left hand little finger to the right hand little finger. So in our case, we have signatures for _matthias’ right index finger_ and _root’s right middle finger_.

#### User

To add a signature for a finger, run:

```auto
$ fprintd-enroll

```

This will usually add the _right index finger_ signature. Depending on the sensor used, _swipe_ or _press_ your finger multiple times, in slightly different position, until it has enough data.

You can also specify the finger and user:

```auto
$ fprintd-enroll -f right-index-finger "$USER"

```

To verify the newly created fingerprint, use:

```auto
$ fprintd-verify

```

#### root (for `su`)

Since _root_ and the _normal user_ are technically different users, they require different fingerprints. You _must use another finger_, since fprint doesn’t allow duplicates!

Let’s use the _right middle finger_ for root access:

```auto
$ sudo fprintd-enroll -f right-middle-finger root

```

Verify it:

```auto
$ sudo fprintd-verify

```

#### List signatures

To check which signatures are already stored for a user:

```auto
$ fprintd-list "$USER"
found 1 devices
Device at /net/reactivated/Fprint/Device/0
Using device /net/reactivated/Fprint/Device/0
Fingerprints for user matthias on Synaptics Sensors (press):
- #0: right-index-finger

```

and

```auto
$ fprintd-list root
found 1 devices
Device at /net/reactivated/Fprint/Device/0
Using device /net/reactivated/Fprint/Device/0
Fingerprints for user root on Synaptics Sensors (press):
- #0: right-middle-finger

```

You will be asked to authenticate if trying to list fingerprints for another user.

#### Deleting fingerprint signatures

Check which signatures are already stored for a user as shown above and decide which one to delete. Let’s say we wish to delete the signature for the current user’s _right ring finger_:

```auto
$ fprintd-delete "$USER" -f right-ring-finger
found 1 devices
Device at /net/reactivated/Fprint/Device/0
Using device /net/reactivated/Fprint/Device/0
Fingerprint right-ring-finger of user matthias deleted on Synaptics Sensors

```

**Careful:** You can also delete **all** fingerprints for a user:

```auto
$ fprintd-delete "$USER"

```

## Testing

### LightDM login

Log off. The login should prompt you to press (or swipe) the right index finger.

After a timeout (or 3 unsuccessful attempts) you can still login using your password.

 ![LightDM login screen after three unsuccessful attempts to use the fingerprint reader](https://forum.endeavouros.com/uploads/default/original/3X/f/2/f27bbf6bb43f6809c9bd879e722861351e4513d6.jpeg)

### Console login

Switch to a virtual console using `Ctrl`+`Alt`+`F2`. Enter your username and it should prompt you to login using the fingerprint:

```auto
EndeavourOS 6.15.9-arch1-1 (tty2)
t14-mch login: matthias
Place your right index finger on the fingerprint reader
[matthias@t14-mch ~]$

```

### Cinnamon Screensaver

Lock your screen using `Ctrl`+`Alt`+`L`. Once the lock screen is shown, move the mouse or press a key.

The lock screen should prompt you for fingerprint access.

 ![Cinnamon screensaver, prompting to use right index finger for login](https://forum.endeavouros.com/uploads/default/original/3X/a/c/ac9c4e62e1189c5ded4b959a21445d51725319a2.jpeg)

_Note:_ Even if it looks like, you _cannot_ enter a password before either your 3 tries to fingerprint or the timeout are exhausted! It will only work _after that!_

### Suspend/Resume

If you have set your system to invoke the lock screen on resume after suspend/hibernate, logging back in using the fingerprint should also be possible.

If this doesn’t work, you might have to enable S2Idle (“Windows”) sleep mode in your BIOS.

See also [Throubleshooting](https://wiki.archlinux.org/title/Fprint#Troubleshooting) in the Arch wiki.

### Polkit

Some applications use the Polkit for authentication. Let’s go to _Menu → Settings → Administration → Firewall_.

You should see an authorization request like this:

 ![Polkit authorization request popup for firewall access](https://forum.endeavouros.com/uploads/default/original/3X/b/4/b4042636ea235f8dfb52136454cef7b157883408.png)

### `sudo`

Open a terminal (`Ctrl`+`Alt`+`T`). Enter a harmless command like `ls` with `sudo`:

```auto
$ sudo ls

```

It should also ask you for your user fingerprint (right index finger in our case):

 ![sudo fingerprint prompt in a terminal](https://forum.endeavouros.com/uploads/default/original/3X/8/d/8dfd7fe4cf623865ebefd1c9c91f849e11c103c6.png)

In case of failure or a timeout, you can still use your password:

 ![sudo password entry after fingerprint detection failure](https://forum.endeavouros.com/uploads/default/original/3X/8/5/8593773b588d24b2e99198fb03308a639342e044.png)

### `su`

Note `su` runs as root, so we need to use the finger we enrolled for root usage here! You also need your _root password_ to use `su`, _not_ your user password!

Some apps in EOS’ _Welcome_ screen also use `su` internally, so these should also prompt you for your fingerprint.

Open a terminal (`Ctrl`+`Alt`+`T`). Enter a harmless command like `ls` with `su`:

```auto
$ su -c ls

```

It should ask you for _root_’s fingerprint now (right middle finger in our case):

 ![using su with root’s fingerprint](https://forum.endeavouros.com/uploads/default/original/3X/e/2/e2d2c9bb3fac89768ca7ba73f5ad125e615c8709.png)

After a while, it times out and asks for your root password, as shown.

* * *

If all worked out, congratulations!

You can now use your fingerprint reader for quick and easy access, and no one can look over your shoulder and see what you type in as your password.

Please **be aware that even fingerprints can be faked** —this doesn’t give you more security, it’s more like a convenience feature.

---

<div class="post-metadata">

**Author:** ![drunkenvicar](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/drunkenvicar/32/112222_2.png) [@drunkenvicar](https://forum.endeavouros.com/u/drunkenvicar)\
**Post date:** [August 5, 2025, 4:00pm UTC](https://forum.endeavouros.com/t/using-a-fingerprint-reader-with-cinnamon-possibly-other-des/74109/2 "2025-08-05T16:00:11Z")

</div>

**well done.** I understood everything clearly, as wonderfully geeky as this project was 🙂 . Setting this up vexes so many users in so many threads. people will be helped down the road from this.

---

<div class="post-metadata">

**Author:** ![Moonbase59](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/moonbase59/32/112659_2.png) [@Moonbase59](https://forum.endeavouros.com/u/Moonbase59)\
**Post date:** [August 5, 2025, 4:10pm UTC](https://forum.endeavouros.com/t/using-a-fingerprint-reader-with-cinnamon-possibly-other-des/74109/3 "2025-08-05T16:10:59Z")

</div>

I dearly hope so! There are some gotchas indeed, had to find out and read a lot of stuff on the Internet (not just the Arch wiki).

I originally planned for an “either–or” (fingerprint or password) using `pam-fprint-grosshack`, but that didn’t work out (no translation, not working with the Cinnamon screensaver).

So I reverted back to the “simple” solution of making `pam-fprintd` _sufficient_ for the tools mentioned (there are more, but I thought the given are good for everyday use). Turned out this is much more robust and and even has translations (not everywhere though).

Now after this little tutorial, the worst that can happen is that the fingerprint reader isn’t (yet) supported by `fprint`. Bad luck, I have one such notebook. Seems the Linux drivers focus a little on those fingerprint readers that store fingerprint scans by themselves.

**Note:** If ever you give your machine away (sell it, gift it, dump it), **remember to delete your fingerprints with `fprintd-delete` first** —they are stored in hardware!

---

<div class="post-metadata">

**Author:** ![drunkenvicar](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/drunkenvicar/32/112222_2.png) [@drunkenvicar](https://forum.endeavouros.com/u/drunkenvicar)\
**Post date:** [August 5, 2025, 4:13pm UTC](https://forum.endeavouros.com/t/using-a-fingerprint-reader-with-cinnamon-possibly-other-des/74109/4 "2025-08-05T16:13:07Z")

</div>

> [@Moonbase59](#):
>
> Seems the Linux drivers focus a little on those fingerprint readers that store fingerprint scans by themselves

this is a silly question but is a stored fingerprint(s) scan like a 3MB jpeg or something?

edit: or is this at the firmware level?

---

<div class="post-metadata">

**Author:** ![Moonbase59](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/moonbase59/32/112659_2.png) [@Moonbase59](https://forum.endeavouros.com/u/Moonbase59)\
**Post date:** [August 5, 2025, 4:14pm UTC](https://forum.endeavouros.com/t/using-a-fingerprint-reader-with-cinnamon-possibly-other-des/74109/5 "2025-08-05T16:14:36Z")

</div>

I think I remember those being small 2xx x 28x pixel images, about 5–10 per fingerprint stored in the reader memory.

EDIT: Had a quick look. Size differs between various readers, some are as small as 96 x 96 px, some larger (mostly the swipe devices).

Here is a sample from the [`libfprint` examples](https://github.com/iafilatov/libfprint?tab=readme-ov-file#good-image), for a touch sensor:

![No, not MY fingerprint…](https://forum.endeavouros.com/uploads/default/original/3X/2/1/2179133c6c3dbd4a81752769dffe97d33e992174.png)

EDIT 2: Yes, the more modern fingerprint readers I’ve encountered all have their own memory and chips/firmware that compares the stored images against a new scan.

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/139011_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [December 2, 2026, 9:18pm UTC](https://forum.endeavouros.com/t/using-a-fingerprint-reader-with-cinnamon-possibly-other-des/74109/6 "2026-12-02T21:18:42Z")

</div>

/etc/pam.d/cinnamon

is also still correct set?

---

<div class="post-metadata">

**Author:** ![Moonbase59](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/moonbase59/32/112659_2.png) [@Moonbase59](https://forum.endeavouros.com/u/Moonbase59)\
**Post date:** [December 2, 2026, 10:13pm UTC](https://forum.endeavouros.com/t/using-a-fingerprint-reader-with-cinnamon-possibly-other-des/74109/7 "2026-12-02T22:13:07Z")

</div>

**Note to future readers of this how-to thread:**

As of December 2026, the instructions are still correct, but it appears that you also have to add the line

```auto
auth sufficient pam_fprintd.so

```

at the top of the PAM module stack in the file `/etc/pam.d/cinnamon`, making it look something like:

```auto
#%PAM-1.0

# Fedora & Arch
auth sufficient pam_fprintd.so
-auth sufficient pam_selinux_permit.so
auth include system-auth
-auth optional pam_gnome_keyring.so
-auth optional pam_oo7.so
account include system-auth
password include system-auth
session include system-auth

# SuSE/Novell
#auth include common-auth
#auth optional pam_gnome_keyring.so
#account include common-account
#password include common-password
#session include common-session

```

See this thread:

> [@Fingerprint stopped working with cinnamon-screensaver](https://forum.endeavouros.com/t/fingerprint-stopped-working-with-cinnamon-screensaver/82976):
>
> On my Lenovo ThinkPad T14 G1, I have set up my EndeavourOS with the Cinnamon DE and fingerprint detection, as described in [Using a fingerprint reader with Cinnamon, possibly other DEs](https://forum.endeavouros.com/t/using-a-fingerprint-reader-with-cinnamon-possibly-other-des/74109). This has been working fine since over a year, but suddenly, about one or two weeks ago, it stopped working for the Cinnamon Screensaver. It now only asks me for password, the text “Put your right index finger on the fingerprint reader” is gone. I noticed that I got a .pacnew update for my /etc/pam.d/cinnamon-scr…

Enjoy!
