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

Java Apache Users wrote:
> 
> >
> >I've been reading the stuff going back and forth about server side image
> >processing.
> >
> >The display dependency in the Java graphics libs is a classic issue going
> back
> >to the very beginning, and can be a royal pain in the rear if you're
> running a
> >secure, headless server and don't want it makig X connections to the
> outside
> >world.
> >
> >An alternative to restricting your choice of libs to something that
> doesn't use
> >AWT/Swing (which seem to be the culprits) is to just get something that
> will
> >sink the X connection on the server side - it's doesn't need to be a very
> full
> >implementation of X, and I considered concoting one, but found VNC to be
> a
> >highly suitable alternative. We actually use it in production for this
> purpose.
> >
> >    http://www.uk.research.att.com/vnc/
> >
> >What is VNC? It's a "screen-scraper" type remote display technology, very
> like
> >Symantec pcAnywhere, except it's open source and cross platform. The
> interesting
> >thing is the way the Unix version of the server works; rather than
> scraping the
> >actual video display, it leverages the inherent capability of X to
> support
> >multiple displays on a single server and creates an entirely new, virtual
> X
> >display. To set it up to sink X, just install the server code as per
> >instructions, and start it like this:
> >
> >    vncserver :1
> >
> >To get your JServ VM to use it, it needs to have DISPLAY=:1.0 in its
> >environment.
> >
> >If you use ApJServMaunal Off, you need to add this to jserv.properties
> >
> >    wrapper.env=DISPLAY=:1.0
> >
> >If you use ApJServManual On, add this in your script:
> >
> >    DISPLAY=:1.0 ; export DISPLAY        # assumes sh or derivative
> >
> >Enjoy
> >Dave
> >
> >


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