Session bus not starting

Havoc Pennington hp at pobox.com
Tue Jun 3 21:55:38 PDT 2008


Hi,

No clue on OS X -

On Tue, Jun 3, 2008 at 11:54 PM, morecowbell <hoteljorba at gmail.com> wrote:
> 4) i'm looking for preferably recent resources to connect to dbus across the
> wire (tcp)

There is nothing hard about the mechanics of this; see "man
dbus-daemon". If you want the daemon to listen on tcp, add a <listen>
line as in the example in the man page. If you want to connect to it,
specify the address it's listening on. If you're coding your own
networked app instead of using a bus daemon, listen on tcp with
dbus_server_listen() and connect with dbus_connection_open().

Here's the problem: the policy. How do you want to authenticate? (The
bus only supports cookie files in a homedir shared between both hosts,
though the dbus library also supports "anonymous" if you're writing a
custom server.) How do you want your client to find out about the bus?
If you're just using a normal session bus and clients expecting same,
will they break if you don't share a homedir between everything on the
bus?

So, the question is why and how you want to use tcp, not how to connect via tcp.

Havoc


More information about the dbus mailing list