亲测有效的win10远程连接ubuntu16.04方法

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桌面。