1、进入ubuntu16.04系统,在左上角搜索“桌面共享”。
2、进行如下设置:
3、安装vncserver的基础服务,在终端输入:
sudo apt-get install xrdp vnc4server xbase-clients
4、需要取消掉请求加密的功能,否则缺少这一步是无法远程上的,这个时候我们需要安装dconf-editor工具进行配置,在终端输入以下命令:
sudo apt-get install dconf-editor
5、打开dconf-editor工具,在桌面搜索dconf-editor并打开。
6、依次展开org->gnome->desktop->remote-access,然后取消 “requlre-encryption”的勾选。
7、下载远程软件,VNC Viewer客户端,选择64位便携版。
VNC官网:https://www.realvnc.com/en/connect/download/viewer/?lai_sr=0-4&lai_sl=l
8、打开VNC软件,输入要远程的ubuntu的IP,回车。
9、效果如下:
10、使用win11的“远程桌面连接”连接ubuntu。
11、模式选择vnc-any,输入IP和密码,点击OK。
【说明】本文参考链接:https://www.cnblogs.com/xuliangxing/p/7642650.html