Friday, May 3, 2024
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 2541  / 1 Year ago, tue, april 25, 2023, 10:14:11

I am trying to open user settings to unlock the user's ability to edit their user settings
When I try to open the Gnome control center with my root account I get the following error


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:~#

Update: after setting the display to :0 i now get


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
Solved thank you to all the people who helped


More From » command-line

 Answers
7

I figured it out It was a problem with the host permissions execute xhost + to allow access from all hosts


aidensnyder@penguin:~$ xhost
access control enabled, only authorized clients can connect
aidensnyder@penguin:~$ xhost +
access control disabled, clients can connect from any host
aidensnyder@penguin:~$

[#1759] Thursday, April 27, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
mance

Total Points: 198
Total Questions: 105
Total Answers: 128

Location: South Georgia
Member since Mon, Aug 16, 2021
3 Years ago
mance questions
Wed, Jul 14, 21, 12:04, 3 Years ago
Tue, Jul 20, 21, 10:52, 3 Years ago
Thu, Sep 1, 22, 15:22, 2 Years ago
Sun, Jun 13, 21, 05:50, 3 Years ago
Sun, Nov 21, 21, 11:02, 3 Years ago
;