以下是在VirtualBox中对Ubuntu虚拟机进行远程控制的几种方法:
sudo apt update,sudo apt install openssh-server。sudo systemctl start ssh,sudo systemctl enable ssh。ip addr show查看虚拟机IP地址。sudo apt update,sudo apt install tightvncserver。vncserver :1。~/.vnc/xstartup文件。sudo ufw allow 5901。sudo apt update,sudo apt install xrdp。sudo systemctl enable --now xrdp。sudo ufw allow 3389。