Le sam 28/02/2004 à 15:11, Richard Mixon (qwest) a écrit :
SLES 8 does not seem to have Xvfb installed, nor does it have an xextra available through Yast.
I do also have Suse 9.0 Pro for x86 - can I get xextra from that CD somehow?
It was in xextra in previous versions. Just open up Yast2 and search for Xvfb. It seems that it is in its own package now, at least on my box. I guess that it may be missing from SLES, I'm not familiar with this distribution. Best Regards, David Garnier
-----Original Message----- From: David Garnier [mailto:david.garnier@etudier-online.com] Sent: Saturday, February 28, 2004 1:15 AM To: suse-xfree86@suse.com Subject: Re: [suse-xfree86] Xvfb and SLES 8
Le sam 28/02/2004 à 06:04, Richard Mixon (qwest) a écrit :
Hello,
We are moving from a Sun SPARC Solaris environment to SuSE SLES 8 for AMD64 on Opteron processors. On Solaris we were able to use the "-Djava.ast.headless=true" to eliminate the need for an X server so our Tomcat servlet engine could render graphics for display in the web browser (actually we use Apache FOP/BATIK to render SVG as PDF documents).
The headless switch does not eliminate the need for an X server, It just throw an exception earlier. Your setup works because FOP/Batik were probably carefully programmed to work around this problem.
On SLES for AMD64, the Java version is the IBMJava2 1.4.1 SDK. It does not recognize the "-Djava.awt.headless=true" option. There have been a number of workarounds suggested. The PJA toolkit does not seem to work for a number of reasons.
Why don't you install Sun's version? The 32-bit one for Linux should work just fine.
The other suggestion was to use the Xvfb (X virtual frame buffer). I can find a man page for Xvfb in our SLES 8 install, but no actual module.
Can someone provide instructions for enabling or accessing Xvfb? Obviously I am not an X guru - I use KDE and that's about it.
I don't know about SLES 8, but under SuSE 9.0, it is available through Yast2. I've been using the Xvfb for years under many SuSE version and I never had a problem. Something from an old project:
Start Xvfb ( in /usr/X11R6/bin) with this command:
Xvfb :1 -screen 0 640x480x16
It creates a 640x480, 8bit "virtual desktop" running on 1.0 Then just tell the application to use it with :
DISPLAY:localhost:1.0 export DISPLAY
Doing an xhost +localhost migth be necessary.
Best Regards -- David Garnier <david.garnier@etudier-online.com>
-- To unsubscribe check the List-Unsubscribe header For additional commands, email: suse-xfree86-help@suse.com
-- David Garnier <david.garnier@etudier-online.com>
participants (1)
-
David Garnier