Session bus not creating socket

Chris Picton chrisp at tangent.co.za
Mon Jan 31 03:57:27 PST 2005


Thanks for the reply.  I was getting confused where I shouldn't have
been.

I think my problem was that I was not exporting the variables which came
out of dbus-launch

exporting them, and it seems to work fine now.

Chris

On Mon, 2005-01-31 at 12:48 +0100, Ikke wrote:
> > 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
> 
-- 
---------------------+----------------------------------------------------
        Chris Picton | PGP Key ID: 9D28A988 (wwwkeys.pgp.net)
 Solutions Developer | PGP Key Fingerprint:
     Tangent Systems | 2B46 29EA D530 79EC D9EA 3ED0 229D 6DD6 9D28 A988
        011 447 8096 | [ $[$RANDOM%6] = 0 ] && rm -rf / || echo "You live"
chrisp at tangent.co.za | http://www.tangent.co.za/keys/chrisp.asc
---------------------+----------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/dbus/attachments/20050131/fe74b207/attachment.pgp


More information about the dbus mailing list