Can't run GUI apps: 'connection to ":0.0" refused
Posted: Sat Jun 30, 2007 11:57 am
[PROBLEM]
Sometimes when creating a user manually (adduser), this user may not have sufficient rights to connect to the X-server. So, when running any application with a graphical user interface (GUI), you'll receive this message:
Add the user to the access control list, using the command "xhost":
Where "username" must be substituted by the actual user you want to add.
Sometimes when creating a user manually (adduser), this user may not have sufficient rights to connect to the X-server. So, when running any application with a graphical user interface (GUI), you'll receive this message:
[SOLUTION]Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Add the user to the access control list, using the command "xhost":
Code: Select all
xhost +si:localuser:username