logo       

RE: Specify X display server: msg#00061

java.enhydra.general

Subject: RE: Specify X display server

Hi Lawrence,

I'm not sure what you are doing with your servlet, but many of the graphics
libs depend on the java awt package. Awt assumes you have an X server
installed. However usually with a server you don't need a graphics display.

I don't believe enhydra uses X windows at all, so you probably won't find
anything in enhydra to set. Many X installations use the "DISPLAY" ??
environment variable to tell graphics software where the display is located.

Java 1.4 allows a new parameter java.awt.headless.
if you use jdk1.4 and the multiserver script you can start the server like this:
./multiserver -java-arg -Djava.awt.headless=true

This will let graphics libraries draw without a display.

If you don't have jdk 1.4 you should look at the Pure Java AWT package that
allows you to create images without using Xwindows.
see: http://www.eteks.com/pja/en/

Hope this helps.
Mike Warne

-----Original Message-----
From: Lawrence Rodrigues [mailto:lrodrigu19@xxxxxxxxx]
Sent: Thursday, November 21, 2002 5:19 AM
To: Enhydra@xxxxxxxxxxx
Subject: Enhydra: Specify X display server



I am using Xvfb to allow image generation in a
Servlet.
I would like to set Xvfb to display 1, and have
enhydra use it instead of display 0.
Where can the X server display setting be configured
in Enhydra 5.0?

Thanks

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
Enhydra mailing list
Enhydra@xxxxxxxxxxx
http://www.enhydra.org/mailman/listinfo.cgi/enhydra


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise