GDBus error [SOLVED]

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
apiaio
Guru
Guru
Posts: 443
Joined: Thu Dec 04, 2008 1:49 pm

GDBus error [SOLVED]

Post by apiaio »

After last world update lxde startup gives error message

Code: Select all

Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.PolicyKit1: Permission denied
Shutdown or reboot is possible from command line only.

[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]
Last edited by apiaio on Sat Apr 28, 2018 6:23 pm, edited 1 time in total.
apiaio
Guru
Guru
Posts: 443
Joined: Thu Dec 04, 2008 1:49 pm

Post by apiaio »

Up to now not solved. There must be something wrong with polkit. Every polkit command e.g.

Code: Select all

# pkaction
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.PolicyKit1: Permission denied
gives the same error message.
Edit:
This problem I have in profile 17.0. Old installation 13.0 is OK. Both amd64. In the meantime I upgraded world - no change.
apiaio
Guru
Guru
Posts: 443
Joined: Thu Dec 04, 2008 1:49 pm

Post by apiaio »

After endless searching in different linux distros I found the clue in Gentoo forums:
https://forums.gentoo.org/viewtopic-t-1 ... art-0.html

Novazur's problem was different, but solution is the same:
GID of the messagebus in /etc/group and /etc/passwd has to be equal.
User avatar
SimonLitt
n00b
n00b
Posts: 8
Joined: Wed Dec 11, 2013 7:08 pm

Post by SimonLitt »

I had a similar issue.

The permissions of the /usr/libexec/dbus-daemon-launch-helper file were root:scanner.
Changing permissions to root:messagebus solves the issue.
Hu
Administrator
Administrator
Posts: 24380
Joined: Tue Mar 06, 2007 5:38 am

Post by Hu »

SimonLitt: what is the output of grep -n -e scanner -e messagebus /etc/group /etc/passwd?
Post Reply