From Fedora Project Wiki


This test case ensures the proper installation and basic functionality of the dbus interprocess communication mechanism.


  1. Install the dbus and dbus-devel packages: sudo dnf install dbus dbus-devel.
  2. Ensure the D-Bus daemon is running: systemctl status dbus.
  3. Prepare a basic script or program to test the D-Bus functionalities.

How to test

  1. List all the D-Bus services currently running using: dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.ListNames.
  2. Use the dbus-monitor tool to monitor D-Bus messages on the system bus or session bus.

Expected Results

  1. The list command should display all active D-Bus services.
  2. dbus-monitor should show live D-Bus messages as they occur.
  3. No errors or crashes should occur during the process.


For advanced testing:

  1. Test sending and receiving custom messages using D-Bus.
  2. Verify the proper functioning of D-Bus activation where services are started on-demand.
  3. Examine the behavior of D-Bus under high load or with large message payloads.