dbus - remote
Peter Würtz
wuertz at uni-mainz.de
Thu Jan 14 04:40:57 PST 2010
On Thu, 2010-01-14 at 12:48 +0100, Julien Isorce wrote:
> "There are plans to get D-Bus communication working also in situations
> where the two programs are not on the same computer ..."
> So it seems it's not supported yet.
As far as I understand dbus, you are able to connect two applications
peer to peer via tcp without authorization and encryption. But the usage
of a remote bus is unsupported right now.
There is a way to enable the dbus-daemon to accept remote clients via
tcp (no auth, no encryption). Using the patch proposed here
https://bugs.freedesktop.org/show_bug.cgi?id=15393
I was able to connect a bunch of applications distributed over a trusted
local network to a single, known dbus-daemon.
This way, you can have an arbitrary number of stuff like sensor- and
monitor-software across the network using the dbus-concept we all
love ;)
So far, this approach worked flawlessly for me. On the client side,
programming RPC could not be easier with dbus built right into Qt4 or
having python-dbus available on any modern linux distribution.
Unfortunately there seems to be no general interest in this IMO very
powerful use case. One has to patch and build a custom dbus-daemon and
hope that a new dbus version won't break it.
More information about the dbus
mailing list