[size=3]The error nitification appears when running WMware station player:[/size]
[FONT=arial black]‘Cannot open /dev/vmmon: No such file or directory. Please make sure that the kernel module `vmmon’ is loaded’.
[/FONT]
WMware explained:
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.
But I’m sure I disabled the ‘secure boot’ during the installation stage.
The solution is:
Sign the modules using the generated key by running these commands:
$sudo /usr/src/linux-headers-uname -r/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vmmon)
But there is no ‘sign-file’ command available in tOpensuse Leap 15.3.
Could you please assist me on this issue, any advise would be appreciated.
Hi i use VMWorkstation 16.2 on some Leap 15.3 machines installed from official bundles with no problem. If secure boot is not enabled the signing fun is not the cause of the problem.
The vmware kernel modules have to be recompiled for each new kernel update. I do not use VMPlayer-UI but i think it will ask for root password and recompile the modules on startup if required like the VMWorkstation-UI.
Versions form my main machine:
~> uname -a
Linux blackbox 5.3.18-59.37-default #1 SMP Mon Nov 22 12:29:04 UTC 2021 (d10168e) x86_64 x86_64 x86_64
GNU/Linux
[FONT=monospace]~> vmware -v
VMware Workstation 16.2.1 build-18811642[/FONT]
Every now and then this recompile/install of the modules fails. You could check if the vmmon, vmnet modules are installed for the current kernel with:
If vmmon is not present the vmware-modconfig command can be used to recompile/install the modules from the console. Not sure if it is included in the VMPlayer bundle too but if so the output of
I too am experiencing the vmmon as well as vmnet modules not loaded issue on Leap 15.3. For me recompiling and installing the modules work as @rawar explained and it happens every restart. I have not had any compilation issues thus far. I am using VMware 16.1.2.