VMware Workstation 7.1.4, Ubuntu 11.04 and Unity

Three days back I installed Ubuntu 11.04 Beta onto my work machine. I tried getting Workstation to work but it kept crashing. In Unity session, it would start up and even start the VMs but would keep crashing on trying to switch to the VM console. In gnome session workstation would startup, switch to console session but crash while trying to move files in and out of the VM.

Version 7.1.3 has known issue with running in the new Unity session and v7.1.4 was supposed to fix this. Going by some comments online, it has seemed to fix it in many cases to. For me it just wasnt working. After looking around for a while I found a workaround on VMware community forums. For making VMware Workstation 7.1.4 with work with Ubuntu 11.04 in Unity Session, just start it from cli as follows:

$ export LD_PRELOAD=/usr/lib/vmware/lib/libglib-2.0.so.0/libglib-2.0.so.0
$ vmware

This fixes the glib related errors that were crashing the software and you can start using your VMs. See this forum thread for more information.

 

4 Replies to “VMware Workstation 7.1.4, Ubuntu 11.04 and Unity”

  1. This also works for me in Ubuntu 11.04 with an Nvidia GTX460 video card. I was crashing every time I activated a guest, and this workaround seems to have corrected the problem.

  2. OMG! I reinstalled Natty because VMWare keeps on crashing like you described. It still crashes btw after I reinstalled. After trying out what you say to do, it works! This fix also works for Ubuntu Classic.

    Now I’m wishing I didn’t reformat and reinstall my Natty…

Leave a Reply

Your email address will not be published. Required fields are marked *