I just did a fresh install of Ubuntu 20.04 and update the kernel to mainline 5.14.0-rc3. I then proceeded to install Workstation Player 16. When launching it i get "Kernel Headers for version 5.14.0-051400rc3-generic were not found." and it prompts me to select the path to the headers. When i select /usr/src/linux-headers-5.14.0-051400rc3 as the path, it still fails with "C header files matching your running kernel were not found".
Thank you in advance!
Yes, I rebooted twice: once after installing the new kernel and a second time after manually reinstalling the kernel headers.
To me, it looks like a problem on VMWares side because everything else is working fine.
Does anyone know, how VMWare checks if the kernel and kernel header version match? If it checks via directory name I can see why it is confused because the directory of the kernel headers lacks the "-generic" extension.
Figured it out. You have to re-install the kernel headers:
in my case I'm running kernel 5.15.0-43. to find yours run:
Then I reinstalled the kernel headers:
sudo apt install linux-headers-5.15.0-43-generic
after a successful update
Now it's working fine. Must have updated its kernel wrong the last time.