From nobody Fri May 14 17:29:41 2021 X-Original-To: freebsd-desktop@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E7F012C320D for ; Fri, 14 May 2021 17:29:44 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FhbBJ6CjPz4hnV for ; Fri, 14 May 2021 17:29:44 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.not-for.work (onlyone.not-for.work [IPv6:2a01:4f8:201:6350::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: lev/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id ADAAA26B4C for ; Fri, 14 May 2021 17:29:44 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from [192.168.134.16] (unknown [94.19.224.8]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.not-for.work (Postfix) with ESMTPSA id 589334B46 for ; Fri, 14 May 2021 20:29:42 +0300 (MSK) Reply-To: lev@FreeBSD.org To: freebsd-desktop@FreeBSD.org From: Lev Serebryakov Subject: =?UTF-8?Q?xfce_+_fprintd_=e2=80=94_can_not_=22enroll=22_fingers=2e?= Organization: FreeBSD Message-ID: Date: Fri, 14 May 2021 20:29:41 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 List-Id: Using and improving FreeBSD on the desktop List-Archive: http://lists.freebsd.org/desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit 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