Website | Source: svn co https://www.virtualbox.org/svn/vbox/trunk vbox
| Download | Docs
sudo apt update && sudo apt upgrade -y
sudo apt install xrdp xfce4 xfce4-goodies -y
echo xfce4-session > ~/.xsession
sudo systemctl enable xrdp
sudo systemctl start xrdp
"With that out of the way, it's time to configure VirtualBox's networking parameters to access the VM remotely. Shut down the VM. In VirtualBox, select your VM and go to Settings > Network. Set Adapter 1 to NAT. Then, click on Port Forwarding. Next to Rule 1, set the Protocol to TCP, Host Port to 3389, and Guest Port to 3389. Leave the other fields blank and click on OK to save."
Last modified 15 September 2025