ubuntu20.04支持win10远程桌面连接

1. 安装xrdp

复制代码
sudo apt install xrdp 

2. 检查xrdp状态

复制代码
sudo systemctl status xrdp

要处于running状态

3.(若为Ubuntu 20) 添加xrdp至ssl-cert

复制代码
sudo adduser xrdp ssl-cert  

4. 重启服务

复制代码
sudo systemctl restart xrdp

5. window 远程桌面连接,输入IP ,Use name

即可正常登录。

登录后,如果经常有如下提示

解决方案:

比较安全的办法就是创建一个配置文件

**  1. 第一步,随便打开一个终端,输入以下命令:**

复制代码
sudo nano /etc/polkit-1/localauthority/50-local.d/45-allow-colord.pkla

**  2. 第二步,把以下内容复制粘贴过去:**

复制代码
[Allow Colord all Users]
Identity=unix-user:*
Action=org.freedesktop.color-manager.create-device;org.freedesktop.color-manager.create-profile;org.freedesktop.color-manager.delete-device;org.freedesktop.color-manager.delete-profile;org.freedesktop.color-manager.modify-device;org.freedesktop.color-manager.modify-profile
ResultAny=no
ResultInactive=no
ResultActive=yes

**  3. 第三步,保存并退出:**

先按 Ctrl + X , 然后按 Y , 最后 回车

4. 可通过 sudo cat /etc/polkit-1/localauthority/50-local.d/45-allow-colord.pkla

查看是否有上述内容。

5.重启再次登录就没有提示喽。。。

相关推荐
独自归家的兔41 分钟前
ubuntu系统安装dbswitch教程 - 备份本地数据到远程服务器
linux·运维·ubuntu
ONE_SIX_MIX44 分钟前
ubuntu 24.04 用rdp连接,桌面黑屏问题,解决
linux·运维·ubuntu
老师用之于民17 小时前
【DAY21】Linux软件编程基础&Shell 命令、脚本及系统管理实操
linux·运维·chrome·经验分享·笔记·ubuntu
qinyia21 小时前
通过本地构建解决Cartographer编译中absl依赖缺失问题
linux·运维·服务器·mysql·ubuntu
郝亚军21 小时前
ubuntu启一个udp server,由一个client访问
linux·ubuntu·udp
予枫的编程笔记1 天前
【Linux入门篇】Linux入门不踩坑:内核、发行版解析+环境搭建全流程
linux·ubuntu·centos·vmware·xshell·linux入门·linux环境搭建
hampeter1 天前
【填坑指南】Trae/VS Code 远程连接 Ubuntu,终端总是自动激活特定的 Conda 环境?三招教你彻底解决!
linux·ubuntu·conda·trae
Mr_liu_6661 天前
ubuntu:beyond compare 4 This license key has been revoked——————转载拼接
linux·运维·ubuntu
划水的code搬运工小李1 天前
Ubuntu下挂载NTFS格式磁盘
linux·运维·ubuntu
CS_Zero1 天前
Ubuntu系统安装CH340&CH341串口驱动
linux·ubuntu