shensel
25th March 2009, 10:06
Hi all,
well I got my DBus applications running on Windows and Linux :)
Now I want to use the DBus functionality across an intranet.
I tried and configured and read and searched and tried again.... Up to now I still dont know if this is possible when using QtDBus and which settings to use.
::Scanario::
Imagine some clients and one server. I can configure them all as I want to with dbus-daemon or not, firewalls off. The clients are demanding services and data by DBus from the server.
The point is simple, I got a high performance multi-application scenario with powerfuel algorithms but not a lot of data flow. These algos need a lot of CPU power, so I can not start them all locally on the linux embedded system. Some apps I have to start on more powerfuel machines. The software dont need to know if it is started locally or on other systems if I could use DBus. If processor performance grows I just could start the apps all on embedded side without recompiling :)
::Tests::
My tests did'nt bring up any connection by configuring:
- dbus env.variables
- session.conf
- system.conf
::#1 thought::
I thought about setting the session.conf to use listen for services on a specific IP/DNS (just replace localhost) but I did not succeed. Will I need a dbus-daemon on client side or may be it is enough to set the dbus environment variables to look for a remote dbus-daemon?
::#2 thought::
I have to changed something inside the QtDBus settings and recompile the QtDBus libs
::#3 thought:: :crying:
It is not possible, because DBus TCP usage differs from 'normal' TCP usage. DBus is event based and puts all content into one single big package where standard TCP will split packages into many.
::#4 thought::
Mikael Hallendal wrote he once implemented an dbus-transporter for TCP but he do not know if it is still working...
Thanks for reading my poor english.
I hope you can enlighten me.
Sebastian
well I got my DBus applications running on Windows and Linux :)
Now I want to use the DBus functionality across an intranet.
I tried and configured and read and searched and tried again.... Up to now I still dont know if this is possible when using QtDBus and which settings to use.
::Scanario::
Imagine some clients and one server. I can configure them all as I want to with dbus-daemon or not, firewalls off. The clients are demanding services and data by DBus from the server.
The point is simple, I got a high performance multi-application scenario with powerfuel algorithms but not a lot of data flow. These algos need a lot of CPU power, so I can not start them all locally on the linux embedded system. Some apps I have to start on more powerfuel machines. The software dont need to know if it is started locally or on other systems if I could use DBus. If processor performance grows I just could start the apps all on embedded side without recompiling :)
::Tests::
My tests did'nt bring up any connection by configuring:
- dbus env.variables
- session.conf
- system.conf
::#1 thought::
I thought about setting the session.conf to use listen for services on a specific IP/DNS (just replace localhost) but I did not succeed. Will I need a dbus-daemon on client side or may be it is enough to set the dbus environment variables to look for a remote dbus-daemon?
::#2 thought::
I have to changed something inside the QtDBus settings and recompile the QtDBus libs
::#3 thought:: :crying:
It is not possible, because DBus TCP usage differs from 'normal' TCP usage. DBus is event based and puts all content into one single big package where standard TCP will split packages into many.
::#4 thought::
Mikael Hallendal wrote he once implemented an dbus-transporter for TCP but he do not know if it is still working...
Thanks for reading my poor english.
I hope you can enlighten me.
Sebastian