Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 dbus-send 向另一台机器 dbus 守护进程发送 dbus 消息的语法是什么?我看到目标地址有 TCP/IP 支持,但我找不到任何关于如何实际指定地址的文档。
使用环境变量覆盖会话总线地址:
DBUS_SESSION_BUS_ADDRESS=tcp:host=server.example.org,port=77777 dbus-send ...
请注意,默认情况下运行的总线不侦听 TCP。您必须为此运行自己的总线实例。