Installing and Configuring Free VMware Workstation Pro on Linux: A Practical Guide with Kernel Fixes

Why Do You Need a Smooth Virtualization Solution on Linux Desktop?

Using Linux (Ubuntu, Fedora, or Arch) as your primary OS for development work is incredibly convenient. However, you will still occasionally run into tricky situations: an internal tool that only runs on Windows, the Microsoft Office suite to open report files without font issues, or the need to test cross-platform desktop applications.

VirtualBox used to be the most popular free option. The downside is its rather sluggish 3D graphics performance, poor vSync, and frequent frame drops when rendering heavy graphical interfaces. Since Broadcom made VMware Workstation Pro free for Personal Use, the game has completely changed. You get a professional Type-2 Hypervisor with support for DirectX 11, OpenGL 4.3, and flexible virtual network management without spending a dime on licensing.

How Does VMware Workstation Pro Work on the Linux Kernel?

Unlike KVM, which is integrated directly into the kernel, VMware runs in userspace. To communicate with hardware and share CPU, RAM, or network interface resources, the software must load two specific kernel modules:

  • vmmon (Virtual Machine Monitor): Coordinates vCPUs, manages memory paging, and handles context switching between host and guest.
  • vmnet (Virtual Networking): Creates virtual switches, handles NAT routing, manages local DHCP assignment, and bridges to physical network interfaces.

On my home lab setup, I usually offload heavy workloads to Proxmox VE. But when taking a laptop on the go, VMware Workstation Pro is significantly more convenient. Plugging in USB devices, copying and pasting via clipboard, or dragging and dropping files between Linux and Windows works out of the box, without needing to configure complex Samba or SSH setups.

Step-by-Step Installation and Configuration of VMware Workstation Pro

Step 1: Install Build Tools and Linux Kernel Headers

VMware compiles modules directly against the kernel version your system is currently running (such as 6.5, 6.8, or 6.11). Make sure gcc, make, and the corresponding headers are ready. Open your terminal and run:

On Ubuntu / Debian:

sudo apt update
sudo apt install -y build-essential linux-headers-$(uname -r) dkms libcanberra-gtk-module

On Fedora / RHEL:

sudo dnf groupinstall -y "Development Tools"
sudo dnf install -y kernel-devel-$(uname -r) kernel-headers-$(uname -r)

Bước 2: Download the VMware Workstation Pro Installer

Visit the Broadcom Support Portal (support.broadcom.com). Register for a free personal account, locate VMware Workstation Pro for Linux, and download the installation file with the .bundle extension (around 500MB). The downloaded file is saved to ~/Downloads by default.

Step 3: Grant Permissions and Run the Installer

Navigate to the folder containing the file and make it executable:

cd ~/Downloads
chmod +x VMware-Workstation-Full-*.bundle
sudo ./VMware-Workstation-Full-*.bundle

The installer will automatically extract files to /usr/lib/vmware and register systemd services. This process typically takes only 1 – 2 minutes on an NVMe SSD.

Step 4: Fix Kernel Module Compilation Errors (Kernel 6.x and Above)

This is an issue that 90% of Linux users encounter. On distros running newer kernels (such as Ubuntu 24.04 or Fedora 40 with kernel 6.8+), VMware will throw compilation errors for vmmon and vmnet on the very first launch.

This happens because internal Linux kernel APIs change continuously. You simply need to apply the source code patches maintained by Michal Kubecek:

# Install git if not already installed
sudo apt install -y git

# Clone the kernel module patch repository
git clone https://github.com/mkubecek/vmware-host-modules.git
cd vmware-host-modules

# Checkout the branch matching your installed VMware version (e.g., workstation-17.5.2)
git checkout workstation-17.5.2

# Compile and install modules into the kernel
make
sudo make install

# Restart VMware networking services
sudo systemctl restart vmware

Quickly verify the status using lsmod | grep vm. If both vmmon and vmnet appear in the output, you are good to go.

Step 5: Activate Personal Use Mode and Create a Virtual Machine

  1. Type vmware in the terminal or launch it from the application menu.
  2. On the license prompt screen, check: "I want to use VMware Workstation for Personal Use" and click Continue. There is absolutely no need to look for shady keys online.
  3. Click Create a New Virtual Machine (Typical), then point to the target ISO file (e.g., Windows 11 23H2 or Ubuntu 24.04 LTS).
  4. Configure hardware: For typical development and testing VMs, an optimal configuration is 4 vCPUs, 8GB RAM (if your host has 16GB RAM), and a 50GB NVMe Virtual Disk for maximum read/write performance.

Step 6: Optimize Performance and Enable Nested Virtualization

Once the guest OS installation is complete, install Guest Tools immediately.

For Linux guest VMs (Ubuntu/Debian), skip the bundled VMware Tools ISO as it is outdated. Install the official package directly from the distribution repository:

sudo apt update && sudo apt install -y open-vm-tools open-vm-tools-desktop

This package enables automatic display resizing to fit the window and turns on bidirectional drag-and-drop.

If you need to run Docker Desktop, Minikube, or WSL2 inside the virtual machine, shut down the VM. Go to Virtual Machine Settings > Processors, and check Virtualize Intel VT-x/EPT or AMD-V/RVI (Nested Virtualization). Your virtual machine can now support an extra containerization layer with only a modest 3 – 5% CPU overhead.

A Flexible Virtualization Solution for Your Workflow

Free VMware Workstation Pro solves the need for cross-platform applications without the hassles of dual-booting. Once you master patching the kernel modules after routine apt upgrade runs, you have a safe, high-speed sandbox environment right on your Linux machine.

Share: