After you installed some Linux distro in a new VM, you better install the VirtualBox Additions, which will improve the mouse and keyboard integration between the host and the guest, among some other performance enhancements. These are the steps:

A couple packages are required to build the Additions program: linux-headers for your current kernel version (check with "uname -a") and the C compiler gcc.