|
|
Return to General UNIX Home Page.
Xvfb for HP/UX 11.0
by Jeff Hunter, Sr. Database Administrator
With Xvfb (X Virtual Frame Buffer) you can create your own virtual
DISPLAY regardless of if the server has a graphic adapter or not. By default,
Xvfb is not included with HP/UX 11.0, but through a patch obtained from HP you can
get it installed. Right now, this patch is known as PHSS_25277, but please
check with HP Support to get the correct patch for your system.
# sh PHSS_25277You now should have the two files PHSS_25277.text and PHSS_25277.depot
NOTE: The machine will reboot
# swinstall -x autoreboot=true -x patch_match_target=true -s /tmp/PHSS_25277.depot
To check for all possible DISPLAY files:
# ls -l /etc/X11/*screens
# cp /etc/X11/X0screens /etc/X11/X10screens
ServerOptions
ServerMode XVfb
# nohup /usr/bin/X11/Xvfb :10 -screen 0 1024x800x8 -pn -fp /usr/lib/X11/fonts/misc -sp /etc/X11/SecurityPolicy &
# export DISPLAY=$(hostname):10.0 # xhost +
For Oracle Reports Multitier Server you set the DISPLAY variable in the script $ORACLE_HOME/6iserver/reports60_server, e.g.:
DISPLAY 192.168.0.74:10.0; export DISPLAYFor Oracle Portal and Oracle Discoverer Viewer, you set the DISPLAY variable in jserv.properties, e.g.:
wrapper.env=DISPLAY=192.168.0.74:10.0In the scenario above, 192.168.0.74 is the IP address of the server.
If iAS is running in a HP cluster, you should set the DISPLAY like this in $ORACLE_HOME/6iserver/reports60_server:
DISPLAY=$(hostname):10.0; export DISPLAYThe cluster solution for Jserv, is to edit the script $ORACLE_HOME/Apache/Apache/bin/apachectl, and add the following:
DISPLAY=$(hostname):10.0; export DISPLAYThen in jserv.properties:
wrapper.env.copy=DISPLAY