Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 793182 - app-emulation/virt-manager[gtk]: please add dbus[X] runtime dependency
Summary: app-emulation/virt-manager[gtk]: please add dbus[X] runtime dependency
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Virtualization Team
Depends on:
Reported: 2021-05-31 09:15 UTC by Nikolay Kichukov
Modified: 2022-03-19 16:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Nikolay Kichukov 2021-05-31 09:15:17 UTC
If you emerge virt-manager on a system that does not run an Xorg server and virt-manager is started via x11 ssh forwarding, you may end up with a configuration where no setting changes can be saved.

It turns out that virt-manager requires dconf to write its configuration changes, however if dbus is not compiled with the X use flag, writing the configuration fails with an error:

failed to commit changes to dconf: Error spawning command line “dbus-launch --autolaunch=<some_id> --binary-syntax --close-stderr"

in ~/.cache/virt-manager/virt-manager.log

app-emulation/virt-manager[gtk] does not have a direct runtime dependency of dbus, however the dependency is inherited from: gnome-base/dconf, which does not seem to ask for X on sys-apps/dbus:


Reproducible: Always

Steps to Reproduce:
1. Compile current stable app-emulation/virt-manager[gtk] on a system where there is no global X use flag
2. Launch virt-manager via an ssh tunnel with X11 forwarding from another system that runs Xorg server
3. Try to add a connection or make any changes via the UI, observe how they are not saved
Actual Results:  
The settings of the application are not saved

Expected Results:  
The settings of the application to be saved
Comment 1 Larry the Git Cow gentoo-dev 2022-03-19 16:50:09 UTC
The bug has been referenced in the following commit(s):

commit b98d19743eda98438052135a21ce490f972c7648
Author:     Matthias Maier <>
AuthorDate: 2022-03-19 16:43:17 +0000
Commit:     Matthias Maier <>
CommitDate: 2022-03-19 16:48:02 +0000

    app-emulation/virt-manager: add 4.0.0
      - version bump to 4.0.0
      - bump to EAPI 8
      - Add a more prominent warning about app-emulation/qemu[usbredir,spice]
    Signed-off-by: Matthias Maier <>

 app-emulation/virt-manager/Manifest                |  1 +
 .../virt-manager/virt-manager-4.0.0.ebuild         | 96 ++++++++++++++++++++++
 2 files changed, 97 insertions(+)