Install VMware 17 on Linux Ubuntu 24

What is VMware*.budle files?

It is shell/bash script with embedded data. To install do:


$ chmod ugo+x VMware-*.x86_64.bundle
$ sudo ./VMware-*.x86_64.bundle

How to uninstall?


$ sudo vmware-installer -u vmware-workstation

How to solve VMware errors when compiling vmmon and vmnet?

You need to patch and compile yourself. Get the patch here:

https://github.com/mkubecek/vmware-host-modules/pull/252/commits


$ git clone https://github.com/mkubecek/vmware-host-modules <or-its-fork>
$ cd vmware-host-modules
$ git checkout <workstation-version>
$ tar -cf vmmon.tar vmmon-only/
$ tar -cf vmnet.tar vmnet-only/
$ sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/
$ sudo vmware-modconfig --console --install-all

Other compile method is:


$ make
$ sudo make install

How to fix VMWare Could not open /dev/vmmon ?

On Linux host with secure mode enabled, it is not allowed to load any unsigned drivers. Due to this, VMware drivers, such as vmmon and vmnet, are not able to be loaded which prevents virtual machine to power on.


$ openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=VMWare"
$ 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)
$ sudo mokutil --import MOK.der
$ sudo shutdown -r now

During the very next startup, you may need to enter MOK Management during boot, and select “ENROLL MOK” to import the key, and reboot once more.

How to Solve Error ISBRendererComm: Lost connection to mksSandbox?

Read this: https://github.com/vmware/open-vm-tools/issues/624#issuecomment-2224017940

Open the: *.vmx file and add these line:


svga.allowAsyncReadback = "FALSE"
virtualHW.version = "17" (change option to "17" if a virtualHW.version is already present)


Connecting Bluetooth Mouse to Ubuntu 24.04.2

From the UI Settings of Bluetooth, I don’t know why the mouse bluetooth was not listed, but other Computers/Monitors/Speakers being listed.

Source: https://askubuntu.com/questions/1536735/failed-to-pair-wireless-mouse-on-24-04

~$ bluetoothctl
Waiting to connect to bluetoothd…
Agent registered
…
[bluetooth]# devices
…
Device 34:88:5D:E5:78:67 Bluetooth Mouse M336/M337/M535
…
[bluetooth]# pair 34:88:5D:E5:78:67
Attempting to pair with 34:88:5D:E5:78:67
[CHG] Device 34:88:5D:E5:78:67 Connected: yes
…
[Bluetooth Mouse M336/M337/M535]# [CHG] Device 34:88:5D:E5:78:67 Paired: yes
[Bluetooth Mouse M336/M337/M535]# Pairing successful
[bluetooth]# trust 34:88:5D:E5:78:67
[CHG] Device 34:88:5D:E5:78:67 Trusted: yes
Changing 34:88:5D:E5:78:67 trust succeeded
[bluetooth]# connect 34:88:5D:E5:78:67
Attempting to connect to 34:88:5D:E5:78:67
[CHG] Device 34:88:5D:E5:78:67 Connected: yes
…
Connection successful
…
[Bluetooth Mouse M336/M337/M535]# exit