Last Update:
2009/04/25
Environment:Vista
VMWare 6.5.0 build-118166
Ubuntu 8.10 Desktop Version
Ref:[1]
http://ubuntuforums.org/showthread.php?t=987631[2]
http://open-vm-tools.sourceforge.net/[3]
https://edge.launchpad.net/ubuntu/intrepid/i386/xserver-xorg-input-vmmouse/[4]
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-vmmouse/+bug/248521Step 1 - Update & UpgradeCode:
sudo apt-get update
sudo apt-get upgrade
Step 2 - Prepare Compile Environment for VMWARE TOOLSCode:
sudo apt-get install build-essential linux-headers-$(uname -r) psmisc
sudo apt-get install gcc binutils make wget
Step 3 - Prepare Compile Environment for OPEN VM TOOLSAnd for the hack with the open tools I also installed the following (although some of these were found on sites describing what's needed for Ubuntu with a GUI, some might be unnecessary):
Code:
sudo apt-get install libgtk2.0-dev libgtkmm-2.4-dev
sudo apt-get install libproc-dev libdumbnet-dev xorg-dev
cd /tmp
sudo mkdir liburiparser
cd liburiparser
sudo wget http://ftp.ie.debian.org/debian/pool/main/u/uriparser/liburiparser1_0.7.4-1_i386.deb
sudo wget http://ftp.ie.debian.org/debian/pool/main/u/uriparser/liburiparser-dev_0.7.4-1_i386.deb
sudo dpkg -i liburiparser1_0.7.4-1_i386.deb
sudo dpkg -i liburiparser-dev_0.7.4-1_i386.deb
sudo apt-get install libicu-dev
Notice: You need to go
http://ftp.ie.debian.org/debian/pool/main/u/uriparser/ to find and
download the latest version of liburiparser corresponding with your VM hardware.
Step 4 - Compile & Install OPEN VM TOOLS
Go to /tmp and download the open source version of the tools from
http://open-vm-tools.sourceforge.net/.
Code:
sudo wget http://internap.dl.sourceforge.net/sourceforge/open-vm-tools/open-vm-tools-2009.04.23-162451.tar.gz
Unpack and build the open-vm-tools:
Code:
sudo tar xzvf open-vm-tools-*.tar.gz
cd open-vm-tools-*
sudo ./configure --includedir=/usr/include/uriparser
sudo make
Step 6 - Compile & Install VMWARE TOOLS
In the VMware management console, right click on the VM and tell VMware to install the VM tools then copy the tools:
Code:
sudo mount /media/cdrom0
sudo cp -a /media/cdrom0/VMwareTools*.gz /tmp/
cd /tmp/
sudo tar -xzvf VMwareTools*.gz
From the open source modules/linux folder we have the vmblock, vmhgfs, vmmemctl, vmsync and vmxnet modules that we need to tar up and place into the official VMware tools tarball:
Code:
cd /tmp/open-vm-tools-*/modules/linux/
for i in *; do sudo mv ${i} ${i}-only; sudo tar -cf ${i}.tar ${i}-only; done
cd ../../..
sudo mv -f open-vm-tools-*/modules/linux/*.tar vmware-tools-distrib/lib/modules/source/
Now we can run the regular VMware tools installer accepting all the defaults:
Code:
cd /tmp/vmware-tools-distrib/
sudo ./vmware-install.pl
Step 6 - Install Mouse DriverGo
https://edge.launchpad.net/ubuntu/intrepid/i386/xserver-xorg-input-vmmouse and download
http://launchpadlibrarian.net/19327138/xserver-xorg-input-vmmouse_12.5.1-1ubuntu5.1_i386.debCode:
sudo wget http://launchpadlibrarian.net/19327138/xserver-xorg-input-vmmouse_12.5.1-1ubuntu5.1_i386.deb
sudo dpkg -i xserver-xorg-input-vmmouse_12.5.1-1ubuntu5.1_i386.deb
Done ! Try IT !...
read more