Getting GDK_BACKEND does not match available displays error in debian
<p>Actually i am trying to run a headless browser in remote debian server through selenium. I have firefox 46.0.1 installed in the server and i am using selenium 2.53.1 version. </p>

<p>Whenever i tried to run a given test i got the following error. </p>

<pre><code>org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(/usr/bin/firefox) on port 7055; process output follows: 
Error: GDK_BACKEND does not match available displays
</code></pre>

<p>I have instantiated firefox driver in my code like this:</p>

<pre><code>saDriver = new FirefoxDriver();
</code></pre>

<p>can anyone help?</p>