dbus-send to remote machine

别来无恙 提交于 2019-12-08 02:43:33

问题


What's the syntax for sending a dbus message to another machines dbus daemon using dbus-send? I see there's TCP/IP support for the destination address, but I can't find any docs on how to actually specify the address.


回答1:


Override the session bus address using the environment variable:

DBUS_SESSION_BUS_ADDRESS=tcp:host=server.example.org,port=77777 dbus-send ...

Note that the buses running by default do not listen on TCP. You have to run your own bus instance for that.



来源:https://stackoverflow.com/questions/3944458/dbus-send-to-remote-machine

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!