alban / dbus-daemon-proxy

dbus-daemon-proxy
7 stars 7 forks source link

Programs using gdbus APIs have issue with remote connection #2

Open GiridharKC opened 11 months ago

GiridharKC commented 11 months ago

Hi Alban,

Thanks for this great code.

I am trying to use it, it works well with dbus remote services code used -> https://github.com/sgh/dbus-examples/blob/master/dbus-ping-listen.c

But with program written with gdbus APIs , I am seeing some issues code used -> https://github.com/fbuihuu/samples-dbus/blob/master/dbus-client.c

With gdbus programs, I tried to run a server and client from different machines but it failed.

When i tried to run these on the same machine it worked.

remote connection of my server machine exported on client machine is

DBUS_SESSION_BUS_ADDRESS=tcp:host=192.168.0.168, bind=0.0.0.0,port=55556,family=ipv4

from remote machine connection is getting established, but somehow filter_cb is not getting called in dbus-daemon-proxy.

Could you please help me out here to figure out the problem? Your suggestion are highly appreciated.

Thanks