Created
February 12, 2022 08:01
-
-
Save klo2k/fe794f107c11292ba47b4d052c547983 to your computer and use it in GitHub Desktop.
Install virt-manager in Windows 11 WSL (qemu, Windows Subsystem for Linux)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Inside WSL... | |
# Install virt-manager | |
sudo apt install -y virt-manager | |
# Add youself to kvm and libvirt group | |
sudo usermod --append --groups kvm,libvirt "${USER}" | |
# Fix-up permission to avoid "Could not access KVM kernel module: Permission denied" error | |
sudo chown root:kvm /dev/kvm | |
sudo chmod 660 /dev/kvm | |
# Start required services | |
sudo libvirtd & | |
sudo virtlogd & | |
# Launch virt-manager | |
virt-manager & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment