top of page
  • Black Facebook Icon
  • Black Instagram Icon
  • Black Pinterest Icon

Ubuntu 16.04 LTS Virtualbox: Troubleshooting Common Issues and Errors

  • dreamenspyzaddab
  • Aug 11, 2023
  • 6 min read


Here, we provide ready to use Ubuntu 16.04 VirtualBox and VMware images for urgent requirements. The VirtualBox and VMware images are created in such a way that they are less in size but contains all the standard packages required for instant run.


(As of VirtualBox 3.2, the signing key was changed. The old Sun public key for apt-secure can be downloaded here. Likewise, the Oracle public key for distributions older than Debian 8 and Ubuntu 16.04 can be downloaded here.)




Ubuntu 16.04 Lts Virtualbox




Note that importing the key is not necessary for yum users (Oracle Linux/Fedora/RHEL/CentOS) when using one of the virtualbox.repo files from below as yum downloads and imports the public key automatically! Zypper users should run


To set up a virtualbox running Ubuntu Xenial 16.04 LTS on a Mac Host running macOS High Sierra 10.13.2, start by downloading the ubuntu image from While the image is downloading got to the virtualbox webpage at and download virtualbox 5.2.8 by selecting the Mac OS platform package.


After installing the virtualbox we can create a new virtual machine by pressing New. The process to setup a ubuntu virtual machine is quite self explaining and I will mention only some important steps. Just choose a name for example ubuntuBox. Virtualbox should automatically change the Type and Version.


Create a virtual hard disk and select VDI (VirtualBox Disk Image) file type because we will use this virtual machine exclusively with virtualbox and no other hypervisor aka virtual machien software, like parallels or vmm. Set the size to 50 GB. Less than 50 GB will probably work as well but ubuntu takes up around 10 GB and the size increases with installed updates and software like ROS. We choose Dynamically allocated disk type because it helps to keep the physical storage on the mac host small with less software installed.


Next we are going to tweak the virtual hardware specs of our ubuntuBox virtual machine. Therefore, select the machine and press Settings. It is convenient to have a shared clipboard between host and guest system and enable drag and drop. This can be done in the General tab and selecting the two checkboxes.Feel free to explore the different tab settings and increase the number of cores if you have enough. I left this untouched at one core. You might want to have a shared folder to share large files between the mac host and the ubuntu guest. This can be set up in the Shared Folder tab where you can select a folder from your mac host you would like to share. Select path and name for the share and use auto mount to avoid doing this manually on the ubuntu terminal later on. I used my home folder on the mac in this example.


By now the download of Ubuntu 16.04 is hopefully finished. After that you are ready to boot your new virtual machine with the downloaded image inserted. To mount the image, go to the storage tab and select the downloaded ubuntu image. Then start the virtual machine for the first time and wait for the ubuntu setup process to start.


To install ubuntu 16.04 LTS follow the steps on the screen. Make sure your mac host is connected to the internet. This is required to install updates during the installation process of ubuntu. Select a language, region and your keyboard layout. Choose the option to erase the complete (virtual) disk we created in the previous step and install ubuntu on this virtual device. Choose a username and password. After the installation process finished, ubuntu will ask you to reboot the fresh system. Eject the ubuntu image from the virtual disk device and press enter. After the first reboot, it is a good idea to update ubuntu using the following commands:


Next, you have to reboot the system again. To finish the setup of your shared folders, it is necessary to add your user to the vboxsf group. This can be done with the following command in the ubuntu terminal:


Python 3.5 is default in 16.04. Apps that are based on and/or use Python 2 remain available and will continue work as normal. Developers are advised to upgrade their software to take advantage of Python 3.


This post was written on November 2018, so instructions may vary in later versions. I installed VirtualBox 5.2 on Ubuntu 16.04 LTS (Xenial Xerus). The official (and hopefully responsibly updated) instructions are located on this external link.


Lubuntu is distributed on three types of images described below.Desktop imageThe desktop image allows you to try Lubuntu without changing your computer at all, and at your option to install it permanently later. This type of image is what most people will want to use. You will need at least 384MiB of RAM to install from this image.


I have to mention that configuration may differ if you have other host and guest environments. I use Kubuntu 18.04 as my host operating system and VirtualBox as a hypervisor. Here, I show how to configure Ubuntu Server 16.04 and Ubuntu Server 18.04 (two most popular LTS versions of Ubuntu Server now), so as the process is different for them.


I this post we will see How to install and setup Vagrant on Ubuntu 16.04. Vagrant is an open-source software for building and maintaining portable virtual software development environments. Vagrant is an application which enables us in building consistent development environments with ease using Vagrantfile.


Step 4 Install Ubuntu BoxWe can find Vagrant Boxes on the Vagrant Cloud. ubuntu/trusty64 is one of the most popular box (machine), which has nearly 30 million installs. So we will install this box.


  • The SEED Ubuntu 16.04 VM (SEEDUbuntu-16.04-32bit.zip)can be downloaded to your personal computer from the following links: Google Drive

  • DigitalOcean

  • Zhejiang University (China)

  • MD5 value: 12c48542c29c233580a23589b72b71b8

  • VM Manual: follow this manual to install the VM

  • You can also run the SEED VM from a cloud: Amazon AWS: You can find the SEED VM in AWS's community AMIs. Please read the instruction regarding How to Launch SEEDUbuntu VM in AWS. It should be noted that the default password for this VM has been changed (see the same document).



Now, start creating your VMs and manage them from phpvirtualbox dashboard as the way you do in Virtualbox standalone application. As I mentioned earlier, You can access the phpVirtualBox from any system in the same network. All you need is a web browser and the username and password of phpVirtualBox.


Some of you might think why on earth anyone would use phpvirtualbox while we already have a better solution - KVM. This tutorial is mainly for those who get used to Oracle virtualbox. If you prefer KVM over Virtualbox, refer the following guide.


The following packages have unmet dependencies:virtualbox-5.2 : Depends: libqt5x11extras5 (>= 5.6.0) but it is not installableRecommends: libsdl-ttf2.0-0 but it is not installableRecommends: pdf-viewer


Exception Object([message:protected] => DTD are not supported by SOAP ( :80/)[string:Exception:private] =>[code:protected] => 64[file:protected] => /var/www/html/phpvirtualbox/endpoints/api.php[line:protected] => 134[trace:Exception:private] => Array()


Exception Object([message:protected] => Could not connect to host ( :18083/)[string:Exception:private] =>[code:protected] => 64[file:protected] => /var/www/html/phpvirtualbox/endpoints/api.php[line:protected] => 134[trace:Exception:private] => Array()


Having trouble accessing the VMs using rdp. I have tried to create my own RDP connection, and I have clicked on the port number in phpvirtualbox to get a rdp config downloaded. I have updated the IP address to the servers real address, but still can not get a connection to run. I just get the following error.1. Remote access to the server is not enabled2. The Remote Computer is turned off3. The remote computer is not available on the network.


Hi,Can you help with konfiguration vbox, that the virtual machine start automatically when start or reboot system?I have only one virtual-machine (home assistant) and all is on ubuntu 18.04 server


We are still using old JDK 6u45 for some legacy projects. The installation of the JDK is automated in Ubuntu 16.04.2 LTS VirtualBox virtual machine. Everything worked fine using the 'sudo apt-get install oracle-java6-installer' until yesterday.


This video shows Ubuntu 16.04 being installed on a VirtualBox virtual machine. This video does not provide detailed instructions. This video is intended to be used a reference for your own VirtualBox installation of Ubuntu 16.04 LTS Server or Desktop edition.


To set up the Linux VM, I will use Ubuntu 16.04.2 LTS Linux distribution ( ). The reason I have chosen Ubuntu is that most of the tools covered in this book are either preinstalled or available through the apt-get package manager. The following is a step-by-step procedure to configure Ubuntu 16.04.2 LTS on VMware and VirtualBox. Feel free to follow the instructions given here depending on the virtualization software (either VMware or VirtualBox) installed on your system:


Started out with some small problems with 16.04.3 in virtual box up date and would not let me Update the program . . Then it started having problems connecting to the 3D printer so I Upgraded to 16.10 did a format and started over Seems 16.10 will NOT TALK to 3D printer at all and installing Virtual Box to run windows in LOL NOT TODAY . . Went to 17.04 and did total re format eaerased drive and all and it got worse . . Oh yeah 64 bit versions . . I have went back to 15.10 and the Updates to it are gone from the repository so it can not be up updated and run any thing else , , !So now what . . ?


The problem only occurs if I have 3D acceleration enabled in Virtualbox and it occurred with both Ubuntu 16.04 and 17.10 hosts. It only occurs at Ubuntu 16.04 guests, the problem does not occur in Ubuntu 17.10 nor in other Linux distros including Ubuntu Mate and Xubuntu. I use Virtualbox 5.2.6 with Guest Additions 5.2.7 as recommended by Oracle on their website. 2ff7e9595c


 
 
 

Recent Posts

See All
Angry Birds Seasons 5.3 2 apk

Angry Birds Seasons 5.3 2 APK: um jogo divertido e festivo para todas as idades Introdução Se você está procurando um jogo divertido e...

 
 
 

Kommentare


bottom of page