Ubuntu22 配置远程桌面 xrdp

1、安装软件

个人比较习惯用 aptitude 进行包管理,可以自行安装,或者使用默认的 apt 进行包管理

sudo aptitude update && sudo aptitude upgrade -y
sudo aptitude install xrdp -y

2、配置权限

每次远程连接都需要弹窗认证,配置色彩文件和色彩设备啥的,烦人,直接解决掉弹窗问题

sudo vim /etc/polkit-1/localauthority/50-local.d/45-allow-colord.pkla
[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

最好重启一下

sudo reboot

你可能感兴趣的:(ubuntu,linux)