您的位置:首页 > 产品设计 > UI/UE

add VNC console to KVM guests

2016-04-13 23:18 351 查看
shutdown guest

virsh shutdown guest


edit guest xml file

virsh edit guest


add following to xml file in
<device> </device>
section


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


guest port will be auto-allocated. First guest will be given port 5900, second 5901.

to encrypt the connection

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


start the guest

virsh start guest


now open a vnc client and enter KVM host IP address with port number
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  kvm vnc