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
How Does/Frequent Unix Tee Command Write Stdout Terminal Output to File? If The Output Is Too Big
Merge Multiple Lines to 1 Row with Awk(Or Familiar)
Is There Any Difference Between '=' and '==' Operators in Bash or Sh
How to Avoid Sigchld Error in Bash Script That Uses Gnu Parallel
Linux: Changing File Ownership Without a Copy
Interpreting Openssl Speed Output for Rsa with Multi Option
Qfiledialog: How to Filter Only Executables (Under Linux)
How to Find Size of Heap Present in Linux
Slurm: After Allocating All Gpus No More CPU Job Can Be Submitted
Pg_Dump Not Been Killed Inside Script with Kill Command
Running Shell Script After Boot on Raspberry Pi
Why Does The Same Executable Use Different Runpaths for Different Library Lookups
How to Generate Files in a Docker Container for Having The Same Owner as The Host's User
Docker: Permission Denied to Local MySQL Volume
Difference Between Posix Reliable Signals and Posix Real-Time Signals in Linux
Libcurl with Libssh2 - One or More Libs Available at Link-Time Are Not Available Run-Time
Visual Studio - X11: The Display Environment Variable Is Missing