dbus over the network

Lars Hanisch dvb at flensrocker.de
Sat Oct 19 05:22:30 PDT 2013


Hi,

Am 18.10.2013 18:02, schrieb Leonel Florin Selles:
> Hi everyone again:
> 
>  I will be glad if some one can help me on reach the goal of create 2 app that can share info over the network using
> dbus, can you tell how to do this or can anyone point me to the right direction on what I have to get in mind to
> accomplish this.
> 
> until now I have add in the session.conf a <listen> element like this
> 
> <listen>tcp:host=192.168.0.203,port=2234<listen/>

 I think, the tags you're missing are:
  <auth>ANONYMOUS</auth>
  <allow_anonymous/>

 At least I have to use them to get a remote host allowed to connect.
 *Warning! Security break!*

 I don't use the session dbus-daemon, but a new instance of dbus-daemon with an own configuration file with appropiate
limits etc. And I do connect only such services to this third dbus-daemon, I want to expose on my net.

Regards,
Lars.

> 
> that in the server machine. then in the client machine I add this
> 
> export DBUS_SESSION_BUS_ADDRESS="tcp:host=192.168.0.203,port=2234"
> 
> and then I have execute the server app and the client and in the client app I get this error
> 
> terminate called after throwing an instance of 'DBus::Error'
>   what():  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.
> 
> -- 
> 
> 
> -- 
> Este mensaje ha sido analizado por *MailScanner* <http://www.mailscanner.info/>
> en busca de virus y otros contenidos peligrosos,
> y se considera que está limpio.
> 
> 
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
> 



More information about the dbus mailing list