----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hi,
On Mon, 24 Jan 2000, Ásta Herdís Hall wrote:
sHsH| I have also had the following error
sHsH| <servletException> java.lang.InternalError: Can't connect to X11 window server
using ':0.0' as the value of the DISPLAY variable.
This is the main error, if resolved, the first one should vanish as well.
The problem is, that the awt toolkit needs to connect to a X11-server in
order to render its frame. The default is assumed to be Display ':0.0'
which is the display on the host the application is running; you may set
it to another hostname as well 'my.x11server.org:0.0'. Remember to set
this Environment-Variable with the 'wrapper.env' in jserv.properties e.g.
wrapper.env=DISPLAY=foobar:0.0
The need to connect to this display means:
a) There must be a X-Server running
b) The application may connect to it. If you use the local display, do
a
$ xhost + localhost
you may also play with Xauthority if you like ..
Hope this helps,
-hen
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]