How to Install Virtual Machine Manager on Ubuntu 16

Problem Scenario:  You want to run VMs on your Linux server.  You are running Ubuntu 16.  You want to install Virtual Machine Manager (a free software package).

1. Run this command to see if you have processors that can support virtualization:
sudo cat /proc/cpuinfo | grep -c svm || cat /proc/cpuinfo | grep -c vmx

If the result shows a 1 or higher, then you can install Virtual Machine Manager.  If you see "x" or "0" or combinations of the two, then Virtual Machine Manager will not work.

2.  Install these packages (assuming you have a Debian repository on your network or access to the Internet):
sudo apt-get -y install qemu-kvm libvirt-bin bridge-utils virt-manager qemu-utils python-spice-client-gtk

3.  Open Virtual Machine Manager.  Create a new VM or import an existing qcow2 file.

Related Troubleshooting Tip:
If you get the error in the monitor window display that says "spiceclientgtk not found," do the following:

In Virtual Machine Manager for the window monitor for a given VM, click the green "i" box.  On the left column go to Display VNC -> VNC Server -> Type (change "Spice Server" to "VNC Server").  Then reboot the VM.

Leave a comment

Your email address will not be published. Required fields are marked *