Thursday, April 7, 2011

on VNC connection opening GUI screen fails ...

Loaded component definition: enterprise
Xlib: connection to ":1.0" refused by server
Xlib: No protocol specified

Exception in thread "Main Thread" java.lang.InternalError: Can't connect to X11 window server using ':1.0' as the value of the DISPLAY variable.


All i did was :


1) killed that vnc session:(vncserver -kill :1)
2) started a new session (vncserver)
3) su <user>
4) xhost + 
[root@host1 ~]# xhost +
access control disabled, clients can connect from any  host



Thats it! then I was able to load the GUI interface on VNC.



No comments:

Post a Comment