VMware Cloud Community
lokago1982
Contributor
Contributor

Access to VM Console without the vSphere Client Login

Hallo,

I am now using VMware-vSphere-SDK-6.0.0 to develop a project. One task is to access to the VM console.

I can not find any offical infomation about the format of the VM remote console URL, found just some discussions about it.

So i made the following URL using JAVA:

https://HOST:PORT/vsphere-client/webconsole.html?vmId=***&vmName=***&serverGuid=***&host=***&session...**,

now i click this link, i can only see the right VM console when i have logged into the vsphere web client, or else i must first

log in, then i got the remote console.

My question is, is it possible to directly go to the web console without logging in first?

0 Kudos
1 Reply
Sreejesh_D
Virtuoso
Virtuoso

unfortunately not in vsphere 6.x .  in 5.x we can create pre-authenticated URLs for remote consoles. But same logic wont work in 6.x. In 6.x it will ask to authenticate to see the console.

its good to have a look at vmrc SDK. it may have a solution for it.

VMware Remote Console SDK Documentation

0 Kudos