something like a dbus proxy

Alban Crequy alban.crequy at collabora.co.uk
Tue Jul 20 07:07:56 PDT 2010


Changing <listen> in the configuration is not enough, you will also need
<allow_anonymous/> and some others changes too:
http://lists.freedesktop.org/archives/dbus/2008-November/010642.html
I'm not sure it really works, I didn't test it...

An alternative without changing your D-Bus configuration is to use a
D-Bus proxy:
http://git.collabora.co.uk/?p=user/alban/dbus-daemon-proxy;a=summary

It does not bridge two dbus-daemon but allow your D-Bus clients on your
i386 PC to connect to the D-Bus session on your arm-based target (via
the proxy running on your arm-based target).

Is it for debugging purposes or do you want to develop an application
on top of this?

re: to your previous thread: with dbus-daemon-proxy,
GetConnectionUnixProcessID() will return the PID of the proxy and not
the real client.

Cheers,
Alban


Le Tue, 20 Jul 2010 14:47:09 +0200,
"Sven" <sven.2009 at gmx.de> a écrit :

> I just figured out the configuration <listen> for the sesion and
> DBUS_SESSION_BUS_ADDRESS for the client. That would be great. But i
> can't get it working. Some auth problem. I already found the
> suggestion to run server and client with same uid, but that didn't
> help me out.
> 
> -------- Original-Nachricht --------
> > Datum: Tue, 20 Jul 2010 09:19:49 +0200
> > Von: Thomas Themel <thomas at themel.com>
> > An: dbus <dbus at lists.freedesktop.org>
> > Betreff: Re: something like a dbus proxy
> 
> > Hi,
> > Excerpts from Sven's message of Tue Jul 20 08:22:27 +0200 2010:
> > > Is it possible to bridge two dbus-daemon's via TCP/IP connection?
> > 
> > You can add a TCP listener to your DBus daemon on one side
> > and then connect your app to the remote DBus. That doesn't 
> > bridge any DBuses, but might be enough for your scenario? 
> > 
> > ciao,
> > -- 
> > [*Thomas  Themel*]  * Erwin Burgstaller <ber at fastrun.at>:
> > [extended contact]  > Eine DTD sagt mehr als 1000 Worte.
> > [info provided in]   Eine Frau auch, so what? ;)
> > [*message header*]      - Alexander Griesser in at.linux
> > _______________________________________________
> > dbus mailing list
> > dbus at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/dbus
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus


More information about the dbus mailing list