Installing VMware Tools in Ubuntu 8.10

Author

Bill Giannikos

Introduction

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.

Installing VMware Tools

Preparing your system

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.

Installing the tools


Now in VMware Workstation go up to the VM menu item and then select “Install VMware Tools…”. You will now see a screen open in the guest however we do not need this screen so it can be closed.

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.

Configuring VMware Tools

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.

Running the VMware tools configuration program

Again in the terminal window type in the following (and enter your password if requested).

sudo vmware-config-tools.pl

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.

Patching vmware-config-tools.pl

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.

Enabling VMware Tools on startup

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”.


You will now be presented with this window. Click on the “Add” button.


You will be presented with the “Add Startup Program” window. Enter the details as they appear in the screenshot above and then click on “Add”. Then click on “Close” on the Sessions window.

And finally restart your computer.

Conclusion

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.


Discussion

Enter your comment. Wiki syntax is allowed:
If you can't read the letters on the image, download this .wav file to get them read to you.
 
installing_vmware_tools_in_ubuntu_8.10.txt · Last modified: 2009/03/03 05:48 by billg
Contact Us Sister Sites Privacy Policy Terms of Use
Copyright © 2006-2013 Linlap.com and other authors