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/248521
Step 1 - Update & Upgrade
Code:
sudo apt-get update
sudo apt-get upgrade
Code:
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 TOOLS
And 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.
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
Code:
sudo tar xzvf open-vm-tools-*.tar.gz
cd open-vm-tools-*
sudo ./configure --includedir=/usr/include/uriparser
sudo make
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
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/
Code:
cd /tmp/vmware-tools-distrib/
sudo ./vmware-install.pl
Go 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.deb
Code:
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
0 意見:
張貼留言