How To Install VMware Player On Ubuntu 11.04/Linux Mint 11 - Page 2

On this page

  1. 3 Links

VMware Player is now being installed:

Click on the Close button afterwards to leave the installation wizard:

Afterwards you can start VMware Player by going to System Tools > VMware Player:

If you launch VMware Player for the first time, you have to accept its license:

This is how VMware Player looks. You can now build your own virtual machines with it or start existing virtual machines.

If you encounter problems starting an existing virtual machine (i.e., the virtual machine crashes soon after you start it), open /usr/bin/vmplayer...

sudo gedit /usr/bin/vmplayer

... and add the line export LD_PRELOAD=/usr/lib/vmware/lib/ before the set -e line:

#!/usr/bin/env bash
# Copyright 2005-2008 VMware, Inc.  All rights reserved.
# Wrapper for the real 'vmplayer' binary. Ensure that the
# binary will find all the shared libraries it needs. If a shared
# library is not available from any of the standard system-wide
# locations, we provide it from the location where the VMware software
# is installed.
export LD_PRELOAD=/usr/lib/vmware/lib/
set -e

. $ETCDIR/bootstrap

export PRODUCT_NAME="VMware Player"

# If there are command line arguments like -version, launch the binary without
# checking configuration state or running the module updater.
if echo "$1" | grep -q "^-"; then
   exec "$libdir"/bin/"vmplayer" "[email protected]"

# Only run the GUI if DISPLAY is set.
if [ -z "$DISPLAY" ]; then
   echo "DISPLAY is not set, unable to open the $PRODUCT_NAME user interface."
   exit 1

if "$BINDIR"/vmware-modconfig --appname="VMware Player" --icon="vmware-player" &&
   /sbin/modinfo vmmon; then
   exec "$libdir"/bin/"vmplayer" "[email protected]"

exit 1

Here are screenshots of a Debian Squeeze Server running under VMware Player...

... and of an Ubuntu 11.04 desktop:


Share this page:

Suggested articles

5 Comment(s)

Add comment


By: Anonymous

I have had some issues under Ubuntu 11.04 where it's corrupting XP guests. Have you  had any issues with this?

By: Heath A

This was a great tutorial.  The 4.0 version of VMware Player requires a slightly different command to download the VMware packages.

sudo apt-get install build-essential linux-headers-$(uname -r) 

 Outside of that, this tutorial was perfect.  Thanks!!

By: John

Absolutely was great. I am a noob to linux, running linux mint 12. I downloaded the vmplayer 4, and just copy and pasted the commands given on page one of tutorial. It installed quickly and easily. Thanks for your efforts.

By: rezaperdana7

Great tutorial. I used the VMWare 5.02 and some installing operation need root access and your tutorial is much help

By: Anonymous

Very Helpfull and very clear,,, Thanks Alot man