Does dbus required x11? dbus-launch query

Thiago Macieira thiago at kde.org
Thu Sep 10 04:09:03 PDT 2009


Em Quinta-feira 10. Setembro 2009, às 09.12.06, Nirav Rabara escreveu:
> Thanks Thiago,
> 
> Then why my qt dbus example code(listnames, pingpong, car&controller,
> complexpingpong, dbus-chat) are failed even though dbus session bus is
> running.
> 
> Its show me fail to connect to session bus,
> Try run eval 'dbus-launch --auto-syntax'
> 
> Am I made any mistake in qt cross compilation with dbus???

This is the code:

        fprintf(stderr, "Cannot connect to the D-Bus session bus.\n"
                "To start it, run:\n"
                "\teval `dbus-launch --auto-syntax`\n");

It's not telling you to run
	eval 'dbus-launch --auto-syntax'

It's telling you to run:
	eval `dbus-launch --auto-syntax`

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

Qt Developer Days 2009 | Registration Now Open!
Munich, Germany: Oct 12 - 14     San Francisco, California: Nov 2 - 4
      http://qt.nokia.com/qtdevdays2009
-------------- 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/20090910/ae80fcd1/attachment.pgp 


More information about the dbus mailing list