Manjaro Cinnamon with fingerprint-gui

Chat about Linux in general
Post Reply
Level 1
Level 1
Posts: 2
Joined: Wed Oct 24, 2018 11:54 am

Manjaro Cinnamon with fingerprint-gui

Post by nrde » Wed Oct 24, 2018 12:25 pm

Hi everyone,

i installed fingerprint-gui on Manjaro with Cinnamon.
There is a step by step guide to do this. ... anual.html
LightDM Login and sudo integration works great...

... but i failed to configure polkit authentication.
(Polkit popups when starting system apps like GParted)

Cinnamon used polkit-gnome as default authentication agent for policykit based authentication.
Fingerprint-polkit-agent conflicts with the polkit-gnome-authentication-agent-1.

The guide says:
For authenticating by policykit-1 a polkit authentication agent must run in every user's session. Therefore the file “fingerprint-polkit-agent.desktop” is installed to /etc/xdg/autostart/ by “sudo make install”. This file starts the fingerprint-polkit-agent when a user session is started. But the fingerprint-polkit-agent conflicts with the “polkit-gnome-authentication-agent-1” or the “polkit-kde-authentication-agent-1” that are installed by default on your system. To solve this conflict remove the “polkit-gnome-authentication-agent-1.desktop” or “polkit-kde-authentication-agent-1.desktop” file from the directory /etc/xdg/autostart/.
Disabling should be a easy thing,
but /etc/xdg/autostart contains no polkit-gnome-authentication-agent-1.desktop file.

How is this agent started?
Any Ideas?

(Manjaro cummunity has no idea :roll: )

Code: Select all

$ pstree -s -p 1126

User avatar
Level 18
Level 18
Posts: 8974
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands

Re: Cinnamon with fingerprint-gui

Post by Moem » Wed Oct 24, 2018 12:47 pm

Mod note:
Moved to Chat because this is not about Mint. We don't really support Manjaro here, but who knows. Good luck!

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

Level 18
Level 18
Posts: 8127
Joined: Thu Jun 21, 2018 5:11 pm

Re: Manjaro Cinnamon with fingerprint-gui

Post by gm10 » Wed Oct 24, 2018 12:50 pm

If it helps, this is how it looks in Mint, maybe that sets you on the right track:

Code: Select all

$ cat /etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop 
[Desktop Entry]
Name=PolicyKit Authentication Agent
Comment=PolicyKit Authentication Agent
AutostartCondition=GNOME3 unless-session gnome
Good luck. And check with a Manjaro Cinnamon live USB/VM because I have trouble imagining that they wouldn't have set this up correctly already, so you may simply have a broken install.

Level 1
Level 1
Posts: 2
Joined: Wed Oct 24, 2018 11:54 am

Re: Manjaro Cinnamon with fingerprint-gui

Post by nrde » Thu Oct 25, 2018 10:10 am

Interesting idea!
Created missing polkit-gnome-authentication-agent-1.desktop file and added following line:

Code: Select all

After reboot, polkit-gnome was not started.
Now fingerprint-polkit-agent starts but ignores the sensor. :x

Last option is using polkit-gnome with fprintd by simple adding

Code: Select all

auth      sufficient
to /etc/pam.d/polkit-1.
fprintd is very rudimentary but at least it works.

Post Reply

Return to “Chat about Linux”