Thursday, May 3, 2012

Xlib: connect to ":0.0" refused by server not able to lauch Oracle GUI


When I am trying to install oracle from Oracle Enterprise Linux I got the below error while launching GUI Interface.

Xlib: connect to ":0.0" refused by server
Xlib: No protocol specified

xhost: unable to open display ":0.0"

I am able to execute xhost commands from root user, whereas when i am running it with oracle user i am getting the above error.

To resolve it

root > xhost +
output --- access control disabled, clients can connect from any host

login from oracle using other terminal, run the below command to verify whether xhost commands are working or not

oracle > xclock --> If it displays clock then you directly launch oracle Installation GUI using runInstaller

If not login into Lunix using oracle login then type startx, you will be able to work with xhost.



No comments: