Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

Failed to get VNC port

$
0
0
Hi,

I have created a VM in kvm using virt-install and the option
Code:

-graphics none
Now I want to add the VNC support so I have edited the xml configuration file and added these lines:
Code:

    <graphics type='vnc' port='-1' autoport='yes'>
      <listen type='address'/>
    </graphics>

I stopped and restart the vm but I get always this error:
Code:

virsh # vncdisplay my1
error: Failed to get VNC port. Is this domain using VNC?

I've also restarted libvitd without success.

The strange things is that I have created a second VM with the option
Code:

-graphics vnc
.
The xml file has the same graphics configuration and i can connect via vnc to this machine.

How can I add the support for VNC to my first machine?

Thanks

LK

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>