create windows virtual on ubuntu server.

  1. server side
sudo apt-get install kvm libvirt-bin  
  1. destop side
sudo apt-get install virt-manager
sudo virt-manager
  1. more usage:
sudo virt-manager --help

  • Click file and select add connection then
    • Check Connect to remote computer
    • Method :SSH
    • User : your user for login server
    • machine name : ip address or host name

NOW YOU ARE READY TO CREATE VIRTUAL MACHINE ON THE SERVER

Notice: The virt-manager GUI dialog does not have a way to specify a non-default ssh port or the private key to use when connecting to the remote server, but this is easily done by starting virt-manager with the ‘-c’ parameter.

virt-manager -c 'qemu+ssh://[email protected]/system?keyfile=/home/user/.ssh/id_rsa'

via:
– https://askubuntu.com/questions/73234/is-there-a-way-to-create-a-windows-virtual-machine-on-ubuntu-server
– https://fabianlee.org/2019/02/16/kvm-virt-manager-to-connect-to-a-remote-console-using-qemussh/

Leave a Reply

Your email address will not be published.