分享

ESXi 4.0 – Connect to you virtual machine console with VNC

 zengzb 2011-03-03

This is just a quick instruction on how to connect to you virtual machine with vnc:

First we have the console version:

Before we start make sure you can connect to your ESXi 4.0 machine with SSH.

  • Logon to you ESXi 4.0 with ssh.
  • Change your directory to where the vmx file is located for the virtual machine that you want to connect to.
  • Type the command “vi computename.vmx” (change the computername to your machine)
  • Go to the bottom of the file and append the following lines:

RemoteDisplay.vnc.port = “4444″
RemoteDisplay.vnc.enabled = “True”
RemoteDisplay.vnc.password = “password”

  • Now start the machine and connect to it on the port you specified and your ESXi ipaddress.

Now the above steps can be done without the console:

  • Goto configuration | storage and right click on the storage where your machine is located. Browse to your machines vmx file and rightclick | download

esx_vnc_01

  • Now edit the file with you favorit browser and add the following line:

RemoteDisplay.vnc.port = “4444″
RemoteDisplay.vnc.enabled = “True”
RemoteDisplay.vnc.password = “password”

esx_vnc_02

  • Upload the file to your datastore again, and start the machine.

You should now be able to connect to you machine with vnc, use your ESXi ipaddress (or dns) and the port you specified in the vmx file.)

Here are two screenshots from my sessions:

esx_vnc_03esx_vnc_04

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多