VirtualBox Headless on Ubuntu 16.04

IT Tips
This guide explains how you can run virtual machines with VirtualBox 5.1 on a headless Ubuntu 16.04 server. Normally you use the VirtualBox GUI to manage your virtual machines, but a server does not have a desktop environment. Fortunately, VirtualBox comes with a tool called VBoxHeadless that allows you to connect to the virtual machines over a remote desktop connection, so there's no need for the VirtualBox GUI. 1 Preliminary Note I have tested this on an Ubuntu 16.04 server (host system) where I'm logged in as a normal user. 2 Installing VirtualBox To install VirtualBox 5.1 on our Ubuntu 16.04 server, we add virtualbox sources to apt ... echo 'deb xenial contrib' | sudo tee /etc/apt/sources.list.d/virtualbox.list Then we download the VirtualBox public key... wget -q -O- |…
Read More