Remote DBus

Alban Crequy alban.crequy at collabora.co.uk
Thu Apr 29 09:34:57 PDT 2010


Le Thu, 29 Apr 2010 17:13:28 +0100,
Ross Burton <ross at burtonini.com> a écrit :

> On Thu, 2010-04-29 at 10:52 -0400, James wrote:
> > My use case is to incorporate this into a real application. To have
> > a backend on one machine, and multiple clients on various different
> > remote machines.
> 
> Personally I'd use something else for RPC over the network, because
> DBus is really designed for the single-machine use-case.

Or just reuse the D-Bus protocol if you like it but not abuse the
session bus. So you don't need to implement complex filtering.

The backend can create a new bus with DBusServer (that's what
telepathy connection managers for D-Bus tubes and dbus-daemon-proxy do
by the way) so it can directly control who can connect. In this case,
the D-Bus messages don't go through dbus-daemon and there is no need for
dbus-daemon-proxy.

Alban


More information about the dbus mailing list