Hello list

My ~/.xsession-errors begins with

startkde: Starting up...
dbus-update-activation-environment: warning: error sending to systemd: org.freedesktop.DBus.Error.InvalidArgs: Invalid environment assignments

This is on Fedora 24 with

dbus-1.11.4-1.fc24.x86_64
plasma-workspace-5.7.5-2.fc24.x86_64
qt5-qtbase-5.6.1-3.fc24.x86_64

It seems like DBus Activation is not working for some apps -- see the related discussion here:

[1] https://blog.martin-graesslin.com/blog/2014/06/dbus-activation-for-apps-in-prefix/
DBus Activation for apps in prefix

[2] https://mail.kde.org/pipermail/plasma-devel/2015-October/045349.html
Review Request 125768: Use dbus-update-activation-environment

[3] https://github.com/NixOS/nixpkgs/issues/17943
dbus-update-activation-environment is broken

As suggested by [3], I can reproduce the above error by running the following command:

$ dbus-update-activation-environment --systemd --all
dbus-update-activation-environment: warning: error sending to systemd: org.freedesktop.DBus.Error.InvalidArgs: Invalid environment assignments


[3] also suggests a patch which seems to fix the issue for KDE5 / NixOS.


Does anyone else experience this error? Which are the consequences?

B.t.w., I don't get the usual KDE debug messages in ~/.xsession-errors, but I'm not sure if this is related in any way to the DBus Activation problem.

Thanks

Fredy Neeser
IBM Zurich Research Laboratory
CH-8803 Rueschlikon, Switzerland