安装xfce,xrdp
在连接ubuntu的终端中执行命令
sudo apt install xfce4
sudo apt install xrdp
设置默认桌面
在连接ubuntu的终端中执行命令
sudo update-alternatives --config x-session-manager
选择 xfce4-session
3. 启动xrdp
在连接ubuntu的终端中执行命令
sudo service xrdp start
4. 打开windows 远程桌面程序
键入:win+r,输入:mstsc
计算机输入 localhost:3389
输入ubuntu 用户名和密码