How to Install VMware Workstation 17 Pro on Ubuntu 23.10 & 22.04

Quick Insight

VMware Workstation 17 Pro installs on Ubuntu by running a simple bundle script. First, download the file and update your package list with apt. Then, add the build tools and kernel headers to avoid GCC errors. Next, make the bundle runnable and launch the setup wizard. If modules fail, clone and compile the vmware-host-modules from GitHub. As a result, you turn your Ubuntu host into a multi-OS lab with full snapshot support.

Welcome to our complete guide to setting up and using VMware Workstation 17 Pro on Ubuntu 23.10 & 22.04. This software makes it easy for you to create virtual machines on one PC. Also, it lets you run more than one operating system on the same or on different hardware.

In this article, I will show you how to download and install VMware Workstation on Ubuntu. I will also cover the setup and virtual machine creation process. In addition, I will guide you through managing virtual machines.

VMware Workstation Setup on Ubuntu

How to Install VMware Workstation 17 Pro to Run a Virtual Machine on Ubuntu 23.10 & 22.04?

As you know, VMware Workstation is the most popular virtualization program. This software runs on the Ubuntu Linux distribution as well as on Microsoft Windows operating systems.

Installing VMware on Windows 10 takes only a few simple steps. However, setup on Linux-based systems is also simple, although in some cases you may need to install dependent packages.

You can create virtual machines with VMware Workstation. In addition, you can run more than one virtual computer on your PC at the same time. However, this virtualization program is not open source and does not offer a free version. Still, you can buy it after trying the 30-day free trial.

Package dependencies vary slightly from distribution to distribution. Many people make this mistake and copy Ubuntu commands verbatim. For those who use another desktop, I suggest my guide for setting up a virtualization environment on the Linux Mint desktop. This way, you avoid graphics issues early.

Download and Setup Prep for VMware Workstation 17 Pro on Ubuntu

First, be careful if you use both Windows and Ubuntu on your PC in a dual-boot setup. Do not install each new release of this virtualization software or other third-party software straight onto your running system. First, install Ubuntu on a virtual machine. Then, install the new versions of the programs in question and check system compatibility. After that, we advise you to install it on your current system.

Step 1

Visit this resource to download VMware for Linux. Then, click “Download Now” as shown in the image below to start the download.

You can easily download the Workstation software from the official VMware site with a web browser. However, you can also do this with a command in the terminal.

cd ~/Downloads
wget https://download3.vmware.com/software/WKST-1700-LX/VMware-Workstation-Full-17.0.0-20800274.x86_64.bundle

Download the VMware Workstation Bundle File

Step 2

After you download the setup file with the bundle extension, update the package list on your system. To do this, run the “sudo apt update” and “sudo apt upgrade” commands in the terminal.

sudo apt update
sudo apt upgrade

Now download and install the Linux kernel packages needed for VMware to run without issues. Otherwise, you will encounter a GNU C Compiler error and cannot start the program.

Install the dependencies to fix the GNU C Compiler error. Run the “sudo apt install build-essential” command in the terminal. Then press Y and Enter to confirm the installation.

sudo apt install build-essential dkms

Install Linux Kernels for VMware

Step 3

After you download the VMware VM software to the Downloads folder, edit the file permissions. Then run the commands below in the terminal to start the installation.

chmod +x VMware-Workstation-Full-17.0.0-20800274.x86_64.bundle
sudo ./VMware-Workstation-Full-17.0.0-20800274.x86_64.bundle

Install VMware Workstation Pro from the Terminal

Run the VMware Workstation Setup and Fix Module Errors

After the installation completes, find the VMware Workstation program in Show Applications and run it. You can also see that the setup installed the Virtual Network Editor and VMware Player software.

NOTE: At this stage, pay attention to whether you encounter the “Unable to install all modules” error when you run the VMware program. You need to download and compile the vmmon and vmnet modules of the Workstation program manually.

To fix the “Unable to install all modules” error on Ubuntu, download the required modules from GitHub. Then run the commands below in the terminal to copy them to the right location.

sudo apt install git
git clone https://github.com/mkubecek/vmware-host-modules
cd vmware-host-modules
git checkout workstation-17
sudo make && sudo make install
tar -cf vmnet.tar vmnet-only && tar -cf vmmon.tar vmmon-only
sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/
sudo vmware-modconfig --console --install-all

Run the VMware Program

License Agreements and Trial Version Setup

Step 1

After you install the required packages, the VMware End User License Agreement window opens. Read the license terms and select the “I accept the terms in the license agreement” option to accept them.

Accept the Workstation End User License Agreement

Step 2

Also, accept the OVF Tool component for Linux license agreement and click the Next button.

Accept the Workstation OVF Tool License Agreement

Step 3

If you want the guest machine software to check for updates at system startup, select the Yes option.

Enable Update Checks at System Startup

Step 4

Select Yes to join the VMware customer experience program, and then click Next.

Agree to Join the VMware Customer Experience Program

Step 5

If you bought the program for Linux, enter your license key. If you want to try the virtualization program free for 30 days, select the “I want to try VMware Workstation 17 for 30 days” option.

Enable the I Want to Try Workstation for 30 Days Option

Step 6

After you successfully install the VMware Pro software, you can test operating systems on your host PC. For example, you can install new or old versions of Windows, Linux, or macOS.

Check the Version of the Virtualization Software

Start Creating a Virtual Machine with VMware Workstation on Ubuntu

After you install VMware Workstation on Ubuntu, you can start installing the operating system you want by creating a new virtual machine (VM).

Step 1

Open the VMware Workstation 17 Pro software on your Linux system. Then select the Create a New Virtual Machine option.

Create a New Virtual Machine

Step 2

Select the Custom (Advanced) option to set up the VM with advanced settings. Then click Next.

Create an Advanced Virtual Machine

Step 3

Set the hardware compatibility of the guest machine to the latest version of your VMware software.

Change the Hardware Compatibility Version

Step 4

You can use your physical drive or ISO install media as the installation method. However, to configure the VM settings more effectively, select the I will install the operating system later option.

Select the I Will Install the Operating System Later Option

Step 5

If you plan to install Windows 10 as the guest operating system, select Microsoft Windows. Then select Windows 10 and later x64 in the Version section and click Next.

Select the Guest System

Virtual System Location and Hardware Setup

Step 1

Create a new folder in the location where you want to install the Windows 10 guest machine and select it.

Set the Virtual Machine Install Location

Step 2

Select UEFI as the firmware type and continue.

Select the UEFI/Secure Boot Firmware Type

Step 3

In the virtual processor setup, set the processor and core count values based on the resources of your host PC.

Set the Virtual Processor Core Count

Step 4

In the same way, set the virtual memory size for the Windows 10 guest machine based on your host’s RAM capacity.

Set the Virtual Memory Size

Step 5

If you want to connect the guest machine to your physical network, you can select the bridged network. If you do not want your VM to obtain an IP address from your local network, continue with the default option, Network Address Translation (NAT).

Select the Network Address Translation (NAT) Adapter

Step 6

Continue with the LSI Logic SAS option, which VMware recommends for the I/O controller type.

Select the I/O Controller Type

Virtual Disk Type and Storage Settings

Step 1

You can set the virtual disk type of the virtual PC to IDE, SCSI, SATA, or NVMe. Since NVMe is a newer technology, your guest operating system runs faster. Select NVMe for the virtual disk type and click Next.

Select the NVMe Virtual Disk Type

Step 2

When you select the disk configuration you want to use, do not forget that you will install Windows 10 from scratch. For this reason, select the Create a new virtual disk option and continue.

Create a New Virtual Disk

Step 3

Set the virtual disk capacity of the guest machine based on the tasks you will perform. Then select the option to store the virtual disk as a single file.

Store the Virtual Disk as a Single File

Step 4

Leave the virtual disk location at the default and continue.

Virtual Disk Location

Step 5

You can see the hardware information of the Windows 10 machine you set up in the summary window. Check the hardware information of your virtual system one last time. Then click Finish and close the wizard.

View the Hardware Settings of the Virtual System

Step 6

After you install your guest operating system, the first step is to install the VMware Tools software. Close this warning window and continue.

Do not skip the driver package to speed up the guest operating system. This is the key point. For smooth operation, follow my guide to install helper tools on an Ubuntu guest. This step will enable hardware acceleration immediately.

VMware Tools Notice

Edit Guest Machine Settings and Mount an ISO

Step 1

Use the Workstation interface to configure the hardware settings of your Windows 10 guest operating system at an advanced level. Then select the Edit Virtual Machine Settings option.

Edit Virtual Machine Settings

Step 2

Open the Processors hardware settings to improve the performance of the Windows 10 virtual OS. Select all features in the Virtualization Engine section and close the window.

Enable Virtualization Engine Features

Step 3

Select the CD/DVD device in the Hardware section. Then select the Use ISO Image option. Click Browse to specify the location of the image file. Select the Windows 10 image file you downloaded to your Linux computer and click Open.

Add the Windows 10 ISO File to the Virtual PC

Step 4

Select the USB 3.x controller in the USB hardware settings so you can transfer files faster in your Windows 10 VM. Then close the settings window.

Select USB 3.1 Compatibility

Step 5

Click Start up this guest operating system to run your Windows 10 x64 machine.

Run the Guest Operating System

Step 6

Press any key on your keyboard during the Windows 10 boot phase to start the installation. Then the Windows setup window will open.

Windows 10 Setup Wizard

Delete a Virtual Machine

You may decide not to use the guest operating systems you installed on Ubuntu or other Linux platforms anymore. In this case, you can easily delete them from the VM library of the Workstation software.

Right-click the Windows 10 VM to delete all files related to it from your host disk. Then click the Manage > Delete From Disk option. In the window that opens, click Yes to confirm the file deletion.

Fully Delete the Windows 10 Guest Machine

Uninstall VMware Workstation

When you want to remove the VMware virtualization software you installed on your Linux/Ubuntu system, you can do so quickly from the terminal.

Open the terminal. Run the “vmware-installer –list-products” command to list the VMware products installed on your system.

vmware-installer --list-products
OR
vmware-installer -l

Then confirm that the VMware Workstation program is installed on your system. Next, run the “sudo vmware-installer -u vmware-workstation” command to remove it from your system completely.

VMware removal is relatively fast from the terminal. The vmware-installer command lists installed products and provides a clean removal. For a more thorough cleanup, you need to remove extra files during the uninstall.

sudo vmware-installer -u vmware-workstation

Uninstall VMware Workstation

Video

Video Thumbnail
Watch on YouTube

Install Old Versions

Old Ubuntu Versions and Resources
UbuntuVMware WorkstationYouTube VideoSlides
17.0414 ProWatch–
17.1014 ProWatchView
18.0414 ProWatchView
18.1014 ProWatch–
18.1015 ProWatchView
20.1016 ProWatch–
21.1016 ProWatchView
22.0416 ProWatchView
22.1016 ProWatchView
22.1017 Pro (NEW)Watch–

Possible Setup Errors

Unable to Copy the User’s Xauthorization File Error

This error usually occurred when you performed the setup on Ubuntu versions 17.04 and 17.10. To fix the Xauthorization error, run the commands below in the terminal in order. Then try to open the VM again.

touch ~/.Xauthority
chmod 600 ~/.Xauthority

GCC7 Error

The GCC7 error occurred during the setup stage on Ubuntu versions 18.04 or 18.10. To fix this error, you need only run the command below in the terminal.

sudo apt install gcc-7

FAQ About VMware Use on Ubuntu

What are the prerequisites for VMware Workstation 17 Pro on Ubuntu 22.04?

To run this virtualization software on Ubuntu 22.04, you need two basic packages. First is the build-essential package, which includes the C compiler and the make tool. Second is the kernel headers; that is, the linux-headers package.
Run the sudo apt install build-essential linux-headers-$(uname -r) dkms command in the terminal. All three are required for VMware to compile its kernel modules. If you omit any, you will encounter a GCC not found or no kernel headers error during setup.
Also, make sure your system is up to date. Do not skip the sudo apt update && sudo apt upgrade command. This way, both your package lists and your current kernel are updated to the latest version.

Why does setup fail on Ubuntu 23.10?

Ubuntu 23.10 comes with a 6.5 series kernel. The first releases of VMware Workstation 17 could not work with this kernel. In particular, version 17.0 led to a kernel panic when you started a virtual machine on 23.10.
The root cause is that the 6.5 kernel insists on ACPI _OSC negotiation. The old version cannot interpret this protocol correctly, so it crashes while the modules load.
For a lasting fix, upgrade to Workstation 17.3 or a higher version. If you download Broadcom’s current package, 23.10 support is included out of the box. Otherwise, you must revert to a 6.4 kernel.

How do you fix a vmmon/vmnet compile error on Ubuntu?

Do not panic when you encounter a compile error. First, try running VMware’s own module configurator: sudo vmware-modconfig --console --install-all. This command tries to rebuild the modules for the current kernel.
If this does not work, use mkubecek’s vmware-host-modules repository. Clone the repository and switch to the correct branch; for example, git checkout workstation-17. Then run the sudo make && sudo make install commands.
Finally, copy the tar archives to the correct directory. Put the vmmon.tar and vmnet.tar files under /usr/lib/vmware/modules/source/. Then try the sudo vmware-modconfig --console --install-all command again.

How do you sign VMware modules when Secure Boot is on?

Secure Boot rejects unsigned kernel modules. So you need to sign vmmon and vmnet with a Machine Owner Key (MOK). First, use the mokutil --sb-state command to confirm that Secure Boot is on.
Create a key pair and add it to the system with the mokutil --import MOK.der command. When you reboot, a blue MOK Manager screen appears. Select the “Enroll MOK” option and enter the password you set.
After the system boots, sign the modules with this key. You should see the signer information in the modinfo /lib/modules/$(uname -r)/misc/vmmon.ko | grep signer output. If you want an automatic fix, the tmap/vmware-secureboot-fix script automates this task.

Why does VMware not open after a kernel update?

When Ubuntu loads a new kernel, VMware’s modules stay tied to the old kernel. When the new kernel boots, it cannot find vmmon and vmnet. The result: a “Could not open /dev/vmmon” error.
For a quick fix, rebuild the modules. The sudo vmware-modconfig --console --install-all command is enough most of the time. If it still does not open, make sure you installed the kernel headers for the new version.
If you want long-term convenience, consider a DKMS-based setup. Or add a hook that automates signing and compiling after each kernel update. This way, you do not have to return to the terminal each time.

Is there a speed difference between Ubuntu 22.04 and 23.10?

There is no clear speed gap at the VMware layer. However, the kernel difference affects the experience inside the virtual machine. The 6.5 kernel in 23.10 offers newer CPU schedulers and power management.
In contrast, 23.10 is an interim release; its support lasts only 9 months. 22.04 LTS receives security patches for 5 years. If stability is the top priority for your virtual machines, LTS is always the safer choice.
In practice, the difference you feel appears in driver maturity. A new kernel sometimes causes issues in VMware modules. An older but tested kernel produces fewer surprises for nonstop work.

Is open-vm-tools enough instead of VMware Tools?

It is sufficient, and even more practical in most cases. Since Ubuntu 14.04, open-vm-tools has become the recommended solution for Linux guests. You avoid the trouble of downloading the official VMware Tools package as well.
It offers basic functions such as clipboard sharing, drag and drop, automatic resolution, and file sharing fully. Setup completes with the sudo apt install open-vm-tools open-vm-tools-desktop command.
You may look for the official package only in a very special case, for example in an app that needs compatibility with an old VMware version. Otherwise, open-vm-tools is both current and easy to maintain.

What do you do if a USB device does not show up in an Ubuntu virtual machine?

First, make sure the device appears on the host machine. Check it with the lsusb command. If the host does not detect it, the problem is not in VMware but in the physical link or the driver.
Confirm that the USB controller exists in the virtual machine settings. If it does not, add it with “Add” and select the compatibility mode that fits your device (such as USB 3.x). A full shutdown and restart of the virtual machine works better than suspend.
Make sure the VMware USB Arbitration Service runs. On a Linux host, this service sometimes becomes stuck. The sudo systemctl restart vmware-usbarbitrator command can refresh the link. Finally, check that you installed the open-vm-tools package.

How do you grow an Ubuntu virtual disk in VMware?

First, shut down the virtual machine completely. Right-click the VM in VMware Workstation and go to “Settings.” Select Hard Disk, click the “Expand” button, and enter the new size.
This step only grows the virtual disk file. The partitions inside the guest Ubuntu still remain at the old size. So after you open the VM, you need to expand the partition with the Disks tool or gparted.
If you use LVM, a few terminal commands are required. With the pvresize, lvextend, and resize2fs steps, you resize the logical volume and file system to the new size. Do not forget to take a snapshot before the process.

Does the free Workstation 17 Pro version need a license for commercial use?

No, it does not need one anymore. In November 2024, Broadcom made Workstation Pro free for everyone, including commercial use. The requirement to enter a license key has been removed completely.
This free use applies to version 17.5.2 and higher. If you download an old 17.0 package, you will encounter a license warning. So download the current version from the Broadcom support portal.
During setup, do not select the “I want to try…” or personal use option on the license screen; just complete the setup. In the free version, any key field can remain blank. You can use it in a commercial office with peace of mind.

Conclusion

As a result, VMware Workstation 17 Pro gives you a strong virtualization solution on Ubuntu 23.10 and 22.04. It is also ideal for running more than one operating system. By following the steps I outlined in this article, you can install VMware Workstation without issues. In addition, you can create virtual machines on your host system and install various operating systems.

In addition, VMware Workstation gives you flexibility when testing software or developing applications. Moreover, it suits those who want to explore different operating systems. This way, you can run more than one VM at the same time. In short, this VM software is a valuable tool in both personal and professional use.

They'll Thank You for Discovering This Guide!

Ready to do your loved ones a huge favor with just one click? Knowledge grows as it is shared.

14 People Shared Their Experience

  1. Thanks for the tutorial, its helped alot

    1. Thanks for your comment!

  2. Thanks for the tip on the Xauthority file!!!

    1. You’re welcome! Very thanks for your feedback!

  3. Thank you for the help on Xauthorization tip sir. But now I am unable to open the License key Page in order to activate the VMWare

    1. You’re welcome, Seraj Ahmad! To resolve the key page error of VMware Workstation, open the terminal and switch to root access. After that, execute the vmware command.

  4. Thank you for your reply sir. But when I tried I got this Error message
    seraj@seraj-Inspiron-3537:~$ sudo -i
    root@seraj-Inspiron-3537:~# vmware
    No protocol specified
    xcb_connection_has_error() returned true
    No protocol specified
    xcb_connection_has_error() returned true
    No protocol specified

    ** (vmware-modconfig:12139): WARNING **: Could not open X display
    No protocol specified

    (vmware-modconfig:12139): Gtk-WARNING **: cannot open display: :0
    .

  5. Really thanks for the post !

    1. You’re welcome Gabriel! Also thank you for your comment!

  6. Sorry to say this, but the git instructions do not work: git checkout workstation-17
    Stuck at that point.

  7. Trying to install VMware on a Ubuntu 22.10 system and it will not load the kernal. at the end of the install I get:
    Starting VMware services:
    Virtual machine monitor failed
    Virtual machine communication interface done
    VM communication interface socket family done
    Virtual ethernet failed
    VMware Authentication Daemon done
    Unable to start services

  8. For Byron
    It has to be ….. workstation 17.0.0

  9. While installing vmware-modconfig – Virtual machine monitor & Virtual ethernet are getting failed and unable to start the services. Please suggest

  10. Same error here with same Ubuntu 22.10

Share Your Opinion