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

相关推荐
程序员大阳8 小时前
使用Putty登录阿里云Ubuntu ECS服务器方法
ubuntu·云计算·ssh·ecs·putty
网硕互联的小客服9 小时前
如何在Ubuntu系统上查看和刷新DNS缓存?操作方法与原理解析
运维·服务器·网络·ubuntu
八年。。9 小时前
WSL学习(三)——搭建Linux + C++ + SOME/IP 基础开发环境
开发语言·笔记·ubuntu
星间都市山脉1 天前
Android16 SystemService.onBootPhase 调用时机
android·java·linux·windows·ubuntu
余生爱静1 天前
从零搭建 SIP 全栈通话系统:SIP 协议 + PJSIP + Asterisk + Android 实战
ubuntu·pjsip
猿与禅2 天前
Linux(Ubuntu)入门到实战:系统管理、常用命令与权限体系完整指南
linux·ubuntu·apt·进程管理·系统运维·用户权限·vi/vim
cui_hao_nan2 天前
从零搭建 Kubernetes 集群:Ubuntu + kubeadm 完整实战
ubuntu·容器·kubernetes
金色熊族2 天前
windows11 + wsl2 上安装ubuntu20.04
ubuntu·windows11·wsl2
WX _ jishuwu19902 天前
esmfold gpu模式 批量预测蛋白三级结构实况记录 - 供参考
人工智能·ubuntu·三代测序·亚细胞定位,·deeploc·protcompv9
微软技术分享2 天前
基于 HuggingFace Tokenizers 训练自定义分词器
python·ubuntu·大模型·huggingface