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.重启再次登录就没有提示喽。。。

相关推荐
Nie_Xun16 小时前
ubuntu网络共享
linux·运维·ubuntu
wuicer1 天前
ubuntu 20.04 安装anaconda以及安装spyder
linux·运维·ubuntu
shuangrenlong1 天前
ubuntu更新chrome版本
linux·chrome·ubuntu
基于python的毕设1 天前
C语言栈的实现
linux·c语言·ubuntu
穷人小水滴2 天前
在 windows 运行 flatpak 应用 (WSL)
linux·windows·ubuntu
mit6.8242 天前
ubuntu远程桌面很卡怎么解决?
linux·ubuntu·php
morliz子轩2 天前
基于WSL搭建Ubuntu 22.04.x LTS开发环境
linux·运维·ubuntu
路多辛2 天前
Debian新一代的APT软件源配置文件格式DEB822详解
linux·运维·ubuntu·debian
Web极客码3 天前
在Ubuntu 22.04上安装远程桌面服务
linux·运维·ubuntu
Danileaf_Guo3 天前
Ubuntu 18.04快速配置WireGuard互联
linux·运维·服务器·ubuntu