1. sudo apt install xrdp
2. 配置
sudo vim /etc/xrdp/startwm.sh
把最下面的test和exec两行注释掉,添加一行
gnome-session
3.安装dconf-editor :
sudo apt-get install dconf-editor
关闭require encrytion?
org->gnome->desktop->remote access->require encrytion?
如果安装完 dconf-editor 打不开使用如下命令
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
reboot
4.关闭重启screen sharing
5. reboot
6. window 远程ubuntu