Windows系统远程桌面登录Ubuntu21.04

Windows系统远程桌面登录Ubuntu21.04

  • 1. 概述
  • 2. 在Ubuntu操作系统上
    • 2.1 安装必要软件
    • 2.2 确保Ubuntu的远程桌面共享打开
    • 2.3 使用dconf-editor来取消某些权限限制
  • 3. 在Windows10系统上
    • 3.1 Windowsn自带的mstsc程序远程登录Ubuntu

1. 概述

我们的主要目的是,在Windows系统上通过远程桌面操作Ubuntu21.04。
本文档参考了这篇文章[https://www.cnblogs.com/xuliangxing/p/7642650.html]

2. 在Ubuntu操作系统上

2.1 安装必要软件

sudo apt-get install xrdp
sudo apt-get install vnc*
sudo apt-get install xbase-clients
sudo apt-get install dconf-editor

2.2 确保Ubuntu的远程桌面共享打开

打开设置,选择Sharing,确保Screen Sharing的状态是Active
Windows系统远程桌面登录Ubuntu21.04_第1张图片
Screen Sharing的设置界面:
注意:要确保Windows和Ubuntu两台PC要在同一局域网,否则,这个界面无法设置
Windows系统远程桌面登录Ubuntu21.04_第2张图片

2.3 使用dconf-editor来取消某些权限限制

找到这个程序:
Windows系统远程桌面登录Ubuntu21.04_第3张图片
打开这个程序:
Windows系统远程桌面登录Ubuntu21.04_第4张图片
选择org->gnome->desktop->remote-access,在这个目录下只有:rdp和vnc
Windows系统远程桌面登录Ubuntu21.04_第5张图片
rdp:
Windows系统远程桌面登录Ubuntu21.04_第6张图片
vnc:
Windows系统远程桌面登录Ubuntu21.04_第7张图片

3. 在Windows10系统上

3.1 Windowsn自带的mstsc程序远程登录Ubuntu

搜索mstsc
Windows系统远程桌面登录Ubuntu21.04_第8张图片
打开远程桌面连接:
Windows系统远程桌面登录Ubuntu21.04_第9张图片
注意:不要输入用户名,否则连接失败!

点击连接按钮,在弹出的对话框中,点击"是"按钮
Windows系统远程桌面登录Ubuntu21.04_第10张图片
弹出,如下界面:
Windows系统远程桌面登录Ubuntu21.04_第11张图片
设置如下,ip是Ubuntu主机的ip,password是用户名yc的登录密码
Windows系统远程桌面登录Ubuntu21.04_第12张图片
点击OK后,成功远程登录Ubuntu:
Windows系统远程桌面登录Ubuntu21.04_第13张图片

你可能感兴趣的:(工具,远程桌面Ubuntu)