You are not logged in.

#1 2016-03-22 18:25:55

BrencelJ
Member
Registered: 2012-01-24
Posts: 4

PolicyKitl Error (No session for cookie) Awesome WM

Hi,

I have tried Fingerprint GUI in  Awesome WM.
I'm getting this error and I haven't found any solution for it so I'm asking here if anyone has any idea. There is no auth.log.

==== AUTHENTICATING FOR cc.ullrich-online.fingerprint-gui.modify ===
Authentication is required to modify fingerprint authentication data
Authenticating as: (MY USERNAME)
Password:
polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
==== AUTHENTICATION FAILED ===
Error executing command as another user: Not authorized

This incident has been reported.

Does anyone have any idea what can I do. I would really appreciate it. If I run it as root or sudo everything works OK.

Offline

#2 2016-03-30 11:12:57

fazky
Member
Registered: 2012-01-25
Posts: 34

Re: PolicyKitl Error (No session for cookie) Awesome WM

Hello,
I have the very same problem.

journalctl shows me the following:

Mar 30 13:10:32 schwarzbaer polkitd[3950]: Registered Authentication Agent for unix-process:4000:170009 (system bus name :1.61 [pkexec /usr/lib/fingerprint-gui/fingerprint-rw-write -user dominik -driver libbsapi -file 6.bir -d], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Mar 30 13:10:37 schwarzbaer polkitd[3950]: Operator of unix-process:4000:170009 FAILED to authenticate to gain authorization for action cc.ullrich-online.fingerprint-gui.modify for unix-process:4000:170009 [fingerprint-gui -d] (owned by unix-user:dominik)
Mar 30 13:10:37 schwarzbaer pkexec[4013]: dominik: Error executing command as another user: Not authorized [USER=root] [TTY=/dev/pts/5] [CWD=/home/dominik] [COMMAND=/usr/lib/fingerprint-gui/fingerprint-rw-write -user dominik -driver libbsapi -file 6.bir -d]
Mar 30 13:10:37 schwarzbaer polkitd[3950]: Unregistered Authentication Agent for unix-process:4000:170009 (system bus name :1.61, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Mar 30 13:10:37 schwarzbaer fingerprint-gui[4000]: ERROR: fingerprint-rw-write returned 32512.
Mar 30 13:10:37 schwarzbaer fingerprint-gui[4000]: Fingerprint was not saved. Click "No" to retry.

Last edited by fazky (2016-03-30 11:15:09)

Offline

#3 2016-03-30 11:23:18

fazky
Member
Registered: 2012-01-25
Posts: 34

Re: PolicyKitl Error (No session for cookie) Awesome WM

I got it to work.
You need to run

sudo /usr/lib/fingerprint-gui/fingerprint-polkit-agent -d

Then you get a different password prompt upon registering your fingerprint.

Cheers,
Dominik

Offline

#4 2016-03-30 12:37:31

BrencelJ
Member
Registered: 2012-01-24
Posts: 4

Re: PolicyKitl Error (No session for cookie) Awesome WM

@fazky Thank you very much I was searching this online and there was no answer anywhere from anyone. You are a life saver smile

Offline

Board footer

Powered by FluxBB