Website Vidya
Linux & ServersStep-by-Step Guide

How to Install VMware Workstation Player on Ubuntu 24.04

Step-by-step guide to install VMware Workstation Player on Ubuntu 24.04 LTS with Broadcom personal use setup, kernel module compilation, and tips.

RR
Rajesh RayLead Systems Educator
Published:
6 min read
PDF Cheat Sheet
How to Install VMware Workstation Player on Ubuntu 24.04
AI Executive SummaryWebsiteVidya AI

6 min read

Step-by-step guide to install VMware Workstation Player on Ubuntu 24.04 LTS with Broadcom personal use setup, kernel module compilation, and tips.

Key Highlights
  • Prerequisites and Supported Releases
  • Step 1: Verifying Hardware Virtualization Support and System Architecture
  • Step 2: Installing Build Tools and Kernel Header Dependencies
Grounded in full engineering runbookWebsiteVidya AI Engine

Virtualization workstations allow developers, security analysts, and systems engineers to execute multiple isolated guest operating systems alongside their primary workstation. When you install vmware workstation player on ubuntu 24.04, you obtain access to enterprise-grade hypervisor performance, high-speed 3D graphics acceleration, and robust virtual networking capabilities.

Following Broadcom's recent licensing restructuring, VMware Workstation Pro and Player are now completely free of charge for personal and non-commercial usage. Installing the software on Ubuntu 24.04 requires compiling custom kernel modules (vmmon and vmnet) against the modern Linux 6.8 kernel, properly addressing UEFI Secure Boot module verification, and configuring background hypervisor system services.

Prerequisites and Supported Releases

This guide is thoroughly verified on Ubuntu 24.04 LTS (Noble Numbat) & Ubuntu 22.04 LTS. The instructions apply cleanly to cloud instances (AWS EC2, Google Compute Engine, DigitalOcean, Hetzner), bare-metal servers, and local virtual machines.

Advertisement

Before proceeding, ensure you have the following requirements satisfied:

  • An Ubuntu 24.04 LTS system running on a 64-bit x86 processor with hardware virtualization enabled (Intel VT-x or AMD-V).
  • A user account with active sudo administrative privileges.
  • At least 4 GB of system RAM (8 GB or more strongly recommended for running concurrent virtual machines).
  • Free disk space of at least 20 GB for the application and guest OS virtual disk images.

Step 1: Verifying Hardware Virtualization Support and System Architecture

If the numerical output from /proc/cpuinfo is greater than 0, your processor possesses hardware virtualization extensions. If the count is 0, enter your motherboard BIOS/UEFI settings and enable Intel Virtualization Technology (VT-x) or AMD SVM (Secure Virtual Machine).

# Check for Intel VT-x or AMD-V virtualization extensions
lscpu | grep -E 'Virtualization|Hypervisor'

# Alternatively, test with egrep for vmx (Intel) or svm (AMD)
egrep -c '(vmx|svm)' /proc/cpuinfo

Step 2: Installing Build Tools and Kernel Header Dependencies

Installing linux-headers-$(uname -r) ensures that the module compilation tools locate the exact symbol tables matching your active kernel. Verify that the headers package installed successfully by checking the directory in /usr/src.

# Update package metadata
sudo apt update

# Install build tools, kernel headers, and networking libraries
sudo apt install -y build-essential linux-headers-$(uname -r) dkms libcanberra-gtk-module libcanberra-gtk3-module

Step 3: Downloading the VMware Installation Bundle from Broadcom

Under Broadcom's updated portal, VMware Workstation is distributed as a self-extracting shell archive with the .bundle extension. Register for a free personal account on the Broadcom Support Portal or download the latest official Workstation installer directly.

Advertisement

Once the download completes, navigate to your target directory and grant execution permissions to the downloaded bundle file.

# Navigate to the download folder
cd ~/Downloads

# Grant executable permissions to the installer
chmod +x VMware-Workstation-Full-*.bundle

# Inspect permissions to confirm executable bit
ls -la VMware-Workstation-Full-*.bundle

Step 4: Executing the VMware Installer and Compiling Kernel Modules

Execute the installer bundle with administrative privileges. You can run the interactive graphical installer or supply the --console flag for automated terminal deployment.

The installer extracts the binary toolchain, writes libraries to /usr/lib/vmware, installs application shortcuts, and initiates the initial module setup.

# Execute the VMware installer with sudo
sudo ./VMware-Workstation-Full-*.bundle

# Output confirmation:
# Extracting VMware Installer...done.
# Installing VMware Workstation...
#     Configuring...
# [######################################################################] 100%
# Installation was successful.

Compiling vmmon and vmnet Modules via vmware-modconfig

On Ubuntu 24.04 LTS (Linux kernel 6.8+), VMware kernel modules may need to be compiled manually before the hypervisor can launch virtual machines. Execute vmware-modconfig to compile and install all required modules.

Advertisement
# Compile and install all VMware kernel modules
sudo vmware-modconfig --console --install-all

Step 5: Signing Kernel Modules for UEFI Secure Boot

The mokutil --import command will prompt you to set a temporary password. Reboot your computer. During the blue MOK management shim screen, select Enroll MOK, choose Continue, enter your password, and reboot. Your signed modules will now load automatically.

# Create a directory for your MOK certificates
sudo mkdir -p /root/mok
cd /root/mok

# Generate an X.509 key pair
sudo openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=VMware Kernel Module Signing Key/"

# Sign the compiled VMware modules
sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vmmon)
sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vmnet)

# Enroll the key with the Linux kernel MOK utility
sudo mokutil --import MOK.der

Step 6: Launching VMware Workstation and Activating Personal Use

Enter your administrative password when prompted to finalize virtual network interface binding. You are now greeted by the main VMware dashboard where you can create new virtual machines or open existing .vmx configurations.

# Launch VMware Workstation from the terminal
vmware &

Step 7: Managing VMware Background Services with systemd

VMware Workstation registers several system services to manage host-only networking, NAT routing, and USB passthrough. You can verify and control these services using standard systemctl commands.

# Check the operational status of the core VMware service
sudo systemctl status vmware

# Restart virtual networking services
sudo systemctl restart vmware-networks

# Ensure services start automatically upon boot
sudo systemctl enable vmware

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:

Could not open /dev/vmmon: No such file or directory.

Cause: The vmmon kernel module was either not compiled or was blocked from loading by UEFI Secure Boot.

Resolution: Check whether Secure Boot is active via mokutil --sb-state. If enabled, complete the module signing steps with MOK or sign the module using sign-file.

sudo modprobe -v vmmon

vmware-modconfig fails with compilation errors on Linux kernel 6.8+.

Cause: Older VMware Workstation releases require patches to accommodate kernel API changes introduced in newer Linux kernels.

Resolution: Install the community patch set from mkubecek's vmware-host-modules repository on GitHub or upgrade to the latest VMware Workstation 17.5+ build.

git clone https://github.com/mkubecek/vmware-host-modules.git

Virtual machine graphics are sluggish or 3D acceleration is disabled.

Cause: Hardware 3D acceleration is blocked by missing 32-bit graphics libraries or disabled host rendering flags.

Resolution: Add mks.gl.allowBlacklistedDrivers = "TRUE" to your virtual machine's .vmx configuration file.

echo 'mks.gl.allowBlacklistedDrivers = "TRUE"' >> ~/vmware/guest/guest.vmx

Security Best Practices and Hardening

Keep both your host Ubuntu operating system and guest virtual machines updated with current security patches.

Do not execute untrusted guest workloads with bridge networking on open public networks; use host-only or NAT mode to isolate guest traffic.

Deepen your Linux system administration skills with our related production-tested guides:

Authoritative References and Official Documentation

Frequently Asked Questions

Quick answers to common questions and configurations

4 FAQs
Yes. In 2024, Broadcom revised the licensing structure for VMware Workstation Pro and Player, making both applications completely free of charge for personal, educational, and home-lab usage without requiring a paid subscription key.
VMware kernel modules (vmmon and vmnet) are out-of-tree drivers compiled specifically against your active kernel headers. When Ubuntu updates its kernel, you must execute sudo vmware-modconfig --console --install-all to rebuild modules against the new kernel version.
You can remove VMware Workstation by executing the bundled uninstaller: sudo vmware-installer -u vmware-workstation (or sudo vmware-installer -u vmware-player). You can also append --required to remove all configuration files.
Yes. Unlike Windows where Hyper-V can cause virtualization conflicts with Type-2 hypervisors, Linux natively supports running Docker (via kernel cgroups and namespaces) concurrently with VMware Workstation KVM-based or proprietary hypervisor modules.
RR
Written byVerified Author

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.

SPAM-FREE MODERATED DISCOURSE

Join the Conversation & Perspective

Have thoughts, counterpoints, or reflections on this story? Engage directly with fellow readers and editorial contributors.

AT
MP
JV
+2

No comments on this guide yet. Be the first to share your thoughts or ask a question!

Recommended Reading10 Guides

Related Technical Guides

Tested runbooks, server administration walkthroughs, and troubleshooting guides

Featured Infrastructure PartnerUp to 75% OFF + 3 Months Free

Supercharge Your Linux & Cloud Workloads with Hostinger

Deploy high-speed NVMe KVM VPS, Docker containers, and LiteSpeed-accelerated WordPress servers in under 60 seconds with full root access, dedicated IPv4, and 24/7 technical support.

Pure NVMe SSD StorageFull Root Access & SSHFree Domain & Unlimited SSL99.9% Uptime SLA
Plans from$2.99/mo
Claim Hostinger DealAffiliate link • Special discount applied at checkout