You are not logged in.

#1 2015-04-22 20:53:07

fhahn
Member
Registered: 2013-12-07
Posts: 3

Firefox annot connect to the DBus Session bus

Hi,

my Firefox cannot connect to the DBus Session bus, so I tried setting
DBUS_SESSION_BUS_ADDRESS. A DBus daemon with the --session
argument is running:

/usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session

There also exists
.dbus/session-bus/f44372cc64864dda961f15de90952ea9-0 which
contains

DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-jsuljCyYbF,guid=c9a945da16dbd8be35a338b455380654
DBUS_SESSION_BUS_PID=456
DBUS_SESSION_BUS_WINDOWID=6291457

But the problem is, the file /tmp/dbus-jsuljCyYbF does not
exist! Also when I start a session daemon manually, the file mentioned
in DBUS_SESSION_BUS_ADDRESS does not exists.

Strangely, when I view the DBus information using d-feet, it sees both
System and Session bus.

Any ideas what the problem could be?

Offline

#2 2015-04-23 20:09:24

mardiros
Member
Registered: 2014-10-30
Posts: 3

Re: Firefox annot connect to the DBus Session bus

As far as what I read, this is "normal"

You can try this:

rm ~/.dbus/session-bus/*

reboot

Offline

#3 2015-04-27 19:42:41

fhahn
Member
Registered: 2013-12-07
Posts: 3

Re: Firefox annot connect to the DBus Session bus

I already tried this, but then ~/.dbus/session-bus is created again, with similar useless variables. It is possible to access the dbus session using Gnome's GIO, but some applications still rely on the DBUS_SESSION_BUS_ADDRESS variable.

Offline

Board footer

Powered by FluxBB