Manjaro Cinnamon with fingerprint-gui

Chat about Linux in general
Forum rules
Do not post support questions here. Before you post read the forum rules. Topics in this forum are automatically closed 6 months after creation.
Locked
nrde

Manjaro Cinnamon with fingerprint-gui

Post by nrde »

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-+
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Moem
Level 22
Level 22
Posts: 16228
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: Cinnamon with fingerprint-gui

Post by Moem »

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

Re: Manjaro Cinnamon with fingerprint-gui

Post by gm10 »

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

Re: Manjaro Cinnamon with fingerprint-gui

Post by nrde »

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.
Locked

Return to “Chat about Linux”