我试图打开用户设置以解锁用户编辑他们的用户设置的能力当我试图用我的根帐户打开Gnome控制中心时我得到了以下错误
root@penguin:~# XDG_CURRENT_DESKTOP=GNOME gnome-control-center
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
(gnome-control-center:7565): Gtk-WARNING **: 09:54:42.877: cannot open display:
root@penguin:~# 更新:在将显示设置为:0之后,我现在得到
root@penguin:~# XDG_CURRENT_DESKTOP=GNOME gnome-control-center No protocol specified Unable to init server: Could not connect: Connection refused No protocol specified Unable to init server: Could not connect: Connection refused解决了,谢谢所有帮助你的人
发布于 2021-03-29 14:10:53
试一试
$ sudo su
# gnome-control-center最好能澄清一下为什么要以根用户的身份运行gnome-control-center。
https://askubuntu.com/questions/1327933
复制相似问题