Run virt-manager 4.0.0 on ubuntu 20.04

Valerio Pachera sirio81 at gmail.com
Mon Jun 27 15:23:05 UTC 2022


Hi, I wish to run the latest virt-manager version on my ubunut 20.04.
I checked all the requirements in INSTALL.md and they are all met.

I remove virt-manager 2.2.1 by apt remove virt-manager.
I run then setup.py install and got no error.

which virt-manager
/usr/bin/virt-manager

virt-manager --version
4.0.0

If I run virt-manager on the konsole as normal user, nothing happnes, not
even a message.
The same if I run using
sudo virt-manager

If I run it as root at least I get

virt-manager
root at dell-3541:~# Unable to init server: Could not connect: Connection
refused
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused

(virt-manager:82733): Gtk-WARNING **: 17:20:40.074: cannot open display:

I move the setup folder in /opt/virt-manager.
If i run
/opt/virt-manager/virt-manager
the windows opens up correctly.

Why is /usr/bin/virt-manager not working?
(No processes found by ps aux).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20220627/91bf53c9/attachment.htm>


More information about the virt-tools-list mailing list