Direct control of ESXi virtual machines via VNC

Source: Internet
Author: User

Preparation steps:

  1. 1. Download VNC Putty and WinSCP

  2. 2.   in esxi open ssh

  3. 3.   using WINSCP connect to esxi

  4. 1. /span> modify esxi host firewall config

in the ESXi of the host /etc/vmware/firewall added under directory VNC The firewall configuration file, Vnc.xml , the contents are as follows:

/etc/vmware/firewall # Cat Vnc.xml

<!--firewallrule for VNC Console--

<ConfigRoot>

<service>

<id>VNC</id>

<rule id = ' 0000 ' >

<direction>inbound</direction>

<protocol>tcp</protocol>

<porttype>dst</porttype>

<port>

<begin>5900</begin>

<end>5910</end>

</port>

</rule>

<rule id = ' 0001 ' >

<direction>outbound</direction>

<protocol>tcp</protocol>

<porttype>dst</porttype>

<port>

<begin>0</begin>

<end>65535</end>

</port>

</rule>

<enabled>true</enabled>

<required>false</required>

</service>

</ConfigRoot>

2. Refresh firewall rules

/etc/vmware/firewall# esxcli Network Firewall refresh

Check if the rule is in effect:

/etc/vmware/firewall# ESXCLI Network firewall ruleset list |grep VNC

VNC true

/etc/vmware/firewall#

3. Virtual machine configuration

The steps are as follows:

shut down the virtual machine and then the virtual machine " Edit Settings " .

Mouse Right-click to select : Options - General --- configuration parameters;

To add a row, configure the parameters as follows:

remotedisplay.vnc.enabled= true

RemoteDisplay.vnc.pass Word = <pass Word >

Remotedisplay.vnc.port= <port>

After the setup is complete, restart the virtual machine.

4. Client testing, there is only one IP, that is, the ESXI host IP


This article is from the Virtualization Information Center blog, so be sure to keep this source http://likun.blog.51cto.com/2162242/1619505

Direct control of ESXi virtual machines via VNC

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.