<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi,</span></font></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I am trying to use dbus over TCP for communication between applications running on two different machines. At the server, I started the dbus-daemon as:</span></font></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><b><font face="Arial" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">dbus-launch –config-file=Session-local.conf</span></font></b><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">. </span></font></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">The confiiguration file <b><span style="FONT-WEIGHT: bold">Session-local.conf </span></b>entries are:</span></font></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><i><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial"><busconfig></span></font></i></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><i><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial"><type>session</type></span></font></i></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><i><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial"><listen>tcp:host=<a href="http://10.154.115.209">10.154.115.209</a>,port=6666</listen></span></font></i></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><i><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial"><servicedir>/usr/lib/dbus-1.0/services</servicedir></span></font></i></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><i><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial"><policy context="default"></span></font></i></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><i><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial"><!-- Allow everything to be sent --></span></font></i></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><i><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial"><allow send_destination="*"/></span></font></i></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><i><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial"><!-- Allow everything to be received --></span></font></i></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><i><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial"><allow eavesdrop="true"/></span></font></i></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><i><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial"><!-- Allow anyone to own anything --></span></font></i></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><i><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial"><allow own="*"/></span></font></i></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><i><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial"><!-- Allow any user to connect --></span></font></i></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><i><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial"><allow user="*"/></span></font></i></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><i><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial"></policy></span></font></i></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><i><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial"><!-- This is included last so local configuration can override what's </span></font></i></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><i><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial">in this standard file --></span></font></i></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><i><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial"><!-- include ignore_missing="yes">session-local.conf</include--></span></font></i></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><i><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial"></busconfig></span></font></i></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">The IP address specified in Session-local.conf<b><span style="FONT-WEIGHT: bold"> </span></b>(<a href="http://10.154.115.209">10.154.115.209</a>), is the address of the same machine where I have started instance of dbus-daemon. </span></font></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Then I set the environment variable DBUS_SESSION_BUS_ADDRESS as: <b><span style="FONT-WEIGHT: bold">DBUS_SESSION_BUS_ADDRESS=tcp:host=<a href="http://10.154.115.209">10.154.115.209</a>,port=6666</span></b>. </span></font></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I set the same value for DBUS_SESSION_BUS_ADDRESS in the other machine and tried to connect to the dbus. </span></font></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">But I am getting an error in dbus_bus_get call.</span></font></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">The error is </span></font><b><span style="FONT-WEIGHT: bold">Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken</span></b><font color="navy"><span style="COLOR: navy">.</span></font></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I</span></font><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">t works fine if I run server and client on the same m/c.</span></font></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Can anyone suggest a solution to this problem?</span></font></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks & Regards,</span></font></p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt"><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Remya </span></font></p>