subuk / vmango

Your own personal IaaS cloud
https://vmango.org
MIT License
329 stars 55 forks source link

Request: Suddenly VNC is a critical issue for me. #61

Closed captainwasabi closed 4 years ago

captainwasabi commented 4 years ago

I really never planned on needing to manage desktops on VMs, but as of last week it seems like I do.

So, my request is to add vnc support, be able to specify (and later edit) the console # or port # (-1 means don't care/auto), ip address to listen to, and to display the vnc console number on the same pages where the ip address is displayed (the machine list and machine details)

Thanks

PS. In the mean time this is my workaround:

virsh edit vmname

then add the following right before the tag

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

then virsh vncdisplay vmname

subuk commented 4 years ago

Fixed, now you can choose graphic type for existing machines. image