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

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/libglib-2.0.so.0/libglib-2.0.so.0 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/libglib-2.0.so.0/libglib-2.0.so.0
set -e

ETCDIR=/etc/vmware
. $ETCDIR/bootstrap

export PRODUCT_NAME="VMware Player"
libdir="$LIBDIR"/vmware

# 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" "$@"
fi

# 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
fi

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

exit 1

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

... and of an Ubuntu 11.04 desktop:

 

3 Links

Share this page:

5 Comment(s)

Add comment

Comments

From: Anonymous at: 2011-11-03 23:29:52

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

From: Heath A at: 2011-12-17 18:28:59

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!!

From: John at: 2012-01-12 15:28:28

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.

From: rezaperdana7 at: 2013-07-27 00:57:57

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

From: Anonymous at: 2014-01-26 16:24:37

Very Helpfull and very clear,,, Thanks Alot man