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 wget http://mirror.centos.org/centos/6/os/x86_64/Packages/xorg-x11-server-Xvfb-1.17.4-16.el6.centos.x86_64.rpm 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:
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).
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: http://tedi.es/connect-remote-xvfb-server-using-vnc-ssh-tunnel/
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.