Guest Additions problem in VirtualBox
Step-up:
Host: Windows 7
Guest: Ubuntu 14.04
Virtual Box: 4.3.26
Note: If you are using the latest version of VirtualBox, make sure that the running Ubuntu version has the required package (virtualbox-dkms). Like in my case Ubuntu 14.04 (trusty) is not supported VirtualBox 5.0.
http://packages.ubuntu.com/search?keywords=virtualbox-dkms+&searchon=names
Step 1. Check Running kernel and header version, both should be matched.
uname -r && dpkg — get-selections | grep linux-headers
If both commands show different version, running the following command
sudo apt-get install linux-headers-$(uname-r)
Step 2. Mount Guest Additions CD. In Windows path will be C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions . You can also download the Guest Addition image from Guest Additions .
Step 3. Mount Guest Additions ISO in the guest system.
In Windows : VirtualBox → Settings → Storage → CD /DVD drive → chose virtual host CD — -> Navigate to (C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions) and select.
Or if you downloaded image on Ubuntu:
#sudo mount VBoxGuestAdditions_X.iso /mnt ; cd /mnt/VBOXADDITION_X/; ./VBoxLinuxAdditions.run
Step 4. Reboot your Guest system.
Special Note: Might be you need to run extra steps depends on your system.