Installing VirtualBox Guest Additions on Ubuntu12.10
sudo apt-get install -y dkms build-essential linux-headers-generic cd /media/username/VBOXADDITIONS_4.1.23_80858 ./VBoxLinuxAdditions.run
reference:
http://en.ig.ma/notebook/2012/virtualbox-guest-additions-on-ubuntu-server