Here is a snippet however showing how to install VMware's VM-Tools package in the Ubuntu JeOS guest.
Installing VMware Tools
VMWare Tools will allow to have a better control of our appliance by the VMware environment, so it is a pretty good idea to set it up. For Ubuntu 8.04 you will have to get VmwareTools version 6.0.3 or later, 6.0.2 won't compile.
* First setup our environement by installing the build tools:
sudo aptitude install build-essential linux-headers-$(uname -r)
* Next install the package psmisc to get killall that is required by the VMware tools
sudo aptitude install psmisc
*Next should ask VMware to mount the VMwareTools CD by clicking on VM > Install VMware Tools… in the VMware Server menu.
* Mount the cdrom
* copy the tools to the tmp directory and uncompress them
sudo cp -a /media/cdrom0/VMwareTools*.gz /tmp/
sudo tar -xzvf VMwareTools*.gz
* run the vmware-install.pl script accepting all the defaults