Manjaro Cinnamon with fingerprint-gui

Chat about Linux in general
Post Reply
nrde
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.
http://www.ullrich-online.cc/fingerprin ... 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
systemd(1)───lightdm(499)───lightdm(809)───cinnamon-sessio(860)───polkit-gnome-+

User avatar
Moem
Level 17
Level 17
Posts: 7232
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

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!
Image

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

gm10
Level 13
Level 13
Posts: 4669
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
Exec=/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
Terminal=false
Type=Application
Categories=
NoDisplay=true
OnlyShowIn=XFCE;Unity;X-Cinnamon;
X-GNOME-AutoRestart=true
AutostartCondition=GNOME3 unless-session gnome
X-Ubuntu-Gettext-Domain=polkit-gnome-1
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.

nrde
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

X-GNOME-Autostart-enabled=false
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 pam_fprintd.so
to /etc/pam.d/polkit-1.
fprintd is very rudimentary but at least it works.

Post Reply

Return to “Chat about Linux”