这是一个更普遍的问题“不要用管理问题打扰非管理员用户”的部分情况:
我有几个非管理员用户在一台计算机上,我想禁用所有他们的软件更新。我试过这个:
# su wife -c gconftool -s --type bool /apps/update-notifier/auto_launch false
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.(我登录到通过ssh管理的计算机)。
发布于 2019-09-05 19:48:58
在更新版本的Ubuntu中,有一个(隐藏的)每个用户配置选项。
只需运行(作为要禁用通知的用户):
gsettings set com.ubuntu.update-notifier no-show-notifications true或者,如果您更喜欢直观地执行操作,请运行dconf-editor,浏览到/com/ubuntu/update-notifier并启用no-show-notifications选项。
(来源)
https://askubuntu.com/questions/291063
复制相似问题