The system bus works fine
(dbus-init-bus :system)
returns nil, as it should.
However, connection to the session bus
(dbus-init-bus :session)
raises
(dbus-error "No connection to bus" :session)
qdbus
in the command line works just fine with both buses. It even
works from within eshell, if that is of any concern.
Neither emacs
nor emacs --daemon
connect.
Which version of Emacs are you using? One version (before 2012-05-25) only looks for the DBUS_SESSION_BUS_ADDRESS
environment variable, while a more recent one uses a library function that also looks in ~/.dbus/session-bus
I think.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With