dbus - ARM target - ERROR: Couldn't connect to session bus

Thiago Macieira thiago at kde.org
Sat Feb 16 00:08:53 PST 2008


Colin Walters wrote:
>I've always found DBUS_VERBOSE logging to not be very useful; it's
>more designed for someone hacking on DBus itself rather than someone
>trying to use it.
>
>Can you try using "strace -s1000 dbus-daemon ..." to get the actual
>data it's sending?

strace -s2048 -e read,writev

D-Bus always reads in chunks of 2048 bytes and it uses writev to send. 
With that, you're eliminating the rest of the clutter. 

You may want to add "accept,close" if you're trying to debug connection 
problems.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- 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/20080216/1ba36dec/attachment.pgp 


More information about the dbus mailing list