Installing VMware tools for a Ubuntu guest

VMware Tools is a suite of utilities that enhances the performance of a virtual machine’s guest operating system. Begin by setting up a new virtual machine and installing Ubuntu 6.06 LTS as the guest operating system. Start the virtual machine and log in as a user belonging to the admin group. You are now ready to install VMware Tools. Get the necessary packages with the following command:

user@ubuntu:~$ sudo apt-get install build-essential linux-headers-`uname -r`

Become root and create a symbolic link with the following commands:

user@ubuntu:~$ sudo su
root@ubuntu:/home/user# ln -s /usr/src/linux-headers-`uname -r` /usr/src/linux

On the host, select Virtual Machine > Install VMware Tools… from the VMware Workstation menu. After the guest has mounted the VMware Tools installation virtual CD, change the active directory and copy the VMware Tools archive with the following commands:

root@ubuntu:/home/user# cd /root/
root@ubuntu:~# cp /media/cdrom/VMwareTools-7.6.3-87978.tar.gz /root/

Extract the contents of the archive and then change the active directory with the following commands:

root@ubuntu:~# tar -zxvf VMwareTools-7.6.3-87978.tar.gz
root@ubuntu:~# cd vmware-tools-distrib/

Invoke the install script with the following command, choose to install the binary files in /usr/local/bin and and set your desired screen resolution:

root@ubuntu:~/vmware-tools-distrib# ./

Restart your virtual machine.,