Amazon.co.uk Widgets

Log in

X
VMware Linux Workstation 16 Player running Windows 10 Pro on Ubuntu 24.04 on an old 6th Gen Intel Skylake i5
VMware Linux Workstation 16 Player running Windows 10 Pro on Ubuntu 24.04 on an old 6th Gen Intel Skylake i5

Easier than full blown data centre style virtualisation solution for a local lab environment

If you don't need a full scale data centre style virtualisation solution then Workstation Player uses VMware vSphere Hypervisor technology to provide simple and secure local virtualisation on modest hardware. It is far easier for a small local testing or technology exploration lab than ESXi or OpenStack.

Why VMware Workstation?

VMware Workstation supports hundreds of 32-bit and 64-bit guest operating systems. Best of all, VMware Workstation Player is free for personal, non-commercial use (business and nonprofit use is considered commercial use). VMware say "If you would like to learn about virtual machines or use them at home, you are welcome to use VMware Workstation Player for free".

TL:DR — This was actually moderately difficult to do, because it involved signing a module and installing it for secure boot. Also because my Lunix Distribution - Ubuntu 24.04 is unreleased at this point and not supported by VMware Workstation Player for Linux, and my processor architecture, 'skylake' is not supported by the latest version of VMware Workstation Player so I had to fall back to a previous version, and compile the VMware modules into my Ubuntu 24.04 kernel. I got it working. YMMV.

Installing VMware Workstation Player for Linux

This can be a bit of a headache

You run the Linux bundle installer to install Workstation Player on your Linux host system.

  • Download VMware Workstation Player - https://www.vmware.com/products/workstation-player.html on your chosen computer logged in to the account you are going to use.
  • Become root. $ sudo su
  • Change directories to the directory that contains the Workstation Pro installer file e.g. # cd ~/Downloads
  • Run the Workstation Player installer e.g. # sh ./VMware-Player-Full-16.2.5-20904516.x86_64.bundle
    #sh ./VMware-Player-Full-16.2.5-20904516.x86_64.bundle
    Extracting VMware Installer...done.
    Installing VMware Player 16.2.5
        Configuring...
    [######################################################################] 100%
    Installation was successful.
    
  • Now you can see VMware Workstation Player in your Apps List
    VMware Workstation Player in the Ubuntu Apps List
    VMware Workstation Player in the Ubuntu Apps List
  • Double click the VMware Workstation Player Icon to run it! You'll probably see that you need to add some (possibly scary) kernel dependencies
    VMware Kernel Module Updater
    VMware Kernel Module Updater
  • First, you need a compliler, gcc 13 which is the default now in Ubuntu 24.04. You'll need some other build tools too so install them all $ sudo apt install build-essential
  • Next run VMware Workstation Player again. You'll be prompted that several modules need to be complied and added to your Linux Kernel. Assuming you are OK with that, and that your Linux distribution kernel supports VMware Workstation Player, click 'Install'
    VMware Kernel Module Updater - Install
    VMware Kernel Module Updater - Install
  • If your Linux distribution's kernel isn't supported by VMware Workstation Player, the installation will fail. But all is not lost. You can download the modules needed from https://github.com/mkubecek/vmware-host-modules/blob/master/INSTALL and $ make and sudo make install them.
    wget https://github.com/mkubecek/vmware-host-modules/archive/workstation-16.2.5.tar.gz
    tar -xzf workstation-16.2.5.tar.gz
    cd vmware-host-modules-workstation-16.2.5
    make
    sudo make install
    
  • Now you can run VMware Workstation Player for Linux and get to the licence agreement
    VMware Linux Workstation Player Licence
    VMware Linux Workstation Player Licence
  • Click through, and I decided not to check for product updates on startup, this computer is old, and this is an older version of VMware Workstation Player.
  • Enter a licence or choose the free for non commercial use option
    VMware Linux Workstation Player licencing
    VMware Linux Workstation Player licencing
  • Now it looks like you can create or open and run a virtual machine.
    VMware Linux Workstation Player - first run
    VMware Linux Workstation Player - first run
  • There are a few more steps if you have secure boot enabled: To correct the issue with secure boot enabled: Generate a key pair using the openssl to sign vmmon and vmnet modules: $openssl req -new -x509 -newkey rsa:2048 -keyout mypcvmware.priv -outform DER -out mypcvmware.der -nodes -days 36500 -subj "/CN=VMware/" (Replace mypcvmware with the name of the file you want for the key). Sign the modules using the generated key by running these commands: $sudo /usr/src/linux-headers-`uname -r`/scripts/sign-file sha256 ./mypcvmware.priv ./mypcvmware.der $(modinfo -n vmmon) $sudo /usr/src/linux-headers-`uname -r`/scripts/sign-file sha256 ./mypcvmware.priv ./mypcvmware.der $(modinfo -n vmnet) Import the public key to the system's mypcvmware list by running this command: $sudo mokutil --import mypcvmware.der Confirm a password for this mypcvmware enrollment request. Reboot your machine.
  • Follow the instructions to complete the enrollment from the UEFI console. (Sorry I could'nt figure out how to take screenshots of UEFI console but its essentially saying yes to enrolling the new key and rebooting).

See also


Supported host operating systems for Workstation Pro 16.x, 17.x and Workstation Player 16.x, 17.x (80807) https://kb.vmware.com/s/article/80807

VMware host modules https://github.com/mkubecek/vmware-host-modules

Cannot open /dev/vmmon: No such file or directory" error when powering on a VM (2146460) https://kb.vmware.com/s/article/2146460

Recommended ways to enter BIOS - ThinkPad, ThinkCentre, ThinkStation – https://support.lenovo.com/us/en/solutions/ht500222-recommended-ways-to-enter-bios-boot-menu-thinkpad-thinkcentre-thinkstation

Licences, trademarks, source code licences and attributions

Licences, trademarks, source code licences and attributions

928uk® is a trademark of Multizone Limited, registered in the UK. Multizone and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited licence granted by Open Source Matters, Inc. AdMob™, AdSense™, AdWords™, Android™, Chrome OS™, Chromebook™, Chrome™, DART™, Flutter™, Firebase™, Firestore™, Fuchsia™, Gmail™, Google Maps™, Google Pixel™, Google Play™, Pixelbook Go™, and Pixel™ and other trademarks listed at the Google Brand Resource center are trademarks of Google LLC and this site is not endorsed by or affiliated with Google in any way. Apple and the Apple logo are trademarks of Apple Inc., registered in the U.S. and other countries. App Store is a service mark of Apple Inc. The OSI logo trademark is the trademark of Open Source Initiative. UNIX® and the X® logo are registered trademarks of The Open Group. Any other product or company names may be trademarks™ or registered® trademarks of their respective holders. Use of these trademarks in articles here does not apply affiliation or endorsement by any of them.

Where the source code is published here on ezone.co.uk or on our GitHub by Angus Fox, Multizone Limited it is licenced according to the open source practice for the project concerned.

BSD 3-Clause "New" or "Revised" Licence
Original source code for mobile apps are licenced using the same licence as the one used by "The Flutter Authors". This Licence, the BSD 3-Clause "New" or "Revised" Licence (bsd-3-clause) is a permissive licence with a clause that prohibits others from using the name of the project or its contributors to promote derived products without written consent.
GNU General Public Licence v2.0 or later
Original source code for Joomla! published here on ezone.co.uk by Angus Fox, Multizone Limited is licenced using the same licence as the one used by Joomla!. This Licence, the GNU General Public Licence Version 2 or later (gpl-2.0) is the most widely used free software licence and has a strong copyleft requirement. When distributing derived works, the source code of the work must be made available under the same licence.

You can use any code you find here, just respect the licences and dont use the name of this site or our company to promote derived products without written consent. I mean, why would you? You're not us!

Amazon Associate
As an Amazon Associate we earn from qualifying purchases.
Logo
Our Logo Image is by Freepik. We chose it because its an M and also the letter A twice - and that represents us.