<div dir="ltr">Hi Krisztian,<div><br></div><div style>You can connect to a remote bus over TCP. This requires that you configure the bus on your embedded system by adding the following to the configuration file (I chose port 5000):</div>
<div style>cat <<-EOF > /etc/dbus-1/system.d/tcp.conf</div><div style><pre class=""><busconfig>
<listen>tcp:host=localhost,bind=*,port=5000</listen>
</busconfig></pre><pre class="" style>EOF</pre><pre class="" style><br></pre><pre class="" style>and then after rebooting your embedded system, on your desktop you refer to it with the following address:</pre><pre class="" style>
<pre class="">DBUS_SYSTEM_BUS_ADDRESS=<span class="">"tcp:host=<ip address>,port=5000"</span></pre><pre class=""><span class=""><br></span></pre><pre class="" style><span class="">If you want to run dbus-monitor, it'd look like this:</span></pre>
<pre class="" style><span class="">dbus-monitor --address </span><span style="font-family:arial">"tcp:host=<ip address>,port=5000"</span></pre><pre class="" style><span style="font-family:arial"><br></span></pre>
<pre class="" style><span style="font-family:arial">I'm writing off top of my head so you might want to take it as a hint only.</span></pre><pre class="" style><span style="font-family:arial"><br></span></pre><pre class="" style>
<span style="font-family:arial">Hope this helps,</span></pre><pre class="" style><span style="font-family:arial">Kris</span></pre></pre></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/3/14 Krisztian Kocsis <span dir="ltr"><<a href="mailto:krisztian.kocsis@optimaster.eu" target="_blank">krisztian.kocsis@optimaster.eu</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear All!<br>
<br>
Is there any way to connect to the system message bus on an other machine running D-Bus (an embedded which does not have sessions)?<br>
If yes can anybody give me some start points how to get it working?<br>
<br>
Thanks for the help!<br>
<br>
BR,<br>
Krisztian Kocsis<br>
<br>
______________________________<u></u>_________________<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/<u></u>mailman/listinfo/dbus</a><br>
</blockquote></div><br></div>