AR# 6284: 6.1i CORE Generator - Why do I get "Xlib: connection to ":0.0" refused by server" when trying to run Coregen in batch mode (command line) on Solaris if DISPLAY variable not set?
AR# 6284
|
6.1i CORE Generator - Why do I get "Xlib: connection to ":0.0" refused by server" when trying to run Coregen in batch mode (command line) on Solaris if DISPLAY variable not set?
説明
Keywords: Solaris, Coregen, batch, display, command line
Urgency: normal
General Description: Why do I get do I get the following error messages when trying to run Coregen in batch mode (command line) on Solaris if DISPLAY variable not set?
Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server ERROR: An internal error has occurred. Please call Xilinx support.
I would expect something like this if trying to invoke a GUI but was surprised to see this for batch mode.
ソリューション
To run Coregen in batch mode on a Solaris machine, you need to set the DISPLAY variable to a machine that is running an XServer.
This is necessary because some of the JAVA objects that Coregen uses, make calls to the XServer, even when running in batch mode.
This is a limitation of JAVA, and currently this is the only way to work around the issue.
In ISE 7.1i and later, if the DISPLAY variable is not set, CORE Generator will default to use the localhost