sflees at suse.de
Sat Apr 8 01:58:10 UTC 2017
On 04/08/2017 10:29 AM, Thiago Macieira wrote:
> Em sexta-feira, 7 de abril de 2017, às 04:49:37 PDT, Simon Lees escreveu:
>>> I'm curious why your users don't already have a D-Bus session bus?
>>> In other distributions such as Debian and Fedora, the session bus is
>>> automatically started by general OS integration infrastructure:
>> I am equally curious, I think in this case the user is doing something
>> like using i3m and I have no idea how its been launched, gnome, kde and
>> enlightenment all launch with a systemd user session and seem to be fine.
> We're not.
> $ echo $DBUS_SESSION_BUS_ADDRESS
> $ emacs
> Activating service name='org.gnome.GConf'
> Successfully activated service 'org.gnome.GConf'
>>> This seems like something that OS integrators should be providing, rather
>>> than something individual users should be wrapping around their emacs
>> Yeah I agree, atleast in this case its a emacs launch script shipped by
>> the distro doing the wrapping so the users aren't seeing it on there own.
> It seems the problem is that the session bus launched by whatever the distro
> uses did not fill in ~/.dbus/session-bus/$MACHINEID-0.
> On my system:
> $ cat ~/.dbus/session-bus/`cat /etc/machine-id`-*
> # This file allows processes on the machine with id
> a6201b12a16264429955cb345721054e using
> # display :0 to find the D-Bus session bus with the below address.
> # If the DBUS_SESSION_BUS_ADDRESS environment variable is set, it will
> # be used rather than this file.
> # See "man dbus-launch" for more details.
> $ LC_ALL=C ls -l ~/.dbus/session-bus/
> total 4
> -rw-r--r-- 1 tjmaciei users 422 Feb 9 17:44
> $ ps 60268
> PID TTY STAT TIME COMMAND
> $ xprop -id 4194305
> X Error of failed request: BadWindow (invalid Window parameter)
> Major opcode of failed request: 21 (X_ListProperties)
> Resource id in failed request: 0x400001
> Serial number of failed request: 12
> Current serial number in output stream: 12
> This file is stale. So the launcher failed to create the file as needed.
I'm seeing the same on this openSUSE tumbleweed machine, although my
openSUSE Leap machine is fine, I guess i'm looking into this further
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