Review Request 125768: Use dbus-update-activation-environment

Dāvis Mosāns davispuh at gmail.com
Fri Oct 23 22:03:51 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125768/#review87321
-----------------------------------------------------------


This is really needed. Just today I was looking into why kglobalaccel5/kscreen_backend/kded5 were crashing with "QXcbConnection: Could not connect to display".

It was because DISPLAY env wasn't set with dbus activation and I was starting Plasma on different DISPLAY than :0

- Dāvis Mosāns


On Oct. 23, 2015, 11:31 p.m., David Edmundson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/125768/
> -----------------------------------------------------------
> 
> (Updated Oct. 23, 2015, 11:31 p.m.)
> 
> 
> Review request for Plasma and Martin Gräßlin.
> 
> 
> Repository: plasma-workspace
> 
> 
> Description
> -------
> 
> The difference to ksyncdbusenv is that d-u-a-e can update systemd's
> environment, too. This is only important if a userspace (dbus-daemon) bus
> is used and service files make use of SystemdService to have dbus-daemon
> tell systemd to start the service.
> 
> In the kernel bus (kdbus) case, systemd's environment gets updated when
> org.freedesktop.dbus.UpdateActivationEnvironment is called.
> 
> Author: Jan Alexander Steffens
> Patch I found Arch are applying since upgrading to use systemd for dbus activation.
> 
> Importing with approval from Jan
> 
> 
> Diffs
> -----
> 
>   startkde/startkde.cmake 9b8d1d7c2c0c9c0c3e7c8297f620cc7a2e04933d 
>   startkde/startplasmacompositor.cmake d8ed68e58bb30bb69197f383a2e0eb9136d94b94 
> 
> Diff: https://git.reviewboard.kde.org/r/125768/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> David Edmundson
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20151023/6e8edc9f/attachment-0001.html>


More information about the Plasma-devel mailing list