008. KVM-VNC Management

Source: Internet
Author: User
1. VNC management 1.1 modify configuration
  1 [[email protected] ~]# vi /etc/libvirt/qemu.conf  2 ……  3 vnc_listen = "0.0.0.0"

Note:

  • Vnclisten: by default, 127.0.0.1 is bound to the specified VNC in the configuration file to bind 0.0.0.0ip. You do not need to specify the vnclisten parameter when installing the KVM virtual machine.
  • When there are multiple virtual machines on the VM, You need to specify each virtual machine as a different port.
1.2 modify the virtual machine configuration file
  1 [[email protected] ~]# virsh edit vm03-centos6.8  2 <graphics type=‘vnc‘ port=‘5903‘ autoport=‘no‘ listen=‘0.0.0.0‘>  3     <listen type=‘address‘ address=‘0.0.0.0‘/>
1.3 start and verify the VM
  1 [[email protected] ~]# virsh start vm03-centos6.8  2 [[email protected] ~]# netstat -tlun

1 [[email protected] ~] # Yum install VNC # host machine installation VNC client

Note: access the kvm vm through the VNC client. The IP address is the host address.

008. KVM-VNC Management

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.