Windows 10 利用远程登陆桌面(mstsc)连接到 Ubuntu 18.04.2 LTS

sudo apt install xrdp
sudo systemctl enable xrdp

sudo vim /etc/xrdp/startwm.sh
将最下面的test和exec两行注释掉,添加一行
gnome-session

检查iptables&ufw是否放行3389端口,检查端口的连通性

保存重启ubuntu,重启完毕后,不要登陆

问题
1.登入后提示"Authentication is Required to create a color managed device"
在路径/etc/polkit-1/localauthority.conf.d/处新增一个文件,文件名为 02-allow-colord.conf
文件内容如下

polkit.addRule(function(action, subject) {
 if ((action.id == "org.freedesktop.color-manager.create-device" ||
 action.id == "org.freedesktop.color-manager.create-profile" ||
 action.id == "org.freedesktop.color-manager.delete-device" ||
 action.id == "org.freedesktop.color-manager.delete-profile" ||
 action.id == "org.freedesktop.color-manager.modify-device" ||
 action.id == "org.freedesktop.color-manager.modify-profile") &&
 subject.isInGroup("{users}")) {
 return polkit.Result.YES;
 }
 });
 
保存重启ubuntu,重启完毕后,不要登陆情况下尝试用mstsc xorg进行远程

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值