Use a GUI with Ubuntu Linux on AWS EC2
参考视频 : Youtube Onedrive
首先使用xshell远程登录到服务器
分别将以下shell命令复制粘贴到Ubuntu的终端中
sudo apt update && sudo apt upgrade
sudo sed -i 's/^PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/sshd_config
sudo /etc/init.d/ssh restart