简体   繁体   English

无法在 Suse Linux 上安装 Xvfb

[英]Unable to install Xvfb on Suse Linux

I am trying to run the selenium-webdriver using the python library on Suse 11.4 (64-bit) For it to run headlessly, it requires another python package "pyvirtualdisplay" to run.我正在尝试在 Suse 11.4(64 位)上使用 python 库运行 selenium-webdriver 为了让它无头运行,它需要另一个 python 包“pyvirtualdisplay”来运行。 I have been able to install both perfectly.我已经能够完美地安装两者。 The problem now is that pyvirtualdisplay requires a system level package called Xvfb which is not installed.现在的问题是 pyvirtualdisplay 需要一个未安装的名为 Xvfb 的系统级包。 Zypper is unavailable and i need to install this using a tarball or an rpm. Zypper 不可用,我需要使用 tarball 或 rpm 安装它。 Please guide me as to how i can install this library and where i can find it.请指导我如何安装这个库以及在哪里可以找到它。 I have been unable to find a suitable Xvfb package that I can install on this distribution of Linux.我一直找不到合适的 Xvfb 包可以安装在这个 Linux 发行版上。

According to this post Xvfb is provided by the xorg-x11-server package.根据这篇文章,Xvfb 是由xorg-x11-server包提供的。 Since you dont have access to zypper you can download that package directly from here ( direct link to 64 bit RPM for Suse 11.4 ) and install it manually.由于您无权访问 zypper,您可以直接从这里下载该软件包( 直接链接到 Suse 11.4 的 64 位 RPM )并手动安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM