<div dir="ltr"><br><br><div class="gmail_quote">On Mon, Sep 15, 2008 at 1:35 AM, KHOA NGUYEN <span dir="ltr"><<a href="mailto:qa_tridang@hotmail.com" target="_blank">qa_tridang@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
Hi,<br>
<br>
I'd like to know if it is a heavy load (for example, to modify application code, ...) to make my application work in DBus / TCP.<br>
I wrote it in API-Low-Level Dbus (C language). It works well at present in a machine, but not in the multi-host environment.<br>
Have you an idea of this ?<br>
<br>
Best regards<br>
<br>
VyDaMan<br><br><br><br>
<hr>
<br>
Date: Sun, 14 Sep 2008 19:22:00 -0700<br>From: <a href="mailto:g.p.washburn@gmail.com" target="_blank">g.p.washburn@gmail.com</a><br>To: <a href="mailto:qa_tridang@hotmail.com" target="_blank">qa_tridang@hotmail.com</a>; <a href="mailto:dbus@lists.freedesktop.org" target="_blank">dbus@lists.freedesktop.org</a><div>
<br>Subject: Re: DBus in a local network<br><br><br>
</div><div><div></div><div><div>If you are using the reference implementation of DBus for a dbus-daemon you also need to patch the daemon to permit anonymous connections.<br><br>There was a patch posted a little while back on this list. If you dig around in the archives you'll find it.<br>
I don't have the source code with me at the moment otherwise I'd post it.<br><br>It works great for low-bandwidth API based RPC over the network. Security considerations aside of course.<br><br>G.P.<br><br>
<div>On Sun, Sep 14, 2008 at 4:24 PM, Avery Pennarun <span dir="ltr"><<a href="mailto:apenwarr@gmail.com" target="_blank">apenwarr@gmail.com</a>></span> wrote:<br>
<blockquote style="padding-left: 1ex;">
<div>On Sun, Sep 14, 2008 at 7:03 PM, KHOA NGUYEN <<a href="mailto:qa_tridang@hotmail.com" target="_blank">qa_tridang@hotmail.com</a>> wrote:<br>> I do not find any documentation ... about this interface Dbus-daemon / tcp<br>
> socket.<br>> Do you know where I can find some doc. / sample codes to do it ?<br>> Best regards.<br><br></div>Yeah, the documentation isn't obvious. Look in "man dbus-daemon" for<br>the <listen> section. More specifically, take your<br>
/etc/dbus-1/whatever.conf and change the <listen> line from something<br>like this:<br><br> <listen>unix:tmpdir=/tmp</listen><br><br>to something like this:<br><br> <listen>tcp:port=1234</listen><br>
<br>Apparently you can have more than one <listen> section and it'll<br>listen on all of them, but I've never tried it.<br>
<div>
<div><br>Have fun,<br><br>Avery<br>_______________________________________________<br>dbus mailing list<br><a href="mailto:dbus@lists.freedesktop.org" target="_blank">dbus@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/dbus" target="_blank">http://lists.freedesktop.org/mailman/listinfo/dbus</a><br>
</div></div></blockquote></div><br></div></div></div></div></blockquote><div> <br><br>Try turning on the VERBOSE mode output for the daemon to get diagnostic output.<br>Just set the environment variable when launching your daemon.<br>
<br>Next you may find that a search through the list archives for a conversation with the subject:<br> "Issues while using DBUS over TCP" <br> ( Oh hell here's the dam link: <a href="http://lists.freedesktop.org/archives/dbus/2008-August/010205.html">http://lists.freedesktop.org/archives/dbus/2008-August/010205.html</a> )<br>
to be very helpful on setting up for a dbus system via TCP across a network.<br><br>G.P.<br><br><br></div></div><br></div>