xfce + fprintd — can not "enroll" fingers.

From: Lev Serebryakov <lev_at_FreeBSD.org>
Date: Fri, 14 May 2021 20:29:41 +0300
  I'm trying to install and use fprintd/pam_fprintd to use with XFCE DE. Documentation says, that fprintd-enroll requires polkit authentication agent. There is no such agent by default when xfce is installed.

  I've installed xfce-polkit (I'm planning to add port for it) and I've checked, that it work with "pkexec --user root id" — it asks for my password and run "id" as root.

  But when I try to run "fprintd-enroll" it complains:

list_devices failed: Rejected send message, 1 matched rules; type="method_call", sender=":1.57" (uid=1001 pid=17027 comm="") interface="net.reactivated.Fprint.Manager" member="GetDefaultDevice" error name="(unset)" requested_reply="0" destination="net.reactivated.Fprint" (bus)

  What do I do wrong and how to setup authentication with fingerprint under FreeBSD/XFCE?

-- 
// Lev Serebryakov
Received on Fri May 14 2021 - 17:29:41 UTC

Original text of this message