VirtualBox Setup
Some Personal Preferences and Troubleshooting
Updated: 03 September 2023
VirtualBox Bugs
Guest Additions
If anything like shared clipboard, screen resizing, and shared folders doesn’t work be sure to do the VirtualBox Guest Additions CD, the link to install this can be found in Devices > Insert Guest Additions CD...
and then insert and install that.
If you encounter the following error:
You will need to run the following commands
And then Resinstall the Guest Additions CD
SSH into Guest from Host
The instructions are from this Stackoverflow post
On your Host, go to VM > Settings > Network
and ensure that it is set to NAT, then click on Advanced > Port Forwarding
and add a new Rule, make the rule Name ssh
and set the Host Port to 3022
, leave the rest blank
Also be sure to install an SSH server on the VM with
And finally SSH into the VM with
where user
is the VM username
Port Forwarding
VirtualBox lets you do Port Forwarding simply by going to VM > Settings > Network > Advanced > Port Forwarding