Xvfb not found on your system
Asked Answered
L

2

23

I try to use Xvfb to make the headless code run. However, I encountered the problem that "Xvfb not found on your system" when I tried to run my ruby code. Then I tried to install Xvfb using

sudo apt-get install xvfb

However, "apt-get: command not found" is showed. Thus, I have not idea what should be installed to avoid the original Xvfb error. Any helps? Thank you.

Lalalalage answered 28/1, 2014 at 2:18 Comment(1)
sudo apt-get install xvfb helped me in this case. You should investigate why you can't access apt-get.Nika
J
4

Old question, but found it will trying to find the apt-get commands. The command not found is likely because you are not on a debian system. So you should probably be using yum.

Some potentially useful links: https://serverfault.com/questions/344793/install-xvfb-via-yum-yum-repository-for-xvfb How to install Xvfb (X virtual framebuffer) on Redhat 6.5?

Jimerson answered 11/6, 2015 at 17:5 Comment(0)
S
4

In CentOS 7, the following command will install it:

$ sudo yum install xorg-x11-server-Xvfb
Shroud answered 15/4, 2021 at 19:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.