No polkit authentication agent found
Different applications report that no polkit agent is found:
- gparted:
Error executing command as another user: No authentication agent found.
- pkexec:
polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
- shutdown:
Failed to call ScheduleShutdown in logind, proceeding with immediate shutdown: Interactive authentication required.
Also some things are not working anymore (mounting devices for file manager, managing users through GUI), sudo works and I am detected as admin.
It worked before, but stopped stopped working unexpectedly (maybe after some updates). I didn't found anything in auth.log
or .xsession-errors
, but FAILED to authenticate to gain authorization for action org.freedesktop.policykit.exec
(pkexec only).
I'm using Ubuntu 18.04 LTS, x86_64, Gnome 3.28.2
Edited by Cromefire_