Error while trying to follow the step: "Importing Whonix ™ VM Templates"

I’m attempting to install Whonix in KVM, I’m using Arch Linux, I followed Installation guide from the Whonix website, but when I get to the “Importing Whonix ™ VM Templates” part i run the command:

sudo virsh -c qemu:///system define Whonix-Gateway*.xml

It give me this error:

error: Failed to define domain from Whonix-Gateway-XFCE-
error: invalid argument: could not get preferred machine for /usr/bin/qemu-system-x86_64 type=kvm

So I’m stuck on this ( I did search for a solution both here on the forums and the web).

And I also want to add, in Arch Linux you have to Install a package called dnsmasq and enable the libvirtd service (sudo systemctl enable libvirtd) in order for some of the other commands before this one to run without error

So doing this fixes your initial problem? Can you update the Arch related instructions on the wiki so those who use it don;t experience this?


Updated the install instructions. Waiting for feedback to document any workarounds.

1 Like


Nowadays this is documented here:

[Imprint] [Privacy Policy] [Cookie Policy] [Terms of Use] [E-Sign Consent] [DMCA] [Contributors] [Investors] [Priority Support] [Professional Support]