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

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Wed, 2011-08-31 16:46. ::

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


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by Anonymous (not registered) on Sun, 2014-01-26 17:24.
Very Helpfull and very clear,,, Thanks Alot man
Submitted by rezaperdana7 (not registered) on Sat, 2013-07-27 01:57.
Great tutorial. I used the VMWare 5.02 and some installing operation need root access and your tutorial is much help
Submitted by Heath A (not registered) on Sat, 2011-12-17 19:28.

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

Submitted by John (not registered) on Thu, 2012-01-12 16: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.
Submitted by Anonymous (not registered) on Fri, 2011-11-04 00:29.
I have had some issues under Ubuntu 11.04 where it's corrupting XP guests. Have you  had any issues with this?