Decided to write a post about setting up advanced guest features in a Ubuntu 17.10 guest. Host is Windows 10 Home, running VirtualBox 5.2.6. Some features ‘just work’ (automatic change of screen resolution, mouse integration), as there are some modules included with Ubuntu.
I’m assuming you’ve done the base install, and brought everything up to date etc.
You can configure your clipboard, drag’n’drop, and shared folders in Virtualbox:
but they won’t work without the VirtualBox Guest Additions provided with this version of VirtualBox. Installing the Guest Additions provided by VirtualBox replaces the modules that come as part of Ubuntu. Before we can install them, you need to install some packages. In a terminal:
sudo apt install gcc make perl
It will take a few moments to get the packages and install them. Once it’s done, go to the Devices menu of VirtualBox and click on Insert Guest Additions CD image.
A dialogue box appears asking if you want to auto-run, I clicked cancel. In the terminal again (replace tom with whatever your username is):
I guess the auto-run probably just runs that script, but I like to see the output. Again it will take a few moments. In order for shared folders to work properly, you need to add your username to the vboxsf user group. In the terminal (replace tom with your username):
sudo usermod -a -G vboxsf tom
Reboot the guest and you’ll find that any shared folders are auto-mounted, under /media.