Xvfb Install on Linux

How to install Xvfb on RH8?

The only way to do this (without an RHEL subscription) is to do the following installs which work only when in this order:

yum install -y libXScrnSaver \
mesa-libgbm nss at-spi2-atk libX11-xcb \
ftp://ftp.redhat.com/pub/redhat/rhel/rhel-8-beta/appstream/x86_64/Packages/libxkbfile-1.0.9-9.el8.x86_64.rpm \
ftp://ftp.redhat.com/pub/redhat/rhel/rhel-8-beta/appstream/x86_64/Packages/xorg-x11-xkb-utils-7.7-26.el8.x86_64.rpm \
ftp://ftp.redhat.com/pub/redhat/rhel/rhel-8-beta/appstream/x86_64/Packages/xorg-x11-server-common-1.20.2-5.el8.x86_64.rpm \
ftp://ftp.redhat.com/pub/redhat/rhel/rhel-8-beta/appstream/x86_64/Packages/xorg-x11-xauth-1.0.9-12.el8.x86_64.rpm \
ftp://ftp.redhat.com/pub/redhat/rhel/rhel-8-beta/appstream/x86_64/Packages/libXdmcp-1.1.2-11.el8.x86_64.rpm \
ftp://ftp.redhat.com/pub/redhat/rhel/rhel-8-beta/appstream/x86_64/Packages/libXfont2-2.0.3-2.el8.x86_64.rpm \
ftp://ftp.redhat.com/pub/redhat/rhel/rhel-8-beta/appstream/x86_64/Packages/xorg-x11-server-Xvfb-1.20.2-5.el8.x86_64.rpm;

I don't know why it's so difficult.

Unable to install Xvfb on Suse Linux

According to this post Xvfb is provided by the xorg-x11-server package. 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.

sudo apt-get install xvfb

Get your admin to run this:

su
mkdir temp
mv /usr/local/lib/libreadline* temp
ldconfig
apt-get update

Then run your apt-get again

Are there differences between xvfb and xvfb-run?

Looking at http://manpages.ubuntu.com/manpages/xenial/man1/xvfb-run.1.html implies that xvfb-run is a wrapper around Xvfb. So, you could certainly use Xvfb without xvfb-run, you just have to pass a lot more arguments / options that xvfb-run would handle for you.

But looking at https://launchpad.net/ubuntu/xenial/+package/xvfb (which is the package the man page lists for 16.04LTS), that package should come with xvfb-run.

This package also contains a convenience script called xvfb-run which
simplifies the automated execution of X clients in a virtual server
environment. This convenience script requires the use of the xauth
program.

So, are you sure that if you do apt-get install xvfb, you don't have xvfb-run installed as well? (You might need to install something to get xauth, but I would have expected that to be handled as a dependency)



Related Topics



Leave a reply



Submit