Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install Xvfb (X virtual framebuffer) on Redhat 6.5?

I have tried to install the Xvfb on red-hat 6.5 using

yum -y install xorg-x11-server-Xvfb

but it is not installed and it is giving msg that

No package xorg-x11-server-Xvfb available.
Error: Nothing to do

Plese help me to install Xvfb on Redhat 6.5 to remove the headless exception in the Applet.

Thanks.

like image 445
Rahul Avatar asked Feb 10 '14 07:02

Rahul


People also ask

What is Xorg x11 server XVFB?

Description: Xvfb (X Virtual Frame Buffer) is an X server that is able to run on machines with no display hardware and no physical input devices. Xvfb simulates a dumb framebuffer using virtual memory. Xvfb does not open any devices, but behaves otherwise as an X display. Xvfb is normally used for testing servers.


2 Answers

The xorg-x11-server-Xvfb package is officially available from RedHat for RHEL 6 and RHEL 7 under the Optional channel (RHEL Workstation Optional, or RHEL Server Optional).

From the comments: To enable the optional repo: subscription-manager repos --enable rhel-7-server-optional-rpms and then you can install the package with yum install xorg-x11-server-Xvfb

like image 66
Lars Rohrbach Avatar answered Nov 12 '22 05:11

Lars Rohrbach


I was able to download the RPM and then install it locally after reading this article

 wget http://vault.centos.org/6.2/os/x86_64/Packages/xorg-x11-server-Xvfb-1.10.4-6.el6.x86_64.rpm
 yum localinstall xorg-x11-server-Xvfb-1.10.4-6.el6.x86_64.rpm
like image 29
Doron Shai Avatar answered Nov 12 '22 05:11

Doron Shai