LXDE GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed:

I have had the above error numerous times when starting LXDE and in the past have always managed to resolve it, but, for some reason I'm unable to do so this time, an would welcome any suggestions as to where to look.

I have a very minimal installation of 14.0-R on a ThinkPad X61. I do not have this error on other installations on the same machine.

AFAICT the environment in which LXDE runs consists of installed pkgs ( pkg prime-list), /etc/rc.conf, ~/.xinitrc, and
/usr/local/etc/xdg/lxsession/LXDE/autostart. I can't think of anything else.

pkg prime-list:-
Code:
pkg
drm-kmod
xorg
lxde-meta
/etc/rc.conf:-
Code:
hostname="X61"
ifconfig_em0="DHCP"
sshd_enable="YES"
nfs_server_enable="YES"
sendmail_enable="NONE"
kld_list="i915kms"
dbus_enable="YES"
moused_enable="YES"
~/.xinitrc:-
Code:
xrdb  ~/.Xdefaults
ck-launch-session dbus-launch --exit-with-session startlxde
/usr/local/etc/xdg/lxsession/LXDE/autostart:-
Code:
@lxpanel --profile LXDE
@pcmanfm --desktop --profile LXDE
@xscreensaver -no-splash
The error I get when LXDE starts is:-
Code:
GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed:
Failed to execute program org.freedesktop.ConsoleKit:
Permission denied

Can someone explain what this error exactly means, ie permission to what?

It appears that the error is entirely cosmetic in that I run various programs, albeit icons are missing and there is no LXDE wallpaper, although I would prefer to get rid of the error.
 
Well, well, well.... found something...


Here's a comparison of /usr/local/libexec/dbus-daemon-launch-helper on two systems:-

-rwsr-x--- 1 root messagebus 52920 Apr 2 2023 dbus-daemon-launch-helper

-rwsr-x--- 1 root wheel 53160 Nov 12 02:36 dbus-daemon-launch-helper

The first is from 13.2-R, the other is from 14.0-R.

Not sure what installs this file... What sets the permissions/ownership?
 
Not sure what installs this file... What sets the permissions/ownership?
pkg which /usr/local/libexec/dbus-daemon-launch-helper
Code:
/usr/local/libexec/dbus-daemon-launch-helper was installed by package dbus-1.14.10_2,1

USERS and GROUPS were added in 2009.
devel/dbus/Makefile
Code:
 author   Florent Thoumie <flz@FreeBSD.org>   2009-09-06 21:18:50 +0000
committer Florent Thoumie <flz@FreeBSD.org>   2009-09-06 21:18:50 +0000

diff --git a/devel/dbus/Makefile b/devel/dbus/Makefile
index 6b9dffbe4eb5..39c8a33cf3f1 100644
--- a/devel/dbus/Makefile
+++ b/devel/dbus/Makefile

+USERS= messagebus
+GROUPS= messagebus
 
pkg which /usr/local/libexec/dbus-daemon-launch-helper
Code:
/usr/local/libexec/dbus-daemon-launch-helper was installed by package dbus-1.14.10_2,1
I have 1.14.6,1 on my 13.2 system and
1.14.10,1 on my 14.0 system.

How can I tell what installs it? It must have been xorg or lxde-meta....

There is no mention of changing attributes for this file in the FreeBSD LXDE Wiki.
 
Looks like I won't easily be able to get to the bottom of this without re-installing the system...

How can I tell if it is devel/dbus that set different attributes of /usr/local/libexec/dbus-daemon-launch-helper depending on FreeBSD 13 or 14?
 
After removing all my pkgs and installing them individually, I've found that devel/dbus adds the messagebus user and group.

What is this supposed to do? And why does this program no longer work?
 
Back
Top