问题如下,时不时出现,有时还怎么都关不掉,很烦:
解决方法一:命令行输入
代码语言:javascript复制dbus-send --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:"global.reexec_self()"
解决方法二:命令行输入
代码语言:javascript复制killall -3 gnome-shell
解决方法三:彻底关闭验证窗口
编辑文件1:
代码语言:javascript复制sudo vim /etc/polkit-1/localauthority/50-local.d/45-allow-colord.pkla
写入内容:
代码语言:javascript复制[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
编辑文件2:
代码语言:javascript复制sudo vim /etc/polkit-1/localauthority/50-local.d/46-allow-update-repo.pkla
写入内容:
代码语言:javascript复制[Allow Package Management all Users]
Identity=unix-user:*
Action=org.freedesktop.packagekit.system-sources-refresh
ResultAny=yes
ResultInactive=yes
ResultActive=yes
重新连接xrdp远程桌面即可。