Guides 11792 Published by

The guide explains how to install VMware Tools on Ubuntu 22.10, 22.04, or 20.04 in virtual machines running Workstation, Fusion, or ESXi and it shows why the copy‑paste lag and missing shared folders prompt a fix. It first recommends using Ubuntu’s package manager, installing open‑vm‑tools‑desktop for GUI features—or just open‑vm‑tools on headless servers—so that matching kernel modules are pulled automatically and the tools activate after a reboot or logout‑in. When repository packages lag behind, it walks through mounting VMware’s ISO from the VM menu, extracting the tarball, running vmware‑install.pl with default options, and rebooting or restarting services to compile the required kernel modules against your current headers. Finally it lists common troubleshooting steps such as installing missing linux‑headers, ensuring vmhgfs‑fuse is active, re‑installing open‑vm‑tools after kernel upgrades, and reassures users that most can rely on the apt method while a fallback ISO installer is available for newer features.



Installing VMware Tools on Ubuntu 22.10, 22.04, or 20.04

If you’re running an Ubuntu virtual machine in Workstation, Fusion, or ESXi, you’ll notice a sluggish copy‑paste, no shared folders, and the dreaded “VMware Tools not installed” banner popping up. Installing VMware Tools (or its open‑source cousin, open‑vm-tools) fixes all that and gives your VM a smoother feel.

Quick‑Start: Use Ubuntu’s Built‑in Packages

Why this matters – The package manager pulls in the right kernel modules for your current kernel, so you don’t have to hunt down dependencies or worry about mismatched versions.

sudo apt update
sudo apt install open-vm-tools-desktop   # For GUI features (clipboard sync, drag‑and‑drop)

Heads up – If you’re on a headless server VM and only need basic integration (like time sync), drop the -desktop suffix.

After that reboot or log out/in, and you’ll see VMware’s icons in your system tray. The tools are now running in the background, automatically reloading if you update your kernel.

When the Quick‑Start Fails: Manual Installer from VMware

Sometimes the repository packages lag behind the host or you need a newer build. In that case you can use VMware’s installer shipped with the VM menu.

1. Open the virtual machine menu

VM => Install VMware Tools.

– This mounts an ISO image into your guest’s CD drive, containing the latest binaries.

2. Mount the ISO (if not auto‑mounted)

   sudo mkdir /mnt/cdrom
   sudo mount /dev/cdrom /mnt/cdrom

– The installer lives on the CD; you need to expose it before unpacking.

3. Extract and run the installer

   tar -xzf /mnt/cdrom/VMwareTools-*.tar.gz -C ~/
   cd ~/vmware-tools-distrib
   sudo ./vmware-install.pl

Follow the prompts; accept defaults unless you have a reason to tweak.

– The script builds kernel modules against your current headers and installs helper scripts.

4. Reboot (or just restart the vmhgfs daemon).

   sudo systemctl restart vmware-hostd

Real‑world note – I once had a VM where the auto‑mount failed after an update to 22.10; manually mounting solved it instantly, and clipboard sync worked within seconds.

Troubleshooting Common Pitfalls
  • Missing kernel headers
  sudo apt install linux-headers-$(uname -r)

– The installer needs those headers to compile the vmhgfs module. Without them you’ll get “module load failed”.

  • Clipboard still broken after install

Verify that vmhgfs-fuse is running:

  ps aux | grep vmhgfs

If not, start it manually:

  sudo systemctl enable --now vmware-tools
  • Performance hiccups after upgrade

Occasionally a kernel update disables VMware’s optimizations. Re‑installing open‑vm-tools often restores the sweet spot.

Bottom Line

For most everyday users, sudo apt install open-vm-tools-desktop is all you need—quick, reliable, and automatically updated with your system. If you hit snags or want the latest features, fall back to VMware’s ISO installer; just remember to bring kernel headers along for the ride.

That’s it! Your Ubuntu VM should now feel like a native machine: copy‑paste works, shared folders sync, and the “tools not installed” banner finally disappears.