How to install Xvfb (X virtual framebuffer) on Red

2019-02-08 18:02发布

问题:

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.

回答1:

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).



回答2:

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