March 27, 2013
if you get exception similar to the following: Can’t connect to X11 window server
check your DISPLAY env variable : > echo $DISPLAY
fix it if not correct : > export DISPLAY=:0
if it’s correctly set but you have the problem. May your linux user you have using don’t have rights to the xhost.
check this closure by typing: > xhost
if your user is not in the list, give it the right to connect to the X11 window server by typing: > xhost +SI:localuser:jboss