Resolving Mouse Issues with the XORG.CONF File
While the 3D acceleration issue is common, it is not the only fault that can prevent the installation of Ubuntu in VirtualBox.
More common are issues with the mouse, preventing you from interacting with the installed server. This creates the impression of a failed setup, when in actual fact everything has gone as planned.
In order to resolve input-related issue, you will need to install the VirtualBox Guest Additions software. You can start the process of adding this by starting the virtual machine and then opening Devices > Install Guest Additions… and following the displayed instructions.
It shouldn't be long before you have the Guest Additions software installed, and you will then be ready to edit the xorg.conf file. But hold on - if the GUI won't accept input from the mouse, how do we force it to recognize that we're trying to login?
The answer is to take advantage of the command line in VirtualBox. This can be accessed by pressing the Host Key + F2 (the Host Key is whatever is selected to switch control from the virtual machine to your host operating system).
Once you have access to the command line, you will need to issue a command to open the xorg.conf file:
Now that you have opened the xorg.conf file, make sure the following code is added:
Option "Device" "/dev/input/mice"
You should then save and close xorg.conf and restart the virtual machine. Ubuntu should now load without any further problems!