View more guides at Linux Wiki Guides
In this guide we will be going through the process of correctly installing VMware Tools in Ubuntu 8.10. This guide assumes you have already installed VMware Workstation, have installed Ubuntu 8.10 as a guest and have installed all the latest system updates for the guest.
To begin, unmount and eject any CD/DVD currently connected to your guest. If you have a CD/DVD mounted to your guest you will see a CD icon on your desktop, just right click on this and press eject.
We now need a terminal window to enter a few commands. Go to “Applications” at the top left of your guest, then “Accessories” and then click on “Terminal”.
In the terminal type in the following lines:
cd /tmp tar -xzvf /media/cdrom/*tar.gz cd vmware-tools-distrib sudo ./vmware-install.pl
The last line here will ask for your password, type it in and press enter.
You will now be asked a few installation questions from the VMware Tools installer. Nearly all the default options are correct so you can just press enter for each question except for the last one which asks if you would like to invoke the “/usr/bin/vmware-config-tools.pl” program. Type in no for this question and press enter. The installation of VMware Tools is now complete and now can be configured.
First we need to install the building packages. Typically these are already installed on most systems but it wont hurt to make sure. Type in the following command:
sudo apt-get install build-essential
You will likely be asked your password, type it in now and press enter. You will then be asked if you would like to continue, press enter.
Now comes time to initiate the VMware tools configuration utility. This part can get tricky as at time of writing you need to patch the configuration program so it properly installs in Ubuntu 8.10. However a future update to VMware Workstation or Ubuntu 8.10 may alleviate this issue. To work around this we will just go ahead and run the configuration program and then if it fails we will patch it.
Again in the terminal window type in the following (and enter your password if requested).
Like the installation program above, you can press enter to all the options except when you get down to the display size option. If you are planning to use your guest in full screen mode then select the same display resolution that Windows is currently using. Otherwise select any resolution you want your guest to run at. To select your resolution, see the corresponding number next to the resolution you want on the list of resolutions you are presented with. Type this number in and press enter.
During the configuration process make special note when you see “vsock” being installed. If this fails to install follow the next section to patch the configuration program.
If the “vsock” section failed to install then we will need to patch the configuration program. To do this type in the following:
cd /tmp wget http://www.linlap.com/wiki/_media/vmware-config-tools.pl.patch cd / sudo patch -p1 < /tmp/vmware-config-tools.pl.patch
You may be asked for your password on the last command, enter it if needed.
You are now ready to rerun the configuration program again, just follow the “Running the VMware tools configuration program” section above.
To complete the installation we need to tell Ubuntu to load VMware tools on startup.
Go up to “System” at the top of your screen, then select “Preferences” and then click on “Sessions”.
And finally restart your computer.
VMware Tools is now installed and your guest is fully configured to run as a virtual machine. Please note however that if Ubuntu release an updated kernel you will need to follow the “Running the VMware tools configuration program” section again.