[Pkg-utopia-maintainers] Bug#913919: Policykit-1: "...Error executing command as another user: Not authorized..."

Awtul awtulawtul at gmail.com
Sat Nov 17 00:27:00 GMT 2018


Package: policykit-1
Version: 0.105-21
Severity: important

Dear Maintainer,

thunar won't open via pkexec. I get:

"pkexec thunar %f
==== AUTHENTICATING FOR org.xfce.thunar ===
Authentication is required to run Thunar as root.
Authenticating as: root
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."

-----------------------------------------

After executing "pkexec thunar %f" I see in /var/log/auth.log I see:

Nov 16 19:22:03 my-user-name polkitd(authority=local): Registered Authentication Agent for unix-process:9445:650488 (system bus name :1.129 [pkexec thunar %f], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Nov 16 19:22:09 my-user-name polkitd(authority=local): Operator of unix-process:9445:650488 FAILED to authenticate to gain authorization for action org.xfce.thunar for unix-process:9445:650488 [bash] (owned by unix-user:xc)
Nov 16 19:22:09 my-user-name pkexec[9521]: xc: Error executing command as another user: Not authorized [USER=root] [TTY=/dev/pts/3] [CWD=/home/xc] [COMMAND=/usr/bin/thunar %f]
Nov 16 19:22:09 my-user-name polkitd(authority=local): Unregistered Authentication Agent for unix-process:9445:650488 (system bus name :1.129, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)

------------------------------

Cheers,

Awtul
--------
-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), LANGUAGE=es_ES:es (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages policykit-1 depends on:
ii  dbus                   1.12.10-1
ii  libc6                  2.27-8
ii  libglib2.0-0           2.58.1-2
ii  libpam-systemd         239-11
ii  libpam0g               1.1.8-3.8
ii  libpolkit-agent-1-0    0.105-21
ii  libpolkit-backend-1-0  0.105-21
ii  libpolkit-gobject-1-0  0.105-21

policykit-1 recommends no packages.

policykit-1 suggests no packages.

-- no debconf information



More information about the Pkg-utopia-maintainers mailing list