sflees at suse.de
Tue Apr 11 01:12:15 UTC 2017
On 04/11/2017 01:14 AM, Thiago Macieira wrote:
> Em segunda-feira, 10 de abril de 2017, às 04:37:18 PDT, Simon McVittie
>>> $ echo $DBUS_SESSION_BUS_ADDRESS
>>> $ emacs
>>> Activating service name='org.gnome.GConf'
>>> Successfully activated service 'org.gnome.GConf'
>> So the issue here seems to be that the emacs launcher is second-guessing
>> how dbus-launch works:
>> ?expand=1 and preferring to use dbus-run-session if both dbus-launch and
>> dbus-run-session are available.
> My guess is that it does that after getting screen-inherited invalid
> DBUS_SESSION_BUS_ADDRESS variables.
>>> It seems the problem is that the session bus launched by whatever the
>>> distro uses did not fill in ~/.dbus/session-bus/$MACHINEID-0.
>> Correct, the systemd user unit does not fill in ~/.dbus/session-bus.
>> I would really prefer not to keep that mechanism forever - we have already
>> been asked to stop putting this "autolaunch crap" in the home directory
>> <https://bugs.freedesktop.org/show_bug.cgi?id=35887>. I had hoped that
>> the user-session service (which is already opt-in, so openSUSE's dbus
>> maintainer should hopefully have evaluated its impact before opting in)
>> was an opportunity to draw a line and get away from those historical
> The file is the only way to get session bus information from regular scripts. I
> use them myself in an NM-launched script that changes the proxy information
> when connecting to different networks.
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-1000.slice - User Slice of simon
Loaded: loaded (/run/systemd/transient/user-1000.slice; transient;
vendor preset: disabled)
Active: active since Tue 2017-04-11 10:07:21 ACST; 24min ago
Tasks: 85 (limit: 10813)
│ └─2625 /usr/bin/pulseaudio --start --log-target=syslog
│ ├─15052 lightdm --session-child 13 20
│ ├─15077 /usr/bin/gnome-keyring-daemon --daemonize --login
│ ├─15079 /usr/bin/openbox --startup
│ └─16796 systemctl status user-1000.slice
└─user at 1000.service
│ ├─6358 /usr/lib/at-spi2/at-spi-bus-launcher
│ └─6363 /bin/dbus-daemon
│ ├─2117 /bin/dbus-daemon --session --address=systemd:
--nofork --nopidfile --systemd-activation
│ ├─6481 /usr/lib/goa-daemon
│ └─6491 /usr/lib/goa-identity-service
├─2095 /usr/lib/systemd/systemd --user
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...
Size: 488 bytes
Desc: OpenPGP digital signature
More information about the dbus