Managing KVM ( CentOS 7.2) guest VMs using virt-manager on Windows using Xming and Vcxsrv

The virt-manager is opensource application that manage the KVM for you to create VMs in it or to do console view if you will configure OS’s with GUI. In order to do this you must use this x11 forwarding software called Xming or VcXsrv to accomplish this or it can be said the same in all other applications that you want to run in remote Windows OS’s

Xming – is the leading X Window System Server for Microsoft Windows. It is fully featured, lean, fast, simple to install and because it is standalone native Windows, easily made portable (not needing a machine-specific installation or access to the Windows registry).
Xming is totally secure when used with [WWW]SSH and optionally includes an enhanced Plink SSH client and a portable PuTTY replacement package. Xming installers include executable code, and libraries, only built by Colin Harrison (Project Xming’s chief developer).

VcXsrv – Windows X-server based on the xorg git sources (like xming or cygwin’s xwin), but compiled with Visual C++ 2012 Express Edition. Source code can also be compiled with VS2008, VS2008 Express Edition and VS2010 Express Edition.

 

Using Xming

Step 1: Download the installer and install using the default values in it for this article I will be using the version ‘Xming-6-9-0-31-setup.exe’ running in Windows 10 Desktop computer

xming1

xming2

xming3

xming4

xming5

xming6

 

Step 2: After the installation make sure that the xMing is running in background you can verify this by going to system tray near your clock and you will see the X icon in it.

xming6a

Step 3: Open your putty.exe and go to ‘Connection -> SSH -> X11 -> Enable X11 forwarding’  then after that type the hostname or fqdn of your server

‘Category -> Session’ and type the server under the ‘Host Name’

xming7b

 

Step 4: Login to your KVM server and type the virt-manager in the CLI

# virt-manager

xming8

and it will show just like this below images and you can proceed to create your guest VMs

xming9

Its done hope this helps you or if you having issues you can use alternative x11 forwarder below 😀 ..

—————————————-

 

Using VcXsrv

Step 1: Im using the version ‘vcxsrv-64.1.18.3.0.installer.exe’ for this article

vcxsrv1

vcxsrv2

vcxsrv3

vcxsrv4

Step 2: Before running the putty and enabling the x11 make sure the VcXsrv application is running in background you can verify this by going to system tray and will notice the X icon as shown below

vcxsrv5

 

Step 3: Open your putty.exe and go to ‘Connection -> SSH -> X11 -> Enable X11 forwarding’  then after that type the hostname or fqdn of your server

‘Category -> Session’ and type the server under the ‘Host Name’

xming7b

Step 4: Login to your KVM server and type the virt-manager in the CLI

# virt-manager

 

xming8

 

 

 

Be the first to comment on "Managing KVM ( CentOS 7.2) guest VMs using virt-manager on Windows using Xming and Vcxsrv"

Leave a comment

Your email address will not be published.