I think you should not try to interact with org.freedesktop.DBus interface directly, instead you should use QDBusConnectionInterface for that. In your particular case, this would be using https://doc.qt.io/qt-5/qdbusconnectioninterface.html #registeredServiceNames-prop:
const QDBusConnectionInterface *iface = QDBusConnection::sessionBus().interface(); QDBusReply<QStringList> servicesReply = iface->registeredServiceNames(); qDebug() << servicesReply.value(); Any other interface would work fine, org.freedesktop.dbus is blacklisted here: https://code.qt.io/cgit/qt/qtbase.git/tree/src/dbus/qdbusintegrator.cpp?h=5.9#n2448 ** Changed in: qtbase-opensource-src (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1776446 Title: QDBusInterface is able to connect to org.freedesktop.DBus, but its status is invalid To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1776446/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs