WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
  • VKS
  • Homelab
    • Resources
    • Nested Virtualization
  • VMware Nostalgia
  • Apple

Using a VNC Client to Connect to VMs in ESXi 5

01.09.2012 by William Lam // 10 Comments

The ability to connect to a virtual machine using a VNC client has been available since the early days of VMware GSX as described by this VMware KB article. The required .vmx configuration can also be applied to virtual machines running on ESX(i), but is not officially supported by VMware. With ESXi 5, this continues to work but there is one additional caveat users should to be aware of, which is the new firewall that has been introduced in ESXi 5.

In addition to the three .vmx configurations:

  • RemoteDisplay.vnc.enabled = [true|false]
  • RemoteDisplay.vnc.port = [port #]
  • RemoteDisplay.vnc.password = [optional]

Users need to also enable the ports selected for each virtual machine on the ESXi firewall. Here is an example of a firewall rule that needs to be created:

Take a look at this blog post for details on configuring custom firewall rules including persisting the custom rules upon a system reboot.

Here are a few screenshots of configuring the .vmx configurations and using a VNC client to connect to the powered on virtual machine.

Only the first two .vmx configurations are required, if you do not set a password, anyone can connect to the virtual machine as long as they know the hostname/IP Address of your ESX(i) host and port.

To connect to a specific virtual machine, you will specify the hostname/IP Address of the ESX(i) host and port for the given virtual machine. If you set a password, you will need to also provide that before you can connect.

Please be aware of the limitations and security concerns of using VNC. VMware Remote Console or standard RDP/SSH should still be considered for virtual machine remote access.

Categories // Uncategorized Tags // ESXi 5.0, firewall, remote console, vnc

The Winner Is ...

12.30.2011 by William Lam // 2 Comments

There was a total of 14 comments on the Ghetto Reflections 2011 blog post and ...

Congratulations to to Comment #3 (NiTRo) Apparently blogger does not allow me to retrieve your email address 🙁 If you are reading this NiTRo, please provide me with your shipping address to the email address found here.

Thanks for all the comments and thank you again to all of our readers for your support! Have a happy and safe New Years! See you in 2012

Categories // Uncategorized Tags // ghetto

Ghetto Reflections 2011

12.24.2011 by William Lam // 14 Comments

I can not believe it is that time of the year again! 2011 was a great year for myself and looking back, a lot has changed both in my professional and personal life. As 2011 starts to wind down, here are some interesting stats for this past year.

Total number of posts on virtuallyGhetto in 2011: 103

Total ghettoVCB pageviews: 600,000k (almost 300k more than 2010)

Here were the top 10 blog posts of 2011 by page views:

  1. Automating ESXi 4.1 Kickstart Tips & Tricks
  2. Getting started with vMA 
  3. New vSphere Health Check 5.0 & ghettoVCB Script
  4. How to Enable Support for Nested 64bit & Hyper-V VMs in vSphere 5
  5. How to Run Windows 8 on vSphere 5
  6. Automating ESXi 5 Kickstart Tips & Tricks 
  7. How to Enable Nested vFT (virtual Fault Tolerance) in vSphere 5
  8. When Can I Run Apple OSX on vSphere 5?
  9. How to inject custom drivers into an ESXi 4.1 image using vibddi?
  10. vSphere Tagging Feature Not So Invisible

Here were the top 10 ghetto scripts of 2011 by page views: 

  1. ghettoVCB.sh 
  2. ghettoVCBg2.pl  
  3. vmwarevSphereHealthCheck.pl 
  4. ghettoVCB-restore.sh
  5. vmwarevSphereSecurityHardeningReportCheck.pl
  6. ghettoUPSHostShutdown.pl 
  7. generateHostConfigurationWorksheet.pl
  8. ghetto-esxi-linked-clones.sh
  9. datastoreClusterManagement.pl
  10. guestOpsManagement.pl

Lastly, I want to take this time to thank all our readers for all of your support! If you already gotten this far into the post, you are in for a surprise. I will be giving away a free copy of Duncan Epping & Frank Denneman's VMware vSphere 5 Clustering Technical Deepdive colored copy. I received a signed copy from the gurus themselves for an article I wrote awhile back and ended up with two copies. To qualify, you just need to leave a comment with a valid email address. I will randomly select a winner on Dec 30th, 2011.

Happy Holidays and have a Happy New Year! See you in 2012.

UPDATE: Please take a look at this blog post for the winner The Winner Is ...

Categories // Uncategorized Tags // ghetto

  • « Previous Page
  • 1
  • …
  • 499
  • 500
  • 501
  • 502
  • 503
  • …
  • 560
  • Next Page »

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Mastodon
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • VMUG Connect 2025 - Minimal VMware Cloud Foundation (VCF) 5.x in a Box  05/15/2025
  • Programmatically accessing the Broadcom Compatibility Guide (BCG) 05/06/2025
  • Quick Tip - Validating Broadcom Download Token  05/01/2025
  • Supported chipsets for the USB Network Native Driver for ESXi Fling 04/23/2025
  • vCenter Identity Federation with Authelia 04/16/2025

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2025