On Fri, 6 Jul 2001, C. Gaffga wrote:

> How can I run cocoon 2 without X11. Why is a Display needed???

        An Xserver is needed due to the batik library fop uses. batik uses
        java's graphics code, which in turn requires the Xserver.

        If you don't have an xserver on your system, and can't set the DISPLAY
        variable to one, then try out xvfb. xvfb gives you an 'in-memory'
        xserver, which doesn't require any display hardware to run.

        eg:

        $> Xvfb :1 -screen 0 800x600x8 &
        $> export DISPLAY=:1
        $> $TOMCAT_HOME/bin/startup.sh -f server.xml

        Hope that helps.

        Cheers,

        Marcus

-- 
        .....
     ,,$$$$$$$$$,      Marcus Crafter
    ;$'      '$$$$:    Computer Systems Engineer
    $:         $$$$:   Open Software Associates GmbH
     $       o_)$$$:   82-84 Mainzer Landstrasse
     ;$,    _/\ &&:'   60327 Frankfurt Germany
       '     /( &&&
           \_&&&&'     Email : [EMAIL PROTECTED]
          &&&&.        Business Hours : +49 69 9757 200
    &&&&&&&:           After Hours    : +49 69 49086750


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to