dbus-run-session output.

Simon Lees sflees at suse.de
Wed Apr 12 04:03:22 UTC 2017



On 04/11/2017 08:45 PM, Simon McVittie wrote:
> On Tue, 11 Apr 2017 at 10:42:15 +0930, Simon Lees wrote:
>> I did some testing on a fresh install with openbox presumably with
>> nothing fancy happening, I have no ~/.dbus directory and the output of
>> systemctl status user-1000.slice (trimmed) seems to indicate its running
>> as a systemd service, i'm guessing thats what you were after Simon.
> 
>>            └─user at 1000.service
> ...
>>              ├─dbus.service
>>              │ ├─2117 /bin/dbus-daemon --session --address=systemd:
>> --nofork --nopidfile --systemd-activation
> 
> This is the session dbus-daemon as run in user-bus mode (the equivalent
> of installing dbus-user-session in Debian).
> 
> This is not the upstream default, so a previous dbus maintainer in
> openSUSE must have specifically chosen to use it. When they did that,
> I would have hoped that they'd check the contents of the distribution
> for compatibility with that approach.
> 
> There are basically two ways they could have done this. One is to go
> for the "clean break" approach, like Fedora and Arch Linux did: with
> that approach, the distribution no longer supports installations
> that do not use systemd --user to launch dbus.service, at all. If this
> is the route that you/they have chosen, then the Emacs wrapper script
> should just not do anything special about D-Bus, and rely on having been
> given a correct XDG_RUNTIME_DIR; D-Bus implementations will do the rest.
> 
After extensive testing it seems like for all graphical logins at least
this is working, when I tested a combo of the user in questions Display
Manager and Window Manager it worked for me so I think we have it
covered well, the one place we don't currently start it is for ssh
sessions, which maybe we should especially if people are using x
forwarding.

-- 

Simon Lees (Simotek)                            http://simotek.net

Emergency Update Team                           keybase.io/simotek
SUSE Linux                           Adelaide Australia, UTC+10:30
GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dbus/attachments/20170412/382b9e47/attachment.sig>


More information about the dbus mailing list