首先下载:

https://www.c-nergy.be/downloads/xrdp-installer-1.1.zip

解压后以普通用户身份运行。


然后新建文件,内容如下:
vi /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(“{group}”))  
{
return polkit.Result.YES;  
}
});

最后,设置 --> 隐私 --> 锁屏 --> 关

就可以用Windows的远程桌面登录Ubuntu的桌面了。

comments powered by Disqus