After installing Xubuntu inside virtualbox, you need to install the guest additions to get better hardware functionality inside it. These include full screen resolution, mouse wheel and pointer integration, copy paste from host os (shared clipboard), shared folders etc.
There are 2 ways to install the virtualbox guest additions on Xubuntu. The first method is easy and you just need to install a package from synaptic while the second method is to compile it. The second method is easy too, just involves a few steps.
1. Install kernel headers and build tools
Virtualbox guest additions are compiled for the target system, so it needs the necessary kernel headers and related programs. Install the following 2 packages.
$ sudo apt-get install build-essential module-assistant
$ sudo m-a prepare
2. Compile virtualbox guest additions
Now click "Devices > Insert guest additions CD image" in the virtualbox window. This will insert the guest additions cd image into the guest OS (xubuntu here). The cd should get mounted automatically inside the /media directory.
The path should be similar to something like this
If it does not mount by itself, then you can manually mount it. Find out the device using blkid and then use the mount command to mount it somewhere in...
Read full post here
How to install Virtualbox guest additions on Xubuntu 14.04