14

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.

Rahul
  • 3,479
  • 3
  • 16
  • 28

2 Answers2

17

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

Lars Rohrbach
  • 481
  • 4
  • 9
  • 9
    To enable the optional repo: `subscription-manager repos --enable rhel-7-server-optional-rpms` and `yum install xorg-x11-server-Xvfb` (this is for rhel7, season to taste). – a coder Feb 27 '16 at 17:10
  • If you are running this inside docker image you cannot enable the repos cauz by default it is disable. – Robert Mar 20 '18 at 21:08
14

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
Abhijeet Kasurde
  • 3,937
  • 1
  • 24
  • 33
Doron Shai
  • 688
  • 2
  • 13
  • 29