MapInfo Products KnowledgeBase
Product:
MapXtreme Java
Version:
4.5
Platform:
UNIX
Category:
Errors
Summary:
Error "java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable".
Question:
Why is the following error message displayed "java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable" ?
Answer:
The error is related to the xhost on Unix-shell based systems. The xhost program is used to add or revert access to the X server for specified hosts. Set a display variable and issue the following command on the system:
setenv DISPLAY :0
/usr/openwin/bin/xhost +
or simply:
"xhost +"
"xhost +" will allow all users access to the xhost. If more security is necessary, specify specific users after the "+" sign.
Please understand that the xhost is a utility built into Unix shells and is not supported by MapInfo Technical Support. For more information, check out the manual pages for xhost by issuing "man xhost" at the command shell, or by consulting unix/linux documentation.
Last Modified:
Document URL:
http://testdrive.mapinfo.com/techsupp/miprod.nsf/kbase_by_product/D3BE2C4137D3197D85256C24005EBD3D
Error "java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable".^D3BE2C4137D3197D85256C24005EBD3D^Y