On 12/27/24 21:30, Greg Wooledge wrote:
On Fri, Dec 27, 2024 at 21:07:27 -0500, gene heskett wrote:
gene@bpi51e5p:~$ synaptic-pkexec
==== AUTHENTICATING FOR com.ubuntu.pkexec.synaptic ===
Authentication is required to run the Synaptic Package Manager
Authenticating as: Gene Heskett,,, (gene)
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.
gene@bpi51e5p:~$
Whats it take to fix it? I am in the sudoers list.
Well, first thing: sudoers has nothing to do with it. Totally irrelevant.
I entered your error message into a search engine, and found some
useful-looking results:
<https://www.reddit.com/r/voidlinux/comments/set1s1/gdbuserrororgfreedesktoppolicykit1errorfailed_no/>
following this thread I installed policykit-gnome and policykit-mate but
still misses the mark with a similar error msg:
gene@bpi51e5p:~$ synaptic-pkexec
==== AUTHENTICATING FOR com.ubuntu.pkexec.synaptic ===
Authentication is required to run the Synaptic Package Manager
Authenticating as: Gene Heskett,,, (gene)
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.
gene@bpi51e5p:~$
Am I on the right track?
<https://www.reddit.com/r/debian/comments/4h33rs/pkexec_authentication_failure/>
The first is from Void Linux, and the second from Debian. Both say
basically the same thing: you need to have some kind of "polkit agent"
installed and running as part of your session.
I don't know how to get one of those running, but perhaps you can read
these results (or any other results that you get when you search for
your own error message, instead of waiting for other people to search
for you) and try some things.
.
Cheers, Gene Heskett, CET.
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis