Installing Virt-Manager on Windows 10 is not like any other application method because it is a Linux program and meant to manage Linux running virtual machines. However, don’t forget we have a Windows Subsystem for Linux on Windows 10, thus it is quite possible to run the GUI interface of Virt-Manager on Windows like any other application. Here are the steps to follow…
Virt-Manager is an open-source app that provides a graphical user interface to command line Type 1 hypervisor platforms such as Qemu, KVM, and Xen.
Install Virt-Manager on Windows 10 using WSL
1. Enable WSL – Windows 10 subsystem for Linux
The steps given here are straightforward, however, before following them make sure on your Windows 10, you have WSL enabled and have at least Ubuntu 20.04 or 18.04 LTS version running over it. If you don’t know how to do that then see our tutorial on how to enable WSL and install Ubuntu over it.
2. Download and install MobaXterm
MobaXterm is a free application that provides a wide range of tools and server services to makes the job of developers and administrators a lot easier. In short, it is an enhanced terminal for Windows with an X11 server, tabbed SSH client, network tools, and much more. Here is the link to download the MobaXterm home edition. After downloading, install it like any other normal Windows software.
3. Open MobaXterm and run WSL Linux
As you open this advanced terminal for Windows 10, WSL installed Ubuntu app will show on the left side panel of it. Double click on that to start the WSL session.
2. Install Virt-Manager
Once you have started the WSL on your Windows 10 installed MobaXterm, the next thing is to run the Ubuntu system update command.
sudo apt update
After that in the command line terminal of Linux, simply run the Virt-Manager installation command as we do on any regular Linux distro of Debian.
sudo apt install virt-manager
3. Run Virt-Manager GUI on Windows 10
Everything is ready, we already have our Linux Virtual Machine Manager installed on Windows 10 WSL, it’s time to open its GUI interface. For that run:
Note: Remember the Graphical user interface of applications installed on Linux can only be accessed on MobaXterm, directly on WSL 1, it is not possible because of no X server availability.
4. Connect Remote KVM on Virt- Manager
As we cannot install KVM on the Windows platform, thus obviously the reason for using this Linux Virtual Machine manager is to connect some remote Linux server running with KVM. Therefore, click on the File menu of Virt-Manager and select “New Connection“.
Then check “Connect to a remote host over SSH” and enter the user and hostname of the remote KVM server you want to connect.
5. Start managing KVM Virtual Machines
Once connected, you will have the list of Virtual machines running on remote KVM on Windows 10 running Virt-Manager. Now, you can directly control or view them.
- How to use Virt-Manager GUI to manage Multipass Ubuntu VMs
- How to install GUI File Manager Nautilus on WSL -Windows 10 Subsystem for Linux
- How to enable WSL 2 Windows 10 Subsystem for Linux
11 thoughts on “How to install and use Virt-Manager on Windows 10”
You do not need to use sudo to run virt-manager.
What do you mean?
Still, you need sudo to connect to QEMU/KVM untill you make a user a sudoers and reboot:
$ sudo usermod -aG sudo
from now on, virt-manager will be able to conenct to QEMU/KVM daemon, no sudo is needed
$ sudo usermod -aG sudo
I have followed all steps and now getting error “Configure SSH key access for the remote host, or install an SSH askpass package locally.”
sudo apt-get install -y ssh-askpass
It’s sad you have to do all this JUST to get a graphical UI on Qemu. I feel that the programmers of QEMU are snobs and it makes me blood boil! I can see why BLM people feel so cheated in life as they have to put up with this shit off camera ALL THE damn time!!! No wonder they felt resorted to burning Portland down till Trump was removed.
This is so obviously a troll and I love it
I’m using QEMU instead of WSL, this does not make sense for me
curious if you could convince Virt-Manager or any alternative on WSL to work with a Windows version of QEMU, because you can access the Windows drive from /mnt/c in WSL(2)