=========================================== 30/05/2013
If you have following error: Can’t connect to X11 window server using ‘:0’ as the value of the DISPLAY variable.
you must know that :

type xhost to know:

xhost
No protocol specified
No protocol specified
xhost:  unable to open display “???”
==> means you don’t have authorization to any Xserver
==> to authorize access type: > sudo xhost +SI:localuser:youruser

xhost
xhost:  unable to open display “???”
==> means DISPLAY variable is bad configured
==> you must fix DISPLAY variable. type: > export DISPLAY=hostname:D.S