Session bus not creating socket

Ikke eikke at eikke.com
Mon Jan 31 03:48:14 PST 2005


> Hi
Hey,
> 
> I have installed dbus on gentoo (0.23-r1)
Same thing here.

> When I start the session bus, I get the following:
> 
> chrisp at aleph-null ~ $ dbus-launch
> DBUS_SESSION_BUS_ADDRESS='unix:abstract=/tmp/dbus-YBZcSlNntH'
> DBUS_SESSION_BUS_PID=30675
Looks ok, as long as you eval that stuff.
If you're using GDM, you can start the session bus automagically by
looking at bug 77504 [1]. Should be easy to "port" to other XDM's

> chrisp at aleph-null ~ $ ls -l /tmp/dbus-YBZcSlNntH
> ls: /tmp/dbus-YBZcSlNntH: No such file or directory
Which is normal. There's no file descriptor for the session bus socket
(dont really know how to explain this, I'm no socket guru). Trust me,
it's normal the "file" doesnt exist ;)

> chrisp at aleph-null ~ $ ps auwwx | grep dbus
> 101      30544  0.0  0.2   3580  1480 ?        Ss   11:24
> 0:00 /usr/bin/dbus-daemon-1 --system
> chrisp   30675  0.0  0.2   3464  1196 ?        Ss   11:26   0:00
> dbus-daemon-1 --fork --print-pid 8 --print-address 6 --session
Thats how it should be

> Is the socket /tmp/dbus-YBZcSlNntH meant to exist?
No. Well, the "file" shouldn't exist.

> How would I debug it not being created?
dbus-monitor --session

If that command fails, your session bus is not created. But given the
information you sent, it should be working fine.

> Chris

Ikke
http://www.eikke.com

[1] http://bugs.gentoo.org/show_bug.cgi?id=77504



More information about the dbus mailing list