#2224·distrobox

distrobox-host-exec does not work when Flatpak is not installed

Author: sergiomb2Created Sep 20, 2026Updated Sep 20, 2026

distrobox-host-exec does not seem to work if Flatpak is not installed on the host.

When Flatpak is not installed, the org.freedesktop.Flatpak D-Bus service does not exist, and distrobox-host-exec fails silently.

For example:

$ busctl --user introspect org.freedesktop.Flatpak /org/freedesktop/Flatpak/Development

Failed to introspect object /org/freedesktop/Flatpak/Development of service org.freedesktop.Flatpak:
The name org.freedesktop.Flatpak was not provided by any .service

After installing Flatpak on the host, distrobox-host-exec immediately starts working.

In short, distrobox-host-exec appears to depend on the org.freedesktop.Flatpak D-Bus service, but when Flatpak is not installed the failure is silent.

Conclusion

When the user runs distrobox-host-exec and Flatpak is not installed on the host, it should display a clear warning or error message instead of failing silently.

The org.freedesktop.Flatpak D-Bus service is required for distrobox-host-exec to work, so the missing Flatpak installation should be reported to the user.