In this exercise, I'll show you how to install Guest Additions on your Linux Ubuntu virtual machine. I'm using a Windows XP host, but it doesn't matter if you're using Windows, Linux, or Solaris as the host operating system because the process to install Guest Additions on a Linux virtual machine is nearly the same!
UbuntuVBvirtual machine. After logging into Ubuntu with your user account, open a terminal window, and type
sudo apt-get install dkms, followed by Enter. Then follow the instructions on screen to install the DKMS package. Once installed, close the terminal window.