August 18th in Linux/Unix by .

Xvfb Problems & Fixes

Xvfb is a virtual frame buffer suitable for headless linux servers having no physical hardware like graphics card or monitor. I was trying to install Xvfb and i have a countless problems with my centos server.

Installing Xvfb

yum install Xvfb

When i try to run the Xvfb to start a virtual frame buffer, i am getting these errors and i just cant fix it!

Xvfb :1 -screen 0 1024x768x24 &

The errors were

Couldn't open RGB_DB '/usr/share/X11/rgb'
error opening security policy file /usr/lib/xserver/SecurityPolicy
Could not init font path element unix/:7100, removing from list!

and i am not sure whether these are warnings or errors. I checked in the list of processes and it seems Xvfb is running in my server.

To export the display to the running localhost you have to give this command
export DISPLAY=localhost:1.0

Update:

I just fixed it. You have to install Xorg which is an X Window system

yum install Xorg

If anybody knows how to get rid of these warnings, please post here…

Similar Posts:

Leave A Comment.





Please wrap all source codes with [code][/code] tags. Powered by