Skip to content

kai8406/htmlConsoleForVm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

htmlConsole

html5 console for vmware vm

summary

There are some examples of vm html console.

vsphere 6.5

There are very simple way to access vm html console in vsphere 6.5 environment using pyvmomi with python in the way of input url to browser generated from generate_html5_console.py. but scheme of html output can't be changed easily for this's a web page intergrated in vcenter server, and it fails with vm having chinese name as the parameter 'cfgFile' being converted. perhaps you can get it using str.format().

Another way of displaying vm html console is using VMware HTML Console SDK. And there is official release. It say that installing the vCenter Certificate into the web server providing HTML console is prerequisite from this site. But I found that it must import certificate to client in which displaying html console in browser.So,I provide some ways to import root CA to client according to different OS and different browser like these .

vsphere 6.0

According to this example It can access to vm html console through three way theoretically.

  • But I found that webmks ticket way does not get it.
  • Another two ways came out connection fail error when vm has chinese name.
  • And I have no idea how to display fullscream.
  • The prerequisite is add exception of vc certificate which vm belongs to.
  • Chrome always works while firefox(linux works) and IE occasionally fail.
  • My success example is this.

vsphere 5.x

You will get idea from this.

About

html5 console for vmware vm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published