dbus-发送到远程机器 [英] dbus-send to remote machine
本文介绍了dbus-发送到远程机器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用dbus-send将dbus消息发送到另一台机器dbus守护程序的语法是什么?我看到目标地址支持TCP / IP,但找不到有关如何实际指定地址的任何文档。
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.
推荐答案
使用环境变量覆盖会话总线地址:
Override the session bus address using the environment variable:
DBUS_SESSION_BUS_ADDRESS = tcp:host = server.example.org,port = 77777 dbus发送...
请注意,默认情况下运行的总线不侦听TCP。为此,您必须运行自己的总线实例。
Note that the buses running by default do not listen on TCP. You have to run your own bus instance for that.
这篇关于dbus-发送到远程机器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文