My problem is that I'm trying to run a background image processor, such as
through a cron job. If I run the java code from an xterm, it works fine, but
if I run it from a dumb terminal session or, ultimately, as a cron job, it
doesn't work. This is under Solaris 2.6 using java2. I know little about X,
but it seems like my problem is that I need to do image processing in the
background but that image processing needs proper X support. Here is the
error:
        Xlib: connection to ":0.0" refused by server
        Xlib: Client is not authorized to connect to Server
        Exception in thread "main" java.lang.InternalError: Can't connect to
X11 window server using ':0.0' as the value of the DISPLAY variable.

I've experimented with different DISPLAY setting as well as xhost +, but to
no avail.

Any suggestions how to accomplish the image processing in the background? It
seems like this must be a need for some Java2D users.

Thanks,
Jon
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 2D Home Page: http://java.sun.com/products/java-media/2D/

Reply via email to