I just upgraded my work machine from Ubuntu 9.04 (Jaunty) to 9.10 (Karmic) and came across a couple of problems with VMware Player (version 2.5.3 build-185404). It seemed wise to document the fixes I found here so that other people experiencing the same problems might find these solutions when they Google for it.
The first was an error when it tried to launch my VM complaining that the virtualisation extensions of my CPU were already in use, saying “The virtualization capability of your processor is already in use. Disable any other running hypervisors before running VMware Player.” and then a number of other errors. This was fixed by removing the KVM kernel modules:
$ rmmod kvm_intel kvm
The second problem was that the VMware window would lose its mouse capture whenever I moved the mouse pointer outside the top-left of the VM screen (apparently a 640×480 region), unless I had a mouse button held down. This made it impossible to actually use the VM. This was eventually fixed by adding the following line to /etc/vmware/bootstrap:
export VMWARE_USE_SHIPPED_GTK=yes
This forces VMware Player to use its own version of the GTK library rather than the Ubuntu one, which apparently avoids the mouse grab bug.




Thanks for the post Andrew. After I upgraded from Ubuntu 9.04 to 9.10 yesterday, VMWare Player 2.5.2 stopped working. So I upgraded to VMWare Player 2.5.3 build-185404 and the mouse input couldn’t be grabbed outside the 640×480 region. Adding the configuration option to vmware’s bootstrap file worked just fine for me.
Comment by Aseem Bajaj — 4 November 2009 @ 12:05 pm
Great, I am glad that my post helped someone so soon.
Comment by qwandor — 4 November 2009 @ 12:37 pm
Thanks, saved my day.
Comment by Mikael — 5 November 2009 @ 7:10 pm
Thanks for the tip. It put an end to a very annoying morning
Comment by Josh — 10 November 2009 @ 12:32 am
Thanks
Comment by jlello — 13 November 2009 @ 8:26 am
Thanks! I owe you a beer!
Now if you can tell me how to get vmware-server 1.x to compile it’s modules and run under Karmic’s 2.6.31 kernel, I’d owe you the whole keg! I’m only using the player because the Jaunty->Karmic upgrade broke vmware-server. The only fix for that I’ve seen so far involves patching and compiling a customer kernel. If I wanted to do that I’d be running slackware.
Thanks again, great tip.
Comment by Freeman — 22 November 2009 @ 12:49 am
that should be “custom kernel”. shoulda proofread…
Comment by Freeman — 22 November 2009 @ 12:51 am