title: Trying to use Selenium on a Raspberry Pi2 (Stretch)
body: <p>I have the following configuration:</p>
  
  <ul>
  <li><code>Raspberry Pi2</code> with Stretch
  
  <ul>
  <li><code>Python 2.7</code> with pip installed</li>
  <li><code>Firefox 52.9.0</code> (from apt-get install firefox-esr)</li>
  <li><code>geckodriver 0.17.0</code> (from <a href="https://github.com/mozilla/geckodriver/releases/download/v0.17.0/geckodriver-v0.17.0-arm7hf.tar.gz" rel="nofollow noreferrer">https://github.com/mozilla/geckodriver/releases/download/v0.17.0/geckodriver-v0.17.0-arm7hf.tar.gz</a>), copied to /usr/local/bin</li>
  <li><code>Selenium 3.4.0</code> </li>
  </ul></li>
  </ul>
  
  <p>So according to <a href="https://firefox-source-docs.mozilla.org/testing/geckodriver/geckodriver/Support.html" rel="nofollow noreferrer">https://firefox-source-docs.mozilla.org/testing/geckodriver/geckodriver/Support.html</a>, this should work.
  However, running this simple python script:</p>
  
  <pre><code>from pyvirtualdisplay import Display
  from selenium import webdriver
  display = Display(visible=0, size=(1024, 768))
  display.start()
  driver = webdriver.Firefox()
  driver.get('http://www.google.com/')
  print browser.title
  driver.quit()
  display.stop()
  </code></pre>
  
  <p>returns the error: </p>
  
  <blockquote>
    <p>Service geckodriver unexpectedly exited. Status code was: -11</p>
  </blockquote>
  
  <p>I tried many things like update Selenium/geckodriver to latest releases, tried some releases in between (Selenium 3.0.2, Geckodriver 0.11.1 as stated in <a href="https://stackoverflow.com/questions/39312903/selenium-firefox-webdriver-results-in-error-service-geckodriver-unexpectedly-ex">Selenium Firefox webdriver results in error: Service geckodriver unexpectedly exited. Status code was: 2</a>) but still same error -11 (crash).</p>
  
  <p>Any idea or working configuration?
  Thanks,
  Jean</p>