GNU bug report logs -
#48538
D-Bus services not working on foreign distributions/non-user profiles
Previous Next
Full log
Message #8 received at 48538 <at> debbugs.gnu.org (full text, mbox):
This can be verified on a system where the jami-daemon (libring) has not
yet been installed (commonly via propagation from one of the jami
clients):
$ guix environment --ad-hoc jami-gnome -- jami-gnome
Attempt to run it:
$ jami-gnome
It should fail with the following message: "Could not rec-connect to the
Jami daemon (dring). Jami will now quit."
as the currently running dbus session doesn't know about
the newly installed D-Bus service, as it only look under a few
hard-coded places.
For this particular instance, a workaround is to run jami via the
dbus-run-session utility, which launches the client in an ad-hoc d-bus
session which knows about the dring D-Bus service (through the
XDG_DATA_DIRS variable set by glib's search path).
$ guix environment --pure --ad-hoc jami-gnome dbus glib \
-- dbus-run-session jami-gnome
The glib package is added for its XDG_DATA_DIRS search path. It works
because the client doesn't really care about being able to talk to
anything else but its daemon over D-Bus.
This bug report was last modified 3 years and 219 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.