Debian: Installing VirtualBox Guest Additions

The below works with Debian 8.2 (codename "jessie") and VirtualBox 5.0.0.

From the Device menu of the VM window select Install Guest Additions CD image....

Execute the following as the user root:

apt-get install "linux-headers-$(uname -r)" module-assistant xserver-xorg xserver-xorg-core
m-a prepare
mount /dev/cdrom /mnt
sh /mnt/
umount /dev/cdrom

Vadim Penzin, September 8th, 2015

I hereby place this article into the public domain.
You are welcome to contact me by writing to howto at this domain.
I publish this information in the hope that it will be useful, but without ANY WARRANTY.
You are responsible for any and all consequences that may arise as the result of using this information.