Linux 如何在 Redhat 6.5 上安装 Xvfb(X 虚拟帧缓冲区)?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/21671552/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-07 01:59:29  来源:igfitidea点击:

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

linuxinstallationredhat

提问by Rahul

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

我曾尝试使用在 red-hat 6.5 上安装 Xvfb

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.

请帮助我在 Redhat 6.5 上安装 Xvfb 以删除 Applet 中的 headless 异常。

Thanks.

谢谢。

回答by Doron Shai

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

阅读本文后,我能够下载 RPM,然后在本地安装它

 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

回答by Lars Rohrbach

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

xorg-x11-server-XvfbRedHat 在Optional频道(RHEL Workstation Optional,或 RHEL Server Optional)下正式提供了用于 RHEL 6 和 RHEL 7的软件包。