How to access Virtual Machine (made in qemu-kvm) [closed]

0

I have a Linux Centos7 server, with no GUI. Using Qemu-KVM I was able to install a virtual machine with windows2008server inside it. I used the following command to create the virtual machine:

 virt-install --name=windows --ram=3096 --vcpus=1 --cdrom=/opt/win2008server.iso --os-type=windows --os-variant=win2k8 --network bridge=virbr0 --graphics=spice --disk path=/var/lib/libvirt/images/win.dsk,size=15

The virtual machine was created successfully, and is running. But now I do not know how to access it remotely. I tried the virt-viewer from an Ubuntu station, until it accesses, but at the time of forming the screen, it gives a missing error from a libspice library. I have installed such libraries, but nothing. Does anyone have any tips on how to access (can be via Windows or Linux) that virtual machine that is on this server without GUI? What software should I use? Note that in the creation command of vm, you have the graphics option, where I chose spice. Could I try another option for the graphics parameter? Thank you.

    
asked by anonymous 05.01.2016 / 14:40

1 answer

1

Galera, I already managed ... just change the --graphics option to "vnc". With this I was able to access from another windows station using virt-viewer.

    
05.01.2016 / 15:41