Hi

Have you tried Xvfb which is a virtual frame buffer ? I have a Tomcat app which also 
needs access to X for drawing. We simply start an Xvfb instance on a virtual display 
(:1.0,:2.0, etc) and then use that. We 
have an xvfb script in init.d for starting  which essentially does this.

/usr/X11R6/bin/Xvfb :1.0 -screen 0 1280x1024x24 -shmem & # Starts a virtual 24 bit 
device on :1.0 

and upon shutdown

kill -TERM `cat /tmp/.X1-lock`

Xvfb comes shipped with most ofthe Linux distros and is also available if you look 
around for  Solaris and HP-UX.

Chris

>Hi,
>
>I have the following problem:
>
>we want to start tomcat during boot time. The servlets can produce some 
>charts thus the server needs access to X-Windows (thus the server needs 
>permission to do that). I do know how to start the server during boot but how 
>can it be assured that it will have access to X-Windows?
>
>
>Zsolt
>
>-- 
>Zsolt Koppany
>
>--
>To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>For additional commands: <mailto:[EMAIL PROTECTED]>
>Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>




--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to