While running Selenium grid under r Linux/2.6.16.21-0.25-xen amd64 java/1.5.0_07
am getting following exceptions:
[java] 07:18:42.931 INFO - Command request: getNewBrowserSession[*firefox,
http://images.google.com, ] on session null
[java] 07:18:42.935 INFO - creating new remote session
[java] 07:18:42.963 DEBUG - Requested browser string '*firefox' matches *firefox
[java] 07:18:43.013 DEBUG - Dicovering Firefox 2...
[java] 07:18:43.303 DEBUG - Discovering Firefox 2...
[java] 07:18:43.304 DEBUG - Checking whether Firefox 2 launcher at :'/Applications/Firefox-2.app/Contents/MacOS/firefox-bin' is valid...
[java] 07:18:43.317 DEBUG - Checking whether Firefox 2 launcher at :'/Applications/Firefox.app/Contents/MacOS/firefox-bin' is valid...
[java] 07:18:43.317 DEBUG - Checking whether Firefox 2 launcher at :'/usr/lib/firefox/firefox-bin' is valid...
[java] 07:18:43.518 DEBUG - Discovered valid Firefox 2 launcher : '/usr/lib/firefox/firefox-bin'
[java] 07:18:43.544 INFO - Allocated session 01917061d7b84fa5b9082e37144d98af for
http://images.google.com, launching...
[java] 07:18:43.616 DEBUG - Extracting /customProfileDirCUSTFFCHROME to /tmp/customProfileDir01917061d7b84fa5b9082e37144d98af
[java] 07:18:44.142 INFO - Preparing Firefox profile...
[java]
[java] (firefox-bin:23741): *Gtk-WARNING **: cannot open display*:
[java] 07:19:05.874 ERROR - Failed to start new browser session, shutdown browser and clear all session data
[java] *java.lang.RuntimeException: Timed out waiting for profile to be created!*
[java] at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.waitForFullProfileToBeCreated(FirefoxChromeLauncher.java:305)
[java] at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.populateCustomProfileDirectory(FirefoxChromeLauncher.java:106)
[java] at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.launch(FirefoxChromeLauncher.java:83)
[java] at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.launchRemoteSession(FirefoxChromeLauncher.java:350)
[java] at org.openqa.selenium.server.browserlaunchers.FirefoxLauncher.launchRemoteSession(FirefoxLauncher.java:98)
[java] at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSession(BrowserSessionFactory.java:357)
[java] at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java:122)
[java] at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java:84)
[java] at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowserSession(SeleniumDriverResourceHandler.java:699)
[java] at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(SeleniumDriverResourceHandler.java:393)
[java] at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleCommandRequest(SeleniumDriverResourceHandler.java:364)
[java] at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(SeleniumDriverResourceHandler.java:125)
[java] at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
[java] at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
[java] at org.mortbay.http.HttpServer.service(HttpServer.java:909)
[java] at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
[java] at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
[java] at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
[java] at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
[java] at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
[java] at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
[java] 07:19:06.188 DEBUG - clearing queue set
i tried following also but no use : 1.Xvfb :2 -screen 0 800x600x16 -ac &2./usr/X11R6/bin/X -audit 0 Is there any way to solve this problem? Or this is my setting mistake? Please advise.