You are not logged in.
So, I am running Sway WM that launches gnome-polkit with the following command "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &"
It runs well on boot and everything is okay, until the agent crashes whenever I try to launch Corectrl
This is what I get from running Corectrl
[02-05-21 00:29:18.641][W] vulkaninfo command failed
[02-05-21 00:29:18.846][W] No translation found for locale en_GB
[02-05-21 00:29:18.846][W] Using en_EN translation.
[02-05-21 00:29:19.091][W] Cannot start helper
[02-05-21 00:29:19.091][W] Initialization failed
[02-05-21 00:29:19.091][W] Exiting...
[1] + segmentation fault (core dumped) /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
polkit-agent-helper-1: pam_authenticate failed: Permission deniedAnd this is what I get when I try pkexec corectrl
polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookieLastly, this is systemd's polkit log:
● polkit.service - Authorization Manager
Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
Active: active (running) since Sun 2021-05-02 00:29:06 CEST; 5min ago
Docs: man:polkit(8)
Main PID: 81307 (polkitd)
Tasks: 12 (limit: 19122)
Memory: 5.8M
CPU: 0
CGroup: /system.slice/polkit.service
└─81307 /usr/lib/polkit-1/polkitd --no-debug
May 02 00:29:06 arch systemd[1]: Starting Authorization Manager...
May 02 00:29:06 arch polkitd[81307]: Started polkitd version 0.118
May 02 00:29:06 arch polkitd[81307]: Loading rules from directory /etc/polkit-1/rules.d
May 02 00:29:06 arch polkitd[81307]: Loading rules from directory /usr/share/polkit-1/rules.d
May 02 00:29:06 arch polkitd[81307]: Finished loading, compiling and executing 4 rules
May 02 00:29:06 arch systemd[1]: Started Authorization Manager.
May 02 00:29:06 arch polkitd[81307]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
May 02 00:29:11 arch polkitd[81307]: Registered Authentication Agent for unix-session:7 (system bus name :1.190 [/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8)
May 02 00:29:19 arch polkitd[81307]: Unregistered Authentication Agent for unix-session:7 (system bus name :1.190, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8) (disconnected from bus)
May 02 00:29:19 arch polkitd[81307]: Operator of unix-session:7 FAILED to authenticate to gain authorization for action org.corectrl.helper.init for system-bus-name::1.191 [corectrl] (owned by unix-user:ero)Thank you very much in advance for trying to help me!
Last edited by Erotaku (2021-05-01 23:15:35)
Offline
Never mind. It seems that Gnome-polkit is built on xorg. KDE-polkit fixes it! Already solved.
Last edited by Erotaku (2021-05-01 23:32:07)
Offline