1846053 Members
2630 Online
110253 Solutions
New Discussion

Re: X server !

 
SOLVED
Go to solution
Ivan Azuara
Regular Advisor

X server !

Hi !

"Somebody know how install the X server "Xvfb" on HP-UX 11i ?. I want to know if the installation is like a commun depot, or is only a executable file ?".

I want to do that , because I??m installing Oracle 9ias (Aplication Server), and this tool have access using any browser (netscape, explorer). But when you access to the page for the application server, this show 2 graphics that report the use of CPU and Memory on the server. But always i have to export the DISPLAY variable (export DISPLAY=130.10.18.12:0.0) to my PC in a X-session for enable these graphics. My intention is see these graphics without the necessity of export the DISPLAY.

I found information about this program "Xvfb" and explain that you can installing it on any Unix flavor, and the principal funcionality is emulate a dumb framebuffer using virtual memory, and can be started automatically at system boot(adding a script to the /sbin/rc3.d directory on Tru64 Unix).

I read an articule in the website of HP about this program, and mentioned that is supported on HPUX 11i and recommend too the installation of the PHSS_25263 patch, but don??t said how install this program "Xvfb".


That??s the history.


Best Regards !

"Enjoy the life .."
3 REPLIES 3
Uncle Liew
Advisor

Re: X server !

Hi Ivan,

Please refer to the below doc:

DocId: XWINKBRC00004791
Installing and Configuring the Virtual Frame Buffer X Server

PROBLEM
A typical X display server requires a framebuffer device in order to operate. Recent applications, such as Oracle and HP's OpenView, have been found to be dependent upon the capabilities of an X server. In many server environments, it would not normally be possible to run an X server due to the lack of a supported graphics device. When a dedicated graphics device is not available, a virtual frame buffer X server can be used instead. This document outlines how to configure and install the HP supported implementation of the virtual framebuffer X server to provide the rendering features needed by these and other applications.
RESOLUTION
Uses For The Virtual Framebuffer X Server
Since the virtual framebuffer X Server is capable of rendering to a region of memory in lieu of the graphics screen, this X server is well-suited for systems that run certain classes of applications that utilize X11 rendering techniques for creating graphics files. This is commonly used with web servers which call Java to create graphics (GIF/JPEG/PNG) dynamically.
The virtual framebuffer X Server is NOT appropriate for situations where a user is attempting to display an application to a remote system. Please refer to document DCEKBRC00000121, entitled How to display applications remotely using the X Window System for more information on the remote display feature of the X window system.


Acquire And Install the Virtual Framebuffer X Server
The HP-UX X server has incorporated a driver based on the Xvfb sample implementation included with the standard X window system distribution (http://www.x.org). This driver is now included in the standard HP-UX X server patches for HP-UX 10.20, 11.0, and 11i (11.11).
The patches which first introduced this feature are:

HP-UX 10.20
[PHSS_25266/PACHRDME/English] : s700_800 10.20 Xserver cumulative patch

HP-UX 11.00
[PHSS_25277/PACHRDME/English] : s700_800 11.00 Xserver cumulative patch

HP-UX 11.11
[PHSS_25263/PACHRDME/English] : s700_800 11.11 Xserver cumulative patch

These patches (and their successors) are available via the patch catalog accessible from the HP IT Resource Center (ITRC) http://itrc.hp.com web site.

Enabling The Virtual Framebuffer X Server
To simplify the startup and shutdown of the virtual framebuffer X server and to provide for potential customizations, a tar-gzip file is available for download from this FTP server:
Server IP Address Username Password Filename
hprc.external.hp.com 192.170.19.51 xgraphic xgraphic unspecified/xvfb_init.tar.gz


Use gunzip and tar to extract the following files:

-rwxr-xr-x bin/bin 76 2002-07-17 19:07 /etc/X11/xvfb.xinitrc
-rw-r--r-- bin/bin 453 2002-07-17 19:07 /etc/X11/xvfb_daemon.pl
-rw-r--r-- bin/bin 442 2002-07-17 19:07 /etc/rc.config.d/xvfb
-rwxr-xr-x bin/bin 2291 2002-07-17 19:07 /sbin/init.d/xvfb
lrwxrwxrwx root/sys 0 2002-07-17 19:12 /sbin/rc2.d/K050.xvfb ->../init.d/xvfb
lrwxrwxrwx root/sys 0 2002-07-17 19:11 /sbin/rc3.d/S950.xvfb ->../init.d/xvfb


These files will enable the virtual framebuffer X server on boot at run-level 2 using display ":10". To start the server immediately, execute as the root user: /sbin/init.d/xvfb start.

These scripts are dependent upon the utilities /usr/contrib/bin/X11/xinit and /usr/contrib/bin/perl. If perl is located elsewhere, it may be necessary to edit /etc/X11/xvfb_daemon.pl. A window manager and clock client are started by-default in /etc/X11/xvfb.xinitrc. Other commands may be added to this script (such as xhost) as needed.

Hope this helps !!!
Uncle Liew
Advisor

Re: X server !

Hi Ivan,

As for the patches, please install the latest XServer Patch accordingly of your OS Version:

HP-UX 10.20:
PHSS_26583 s700_800 10.20 Xserver cumulative patch

HP-UX 11.00:
PHSS_26566 s700_800 11.00 Xserver cumulative patch

HP-UX 11.11:
PHSS_26577 s700_800 11.11 Xserver cumulative patch

Thanks
Alex Glennie
Honored Contributor
Solution

Re: X server !

see attached