Sur le serveur :
root@server01virt:/home/admin# virsh list --all
setlocale: No such file or directory
Id Name State
----------------------------------------------------
- VM01 shut off
root@server01virt:/home/admin# virsh edit VM01 Chercher :
<graphics type='vnc' port='-1' autoport='yes' passwd='Mot2Passe'/>
<video>
<model type='cirrus' vram='16384' heads='1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>
Remplacer par :
<graphics type='spice' port='5900' autoport='no' listen='0.0.0.0' passwd='Mot2Passe'>
<listen type='address' address='0.0.0.0'/>
</graphics>
<video>
<model type='qxl' ram='65536' vram='32768' vgamem='16384' heads='1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>
root@server01virt:/home/admin# virsh start VM01
Domain VM01 started
Sur la machine locale :
[~] ➔ sudo apt-get install virt-viewer
[~] ➔ remote-viewer spice://95.142.162.206:5900/VM01
https://www.server-world.info/en/note?os=Debian_8&p=kvm&f=7 https://www.mankier.com/1/remote-viewer#