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

相关推荐
人间打气筒(Ada)9 小时前
ubuntu网络及软件包管理
网络·ubuntu·php
笑虾9 小时前
Docker 自制镜像:Ubuntu 安装 samba+Webmin
ubuntu·docker·samba
Anna_Tong11 小时前
阿里云如何协助解决操作系统兼容性问题
linux·服务器·ubuntu·阿里云·centos·云计算·系统迁移
勤奋的凯尔森同学20 小时前
webmin配置终端显示样式,模仿UbuntuDesktop终端
linux·运维·服务器·ubuntu·webmin
月光水岸New21 小时前
Ubuntu 中建的mysql数据库使用Navicat for MySQL连接不上
数据库·mysql·ubuntu
莫忘初心丶21 小时前
在 Ubuntu 22 上使用 Gunicorn 启动 Flask 应用程序
python·ubuntu·flask·gunicorn
bugtraq20211 天前
XiaoMi Mi5(gemini) 刷入Ubuntu Touch 16.04——安卓手机刷入Linux
linux·运维·ubuntu
大地爱1 天前
在Ubuntu 22.04 LTS 上安装 MySQL两种方式:在线方式和离线方式
mysql·ubuntu·adb
丰色木夕1 天前
Ubuntu+vscode+CGAL6.0库安装入门教程
ubuntu·cgal
reset20212 天前
ubuntu离线安装ollama
linux·ubuntu·ollama