屏幕左上角出现一个授权对话框,内容是 Authentication is required to create a color managed device, 但是无论是输入密码后授权还是直接点击取消,该对话框均不会消失,而且该对话框无法使用鼠标移动,却又可以点击对话框后的内容,例如可以点击左上角显示所有程序。该Bug极其影响使用,而且只要不登出该用户,只是简单的断开远程桌面,该对话框永久不会消失,在任意其他电脑远程使用相同用户进行远程桌面连接后均能看到该对话框。

解决方案

解决“色彩管理设备” / “color managed device” 弹窗

创建文件 /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

解决“刷新系统软件源需要认证” / “refresh the system repositories” 弹窗

创建文件 /etc/polkit-1/localauthority/50-local.d/46-allow-packagekit.pkla 并写入内容:

[Allow Refresh Repository all Users]
Identity=unix-user:*
Action=org.freedesktop.packagekit.system-sources-refresh
ResultAny=no
ResultInactive=no
ResultActive=yes