Bug#583973: problem between evince and dbus

Oleg Broytman phd at phdru.name
Wed Apr 27 16:52:55 UTC 2011


On Wed, Apr 27, 2011 at 08:28:25AM +0200, Josselin Mouette wrote:
> Le mardi 26 avril 2011 ?? 12:30 +0400, Oleg Broytman a ??crit : 
> > $ dbus-launch --exit-with-session evince file.pdf
> 
> This should be already part of your session. Did you disable it
> in /etc/X11/Xsession.options?

   No. This is my /etc/X11/Xsession.options:

allow-failsafe
allow-user-resources
allow-user-xsession
use-ssh-agent
use-session-dbus

   DBUS is up and running:

$ ps aux | grep -Fi dbus
103       2718  0.0  0.0   2700   940 ?        Ss   Apr26   0:00 /usr/bin/dbus-daemon --system
phd       4935  0.0  0.0   3288   476 tty2     S    Apr26   0:00 dbus-launch --autolaunch 3982994b745560194fce2e0046653e6e
--binary-syntax --close-stderr
phd       4936  0.0  0.0   2660   688 ?        Ss   Apr26   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session

   Other programs connect to each other via DBUS without problems - I
use DBUS myself with python-dbus interface.

   There is the file .dbus/session-bus/3982994b745560194fce2e0046653e6e-0:

DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-9tO1MA3MiD,guid=468ba8d1d90115ee65e53cd10000024a
DBUS_SESSION_BUS_PID=4936
DBUS_SESSION_BUS_WINDOWID=35651585

   Sourcing the file and exporting variables before launching evince
does help:

$ . .dbus/session-bus/3982994b745560194fce2e0046653e6e-0
$ export DBUS_SESSION_BUS_ADDRESS
$ export DBUS_SESSION_BUS_PID
$ export DBUS_SESSION_BUS_WINDOWID

> > With this evince properly stores and restores settings. IWBN if evince
> > connects to session bus itself. Is it a problem in my configuration
> > (Debian 6.0 squeeze, no DE, Xorg+fwvm2, evince-gtk), in squeeze or in
> > upstream evince?
> 
> This should be enough: 
> > Versions of packages evince-gtk recommends:
> > ii  dbus-x11                      1.2.24-4   simple interprocess messaging syst

   It's installed:

$ dpkg -l dbus-x11
ii  dbus-x11       1.2.24-4

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            phd at phdru.name
           Programmers don't die, they just GOSUB without RETURN.





More information about the pkg-gnome-maintainers mailing list