After upgrading to 13.04 I am unable to start VMWorkstation. I get the following message:
Before you can run VMware, several modules must be compiled and loaded into the running kernel.
Kernel Headers 3.8.0-19-generic
Kernel headers for version 3.8.0-19-generic were not found. If you have installed them in a non-default path you can specify the path below.
Does anyone have any idea what to do next?
Ubuntu 13.04 64bit
If I direct the path to:
/usr/src/linux-headers-3.8.0-19-generic
I get the following message:
C header files matching your running kernel were not found.
Thanks
Additional:
As suggested I run this in terminal:
cd /lib/modules/$(uname -r)/build/include/linux
sudo ln -s ../generated/utsrelease.h
sudo ln -s ../generated/autoconf.h
sudo ln -s ../generated/uapi/linux/version.h
However, now I get the following:
Before you can run VMware, several modules must be compiled and loaded into the kernel CANCEL / INSTALL
I INSTALL, the window closes and nothing happens.... Any ideas?
ADDITIONAL:
I installed this:
sudo apt-get install open-vm-tools open-vm-tools-dev open-vm-dkms open-vm-toolbox open-vm-tools-dev
And it all launched...
Many thanks for the suggestions and help... This is what I love about Ubuntu... it has a great helpful community... !
Note: Also found this which may help others too: HERE
ADDITIONAL ERROR:
Could not open /dev/vmmon: Is a directory. Please make sure that the kernel module `vmmon' is loaded.
Failed to initialize monitor device.
Monitor settings all greyed out
RESOLUTION:
Re-installation of Nvidia Drivers
Hit same problem here with Ubuntu 13.04 last month. At the time, upgrading to VMWare player 5.0.2 build-1031769 solved the problem. Fast forward a month, hit a new problem today after recent 13.04 updates, again VMWare would not start. Latest VM player version is still 5.0.2. Google lead me to this explanation:
http://communities.vmware.com/thread/446490?start=0&tstart=0
Running the following vmware command with root privs solved the problem for me:
HTH
This worked for me:
then
... and you are done.
I installed the suggested packages as above, but it still gave me the same error. Installing the latest VMWare Player solved the problem.
I already had the latest VMWare Player installed with the exact same problem. Simply reinstalling did help, i.e. uninstalling first and then installing again:
I tried all of the solutions above including a fresh install and it still would not start. It still said, "Before you can run VMware, several modules must be compiled and loaded into the kernel CANCEL / INSTALL"
After much research, what I had to do is this: I opened a terminal and then entered:
and then:
and then:
It started right up after that. I hope this helps.
Per the Ubuntu VMWare Player install page, use
sudo apt-get install build-essential linux-headers-$(uname -r)
to install the headers. Then, you can either let it install or you can uninstall and reinstall vmware player.
It looks like the main issue with vmware workstation on 13.04 is compiling modules like vmci.ko. The easiest way to get these is to do
apt-get install open-vm-dkms
. This installs vmci.ko, and friends.YMMV, but if you have trouble with vmci-related errors (in Linux Kernel 3.8.*), this bash script posted by vincent may work. Use it after uninstalling the VMWare product first and then installing again:
Also keep an eye for VMware article in Arch Linux's wiki. This article is mainly for Arch Linux but most of patches/tricks/workarounds can be applied for Ubuntu too.
First, uninstall VMWare workstation using the command
then install the following dependencies dpkg-dev, g++, gcc, lib6-dev, libc-dev, make using the command below
Finally, reinstall VMWare workstation.