Linux - Error xlib connection refused by server, Xlib: No protocol specified
Error xlib connection refused by server
Error:Xlib: connection to "xx.xx.xx.xx:0.0" refused by server
Xlib: No protocol specified
This error seems to be a x-terminal problem. In order to resolve this issue, please check the xauth package is installed in it. check the x-terminal is configured properly. check whether you are able to run xclock.
# rpm -qa | grep xauth
# yum install xauth
# rpm -qa | grep xauth xorg-x11-xauth-1.0.1-2.1Even if this does not resolves you problem, then it is some thing related with your session. In order to resolve this then again you can try the below steps.
# xauth list $DISPLAYOUTPUT:
host.domain:10 mit-magic-cookie-1 4a66620rtax4x1cg5cd1684g65g21fd67
Then, after having done su, tell the new user what the cookie is, Just copy the output and supply it as input
# xauth add host.domain:10 mit-magic-cookie-1 4a66620rtax4x1cg5cd1684g65g21fd67
Just copy and paste the output of the above 'xauth list' onto 'xauth add'. Now, you should be able to start any X application
The better way to do this is to try
# xclock
The topic on Linux - Error xlib connection refused by server is posted by - Maha
Hope you have enjoyed, Linux - Error xlib connection refused by serverThanks for your time