title: installing firefox and xvfb on amazon linux
body: <p>I am trying to add firefox on amazon linux since few days but I am not able to make it work. 
  I want to use xvfb to run firefox as a headless browser.</p>
  
  <p>I installed both using <code>sudo yum install package</code>command but when i try to run it as</p>
  
  <pre><code>$ Xvfb :1
  $ export DISPLAY=:1
  $ firefox
  </code></pre>
  
  <p>it is giving error "cannot open display: :1</p>
  
  <p>can anyone help me with this ? or anyone can help me to install it properly so it works !</p>
  
  <p>Thanks in advance</p>