How to Install VMware Tools on Ubuntu 24.04
Learn how to install VMware Tools on Ubuntu 24.04 LTS using open-vm-tools. Enable shared folders, clipboard sync, time sync, and dynamic resolution.

6 min read
Learn how to install VMware Tools on Ubuntu 24.04 LTS using open-vm-tools. Enable shared folders, clipboard sync, time sync, and dynamic resolution.
- Prerequisites and Supported Releases
- Step 1: Understanding open-vm-tools vs Legacy VMware Tools
- Step 2: Updating Package Lists and Removing Legacy Tools
Running Ubuntu inside a VMware virtual machine is a standard workflow for software development, cloud testing, and server virtualization. Learning how to install vmware tools on ubuntu 24.04 enables essential integration capabilities between your guest operating system and the host hypervisor: automatic display resolution adjustments, smooth mouse movement, bidirectional clipboard synchronization, and shared folder access.
VMware Tools provides specialized kernel drivers and user-space daemons that bridge the guest operating system with the host hypervisor. In modern Linux distributions, VMware officially replaced the legacy proprietary tarball installer (vmware-install.pl) with open-vm-tools, an open-source implementation developed in collaboration with Canonical and the Linux kernel community. Using official APT packages ensures native kernel compatibility and seamless automated updates.
In this guide, we walk through the complete installation and configuration of open-vm-tools on Ubuntu 24.04 LTS (Noble Numbat). We cover both server (headless) and desktop environments, explain how to enable bidirectional copy-paste and drag-and-drop, configure automated host-guest time synchronization, set up shared folder mounts in /mnt/hgfs, and troubleshoot Wayland display resolution issues.
Install and configure open-vm-tools on Ubuntu 24.04 LTS for VMware Workstation, Fusion, and ESXi. Enable bidirectional copy-paste, automatic resolution resizing, and shared folders.
Prerequisites and Supported Releases
This guide is thoroughly verified on Ubuntu 24.04 LTS (Noble Numbat). The instructions apply cleanly to cloud instances (AWS EC2, Google Compute Engine, DigitalOcean, Hetzner), bare-metal servers, and local virtual machines.
Before proceeding, ensure you have the following requirements satisfied:
- An active virtual machine running
Ubuntu 24.04 LTShosted on VMware Workstation, Player, Fusion, or ESXi. - A user account with
sudoadministrative privileges. - An active network connection inside the virtual machine to download packages via APT.
- Host virtualization software up to date (VMware Workstation 17+ or ESXi 7.0/8.0 recommended).
Step 1: Understanding open-vm-tools vs Legacy VMware Tools
Historically, installing VMware Tools involved mounting a virtual CD-ROM (linux.iso), extracting a tarball, and compiling kernel modules using a Perl script. This legacy method frequently failed whenever Ubuntu updated its Linux kernel version.
Today, VMware officially endorses open-vm-tools. Because open-vm-tools is maintained directly within Ubuntu's official repositories, kernel modules are automatically recompiled during standard APT kernel upgrades.
There are two primary open-vm-tools packages available:
1. open-vm-tools: For headless servers without a GUI (provides heartbeats, power operations, time sync, and CLI management).
2. open-vm-tools-desktop: For graphical workstations (adds dynamic display resizing, multi-monitor support, and bidirectional clipboard sharing).
Ubuntu Server: sudo apt install open-vm-tools
Ubuntu Desktop: sudo apt install open-vm-tools open-vm-tools-desktop
Step 2: Updating Package Lists and Removing Legacy Tools
Before installing open-vm-tools, ensure that any remnants of legacy proprietary VMware Tools are completely uninstalled to prevent daemon conflicts.
Check if legacy VMware Tools exist at /usr/bin/vmware-uninstall-tools.pl and execute the uninstaller if present.
Then update your local APT repository cache.
# Check and uninstall legacy tools if present
if [ -f /usr/bin/vmware-uninstall-tools.pl ]; then
sudo /usr/bin/vmware-uninstall-tools.pl
fi
# Refresh repository package indices
sudo apt update && sudo apt upgrade -y
Step 3: Installing open-vm-tools for Server or Desktop
Install the appropriate package bundle based on whether you are running a server or desktop edition of Ubuntu 24.04.
For Ubuntu Server (headless/terminal only), install the base package:
sudo apt install -y open-vm-tools
For Ubuntu Desktop (with GNOME, XFCE, or KDE), install both the base daemon and the desktop enhancement package:
sudo apt install -y open-vm-tools open-vm-tools-desktop
# For Ubuntu Desktop installations:
sudo apt install -y open-vm-tools open-vm-tools-desktop
# For Ubuntu Server installations:
# sudo apt install -y open-vm-tools
Step 4: Starting and Enabling the VMware Tools Service
Once installation completes, systemd automatically enables and starts the open-vm-tools.service background daemon.
Verify that the service is running and active.
If the service is inactive, manually start and enable it using systemctl.
# Check status of open-vm-tools daemon
sudo systemctl status open-vm-tools --no-pager
# Enable service to start on boot
sudo systemctl enable --now open-vm-tools
Step 5: Enabling Bidirectional Clipboard and Drag-and-Drop
To enable bidirectional copy-paste and drag-and-drop between your host OS and the Ubuntu guest, you must configure settings on both the hypervisor and guest levels.
In VMware Workstation or Fusion, open VM Settings > Options > Guest Isolation. Check both Enable copy and paste and Enable drag and drop.
On Ubuntu 24.04 Desktop, the default display server is Wayland. Certain clipboard features may require switching to Xorg for full cross-application support.
To switch to Xorg, log out of your Ubuntu desktop, click the gear icon in the bottom-right corner of the login screen, select Ubuntu on Xorg, and log back in.
# Check current display server type (wayland vs x11)
echo $XDG_SESSION_TYPE
Step 6: Configuring VMware Shared Folders (HGFS)
VMware Shared Folders (HGFS) allow seamless file sharing between the host operating system and your Ubuntu virtual machine without needing network shares like NFS or Samba.
First, enable Shared Folders in VMware Workstation: go to VM Settings > Options > Shared Folders, choose Always enabled, and add a host folder.
Inside Ubuntu, verify that the shared folder is detected by VMware Tools using vmware-hgfsclient.
Create a mount point at /mnt/hgfs and mount the shared folders using the FUSE filesystem driver.
# List shared folders enabled by the host
vmware-hgfsclient
# Create mount directory if missing
sudo mkdir -p /mnt/hgfs
# Manually mount shared folders
sudo vmhgfs-fuse -o allow_other -o auto_unmount .host:/ /mnt/hgfs
# List contents of shared folder
ls -la /mnt/hgfs
Step 7: Automating Shared Folder Mounts at Boot in /etc/fstab
To ensure shared folders remain accessible after rebooting your virtual machine, add an entry to /etc/fstab.
Open /etc/fstab in your editor and append the FUSE mount directive.
Test the mount configuration without rebooting by unmounting and executing sudo mount -a.
# Append mount entry to /etc/fstab
echo '.host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other,auto_unmount,defaults 0 0' | sudo tee -a /etc/fstab
# Test fstab entry without rebooting
sudo mount -a
Step 8: Verifying Time Synchronization and Guest Heartbeats
Accurate time synchronization between host and guest prevents authentication tokens and SSL certificates from expiring prematurely when virtual machines are paused or suspended.
Check the active status of VMware time synchronization using vmware-toolbox-cmd.
Enable periodic time synchronization with the host hypervisor.
Finally, reboot the virtual machine to ensure all kernel modules, display resizing hooks, and systemd services initialize cleanly.
# Check time synchronization status
vmware-toolbox-cmd timesync status
# Enable time synchronization with host
vmware-toolbox-cmd timesync enable
# Perform a clean restart
sudo reboot
Troubleshooting and Common Errors
When configuring Ubuntu servers, unexpected permission errors, network timeouts, or lock contention can occur. Review these common issues and verified resolutions:
Display does not automatically resize when resizing VMware window
Resolution: Ensure open-vm-tools-desktop is installed. If using Ubuntu 24.04 with Wayland, dynamic resolution resizing can fail on older VMware versions. Log out, click the gear icon on the login screen, select 'Ubuntu on Xorg', and verify that 'Auto-fit Guest' is checked in VMware's View menu.
Shared folder /mnt/hgfs remains empty after boot
Resolution: Verify that shared folders are enabled in VM Settings > Options > Shared Folders. Check if the FUSE module is loaded with lsmod | grep fuse. If missing, reload with sudo modprobe fuse and remount with sudo vmhgfs-fuse -o allow_other .host:/ /mnt/hgfs.
Bidirectional copy and paste not functioning
Resolution: Verify that Guest Isolation settings are enabled in VMware Workstation. Ensure the user-level daemon vmtoolsd -n vmusr is running in your graphical desktop session by executing pgrep -l vmtoolsd.
Security Best Practices and Hardening
Always install open-vm-tools from official Ubuntu repositories rather than third-party tarballs to guarantee automatic security patch updates.
Be cautious when enabling allow_other in /etc/fstab for shared folders, as it permits all local unprivileged users to read host shared files.
Disable Guest Isolation (drag-and-drop and copy-paste) on multi-tenant production virtual machines to prevent accidental data exfiltration.
Keep your host hypervisor (VMware Workstation or ESXi) updated to patch virtualization escape vulnerabilities.
Related Ubuntu Tutorials and Documentation
Deepen your Linux system administration skills with our related production-tested guides:
Authoritative References and Official Documentation

The Linux Command Line, 2nd Edition: A Complete Introduction
Frequently Asked Questions
Quick answers to common questions and configurations
vmware-toolbox-cmd -v or inspect the APT package version by executing dpkg -l | grep open-vm-tools.Editorial Disclosure: Website Vidya is supported by our readers. When you purchase hosting, tools, or software through our verified partner links, we may earn an affiliate commission at no extra cost to you. We only recommend solutions we trust and rigorously verify.
Rajesh Ray
I’m Rajesh Rai, a full-stack developer, Linux administrator, and technology enthusiast passionate about making complex technology easier to understand and use.
Most Read Guides
TrendingUbuntu Server Not Booting? 10 Simple Steps to Fix It Fast
How to Create a 3D Button in HTML and CSS: Easy Steps
How to Install Python and Pip on Ubuntu 24.04 LTS
How to Install Nginx on Ubuntu 24.04
How to Install Python on Ubuntu 24.04 LTS
Related Technical Guides
Tested runbooks, server administration walkthroughs, and troubleshooting guides
Join the Conversation & Perspective
Have thoughts, counterpoints, or reflections on this story? Engage directly with fellow readers and editorial contributors.
No comments on this guide yet. Be the first to share your thoughts or ask a question!