What is Xvfb
search cancel

What is Xvfb

book

Article ID: 56268

calendar_today

Updated On:

Products

EUREKA:Reporter

Issue/Introduction

What is Xvfb

 

Environment

Release: EKOBJA05200-7.1-EUREKA:Object-Admin Edition
Component:

Resolution

Xvfb is OpenSource and provides a deamon process that acts like a virtual DISPLAY. Most people act like this is intimidating, but it really isn't.

You can download compiled versions for your platform from:
https://ftp.broadcom.com/user/downloads/pub/eureka/Reporter/xvfb/

Follow the directions in the readme file. The key is to start this deamon specifying 2 font PATHs. If you use only one, iqserver will core dump when it tries to write to it.

What else do you need to know. After you start this process, all you need to do is point your DISPLAY environment variable to it. For example, DISPLAY=host:1
Where host is the name of the server you are starting this on and 1 is the number after the Xvfb: below.

Xvfb can be started on a server different than ReportServer if necessary.

This is how the Xvfb deamon is normally started:
From the command line (as root user):

Xvfb :1 -ac -fp /usr/openwin/lib/X11/fonts/misc,/usr/openwin/lib/X11/fonts/75dpi -sp /usr/openwin/bin/SecurityPolicy -co /usr/openwin/lib/X11/rgb

:1 is the display number. If multiple X servers (or Xvfb's) are running on a host, each must have a unique display number.

-ac disables host-based access control mechanism. Allows all connections to the server.

-fp sets the search path for fonts. This path is a comma separated list of directories which the X server searches for font databases. Note: The X server requires two font paths to be set.

-sp gives the location and name of the security policy file.

-co sets the name of the RGB color database.

From the command line you may log off and the Xvfb process will continue running as a daemon.