virt-manager: "nc: unix connect failed"
by Emile `iMil' Heitor - 2014-08-11
I came across an annoying behaviour while trying to connect to a remote KVM hypervisor from a FreeBSD GUI. virt-manager
failed to connect to the server and showed the following error message:
In short, virt-manager
tries to access to /usr/local/var/run/libvirt/libvirt-sock
because it is compiled with a /usr/local
PREFIX
on FreeBSD. Of course they didn’t plan anything on a plain text configuration file. I figured out this has to be configured in GConf
, for example using gconf-editor
, simply replace:
with:
Other parameters for remote URIs can be found at this address.