VMware vSphere

 View Only

 How to prevent "open console in new tab" from providing a user the ability to close the "open console in new tab""

BAS_at_USPS's profile image
BAS_at_USPS posted Dec 16, 2024 05:46 PM

I have a setup where a user needs access to the console of a VM from a remote system using a web browser in kiosk mode.  This VM is running under ESXi 8.0U3.

I have created a role and user for the user which restricts the user to the one VM that the user needs console access for. 

The user accesses this console via a URL similar to "https://

Top center menu marker/tab

Top center drop-down menu

What I want to do is to either,

  1. Hide the top center tab, or
  2. Stop the top center tab from being clickable, or
  3. Hide the [x] button and "Close console" in the dropdown menu, or
  4. Remove the [x] button and "Close console" from the dropdown menu.

The aim is stop the user from closing the console window as the web browser is in kiosk mode and will be unable to open another console window.

Thoughts/Ideas/Suggestions/Constructive Criticism?

Thanks in advance.

dabrigo's profile image
dabrigo

Hello,

my best guess is that you will need to implement a custom page using the WebKMS API, which is pretty simple to do and there are some examples online from where you can start (eg. https://williamlam.com/2013/09/how-to-generate-pre-authenticated-html5.html ).