Skip to content

Virtual box 6.0 in Mint 19


Create /etc/apt/sources.list.d/virtualbox.list to add VirtualBox repository.

According to Virtual box documentation format is

deb <mydist> contrib

Check repositories version list.

For Mint 19 you need extra configuration, like this:

cat <<EOF | sudo tee /etc/apt/sources.list.d/virtualbox.list
### LinuxMint 19 (there is no i386 support) ###
deb [arch=amd64] bionic contrib


For Mint 20:

cat <<EOF | sudo tee /etc/apt/sources.list.d/virtualbox.list
### LinuxMint 20 (there is no i386 support) ###
deb [arch=amd64] focal contrib


Then download Oracle public key:

mkdir -p ~/install/virtualbox &&
cd ~/install/virtualbox/ &&
wget -q

Then ensure Key is valid:

gpg --with-fingerprint ./oracle_vbox_2016.asc
cd -

According to ( result should be:

B9F8 D658 297A F3EF C18D  5CDF A2F6 83C5 2980 AECF
Oracle Corporation (VirtualBox archive signing key) <>

If everything is okay then you can add this key to your local thrust store.

sudo apt-key add ~/install/virtualbox/oracle_vbox_2016.asc

Then you can install virtualbox

Be sure to not have any virtualbox machine running.

sudo apt update && sudo apt install -y virtualbox-6.0


Configure access rights

Add yourself (and any user that should be able to use VirtualBox) to vboxusers group.

sudo adduser "${USER}" vboxusers

Using VirtualBox through SSH

Display VMS IDs

vboxmanage list vms

Result look like:


Start VM

vboxheadless --startvm "ID"

Show VM interface

rdesktop-vrdp VM_HOST_IP:3389