The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 4,230 other subscribers

ESXi and VMware Workstation: quick way of getting Console screenshots in PNG format; some URLs on your ESXi machine

Posted by jpluimers on 2013/08/23

Thanks DoubleCloud for the post on Really Easy Ways to Capture VM Screenshot.

It also works for VMware ESXi, and by default is enabled: browse to https://esxi-machine/screen?id=# to get a PNG screenshot of the VM with ID=#.

I’m not sure yet how to get the ID of a running VM, so usually this is a bit of trial and error on a busy system (:

Later: I found out you can get the ID through MOB; see a couple of these links.

For my ESXi the URLs are these:

You can even add parameters to modify this PNG, as per [Archive.is] Capturing Virtual Machine Screenshots in vSphere – VMware vSphere Blog:

  • w = the pixel width of the scaled image
  • h = the pixel height of the scaled image
  • x0  = the left side of the bounding box to select the image
  • y0 = the top side of the bounding box to select the image
  • x1 = the right side of the bounding box to select the image
  • y1 = the bottom of the bounding box to select the image

Example: https://10.24.145.65/screen?id=vm-162&h=600&w=800

Turn of screen blanking

  • In Windows, look at the Power options, then turn off the screen saver.
  • On Linux text consoles e.g. you can do this with the command “setterm -blank 0”.

VMware Workstation

There is no way to take screenshots using URLs in VMware Workstation. But as of VMware Workstation 6.5, you can use Ctrl+Alt+PrtSc both in Windows and Full Screen mode. Like the ESXi screenshots, captures only the screen itself (so not the borders/toolbar/tabs in Windowed mode).

Note that form the vSphere client, you can take a movie as well: Creating a Screen Shot or a Movie of a Virtual Machine.

URLs on your ESXi machine

The above leads us to a couple of URLs on your ESXi machine:

Instead of removing the base index page, you can also turn it into virtuallyGhetto: Ghetto webAccess for ESXi as ESXi 5.0 cannot be used for Installing the VMware vSphere 5.1 Web Client | VMware Support Insider – VMware Blogs.

If you are on a Mac with OS X, you even can go further: Poor man’s VMware Infrastructure Client for OS X | Break & Enter.

For PC and iPad, VMware has software available, but not for Mac OS X:

–jeroen

One Response to “ESXi and VMware Workstation: quick way of getting Console screenshots in PNG format; some URLs on your ESXi machine”

  1. […] This is how yast looks now (boy I’m glad with https://wiert.me/2013/08/23/esxi-quic…n-png-format): […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

 
%d bloggers like this: