Run Firefox on Linux RHEL 6.9

Posted on

Problem :

After days of searching and many attempts to instal/run firefox on Linux EC2, I have the following steps:

1. Install Xvfb:

yum install libXdmcp

yum install libxshmfence

yum install xorg-x11-server-common

yum install xorg-x11-xauth


rpm -ivh xorg-x11-server-Xvfb-1.17.4-16.el6.centos.x86_64.rpm

2. Install firefox (latest in yum repo)

yum install firefox

3. Launch firefox with xvfb-run:

xvfb-run firefox

And, I get the following error message:

Xlib:  extension "RANDR" missing on display ":99".

In addition, I don’t get any indication the firefox is actually running. All of the blogs/instructions over the web are not up to date (over 2 years old).

Any ideas?

Solution :

You might still be missing the VNC server part – which helps you to remotely connect to your firefox session. Have a look at this URL which explains the needed steps:

Xvfb gained the RANDR extension in version 1.18.0.

You have version 1.17.4.

RHEL 7 has version 1.19.3.

Upgrade to RHEL 7.

Leave a Reply

Your email address will not be published.