dbus-monitor is useful as a diagnostic tool for debugging DBUS clients and servers. DBUS allows busses to be created other than the session and system bus, but dbus-monitor does not have any way to monitor these alternate busses.
Created attachment 1799 [details] [review] patch to add --address ADDRESS command-line option to dbus-monitor to connect to an arbitrary bus
Created attachment 1804 [details] [review] second patch; modifies dbus-send in the same way
Well, if we're going to extend it this way we should probably support the non-bus (i.e. peer-to-peer) too. So in that case you wouldn't call dbus_bus_register.
Updated to master and pushed. commit e4b271e2425a36884b5e3e70e6a32d440b41d145 Author: Daniel Reed <djr@redhat.com> Date: Mon Jul 13 14:06:26 2009 -0400 Bug 2432 - Support --address option for dbus-monitor Signed-off-by: Colin Walters <walters@verbum.org>
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.