----------------------------------------------------------------
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!!!
----------------------------------------------------------------

Bill Volk wrote:
> 
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
> 
> We need to have some servlets generate graphics (Java 2.0) by drawing into a
> Java Frame.
> 
> I understand that you have to have X running to allow servlets to render
> graphics.
> 
> Got that, but what do I do to the jserv.properties file to let it know that
> X is up?
> 
> Thanks,
> 
> Bill Volk
>

I think nothing
It uses the environment variable DISPLAY to know where to send the
graphics.

if I want to draw on another machine.

The remote machine must use the xhost command to allow my connection.
xhost + allows everyone
I think xhost + webserver.com allows only the webserver machine


and on the webserver you must have the DISPLAY variable set for the
remote machine.

ie

export DISPLAY=remote.machine.com:0.0

the 0.0 I think is monitor zero and screen 0 (I have always used this
value)


Thanks
Charles


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to