XVFB is an acronym of the Xserver Virtual Frame Buffer. It can provide a virtual Xserver and release you from the need of a real Xserver. It runs without a head or graphics card. XVFB is freeware and can be obtained from x.org's X11R6 distribution. Compiling it is supposedly difficult, however, there are some Solaris binaries on certain sites, including:
Take the following steps to run JReport Enterprise Server with XVFB:
/etc/init.d/xvfb as below, and make it executable.
|
Then create a soft link to /etc/rc2.d/S98xvfb:
ln -s /etc/init.d/xvfb /etc/rc2.d/S98xvfb
If you need not to start XVFB automatically, you can manually start up XVFB:
/usr/X11R6/bin/Xvfb :1 -screen 0 1152x900x8 &
DISPLAY=jaguar:1.0
export DISPLAY
Then, you can start JReport Enterprise Server. Logging out the terminal may result in JReport Enterprise Server shutting down. To avoid this, you can first start JReport Enterprise Server in the background using the command nohup: nohup ./JREntServer &. This command will continue running programs specified by you and enables JReport Enterprise Server to ignore hangup signals.