https://www.linuxidc.com/Linux/2016-12/138600.htm
多次嘗試失敗後終於被拯救了!!感恩!!記錄一下防止以後找不到
=============================================================
Ubuntu16.04端:
1、打開終端,安裝xrdp,vncserver
sudo apt-get install xrdp vnc4server xbase-clients
2、安裝desktop sharing(Ubuntu16.04默認已經安裝),可以到應用商店下載。打開desktop sharing,設置如下:
3、安裝安裝dconf-editor,取消權限限制:
sudo apt-get install dconf-editor
dconf-editor設置:org > gnome > desktop > remote-access,取消 “requlre-encryption”
Windows 10端:
運行->mstsc,輸入Ubuntu的ip地址($ ip address),點擊連接。
選擇vnc-any,輸入Ubuntu的ip地址,端口不變(5900),桌面共享設定的密碼,即可遠程連接到ubuntu 16.04桌面。