Xvfb with Firefox 8.0 on SLES 11

I have installed Xvfb and Firefox 8.0 on a headless server with SLES
11.

I have started Xvfb like
/usr/bin/Xvfb :7 -ac -screen 0 1024x768x8
I get the following error messages from Firefox:
[dix] Could not init font path element /usr/share/fonts/truetype/,
removing from list!
[dix] Could not init font path element /usr/share/fonts/TTF/, removing
from list!
[dix] Could not init font path element /usr/share/fonts/OTF, removing
from list!
[dix] Could not init font path element /usr/share/fonts/Type1/,
removing from list!
[dix] Could not init font path element
/usr/share/fonts/100dpi:unscaled, removing from list!
(EE) config/hal: NewInputDeviceRequest failed (2)
(EE) config/hal: NewInputDeviceRequest failed (2)
(EE) config/hal: NewInputDeviceRequest failed (2)
Xlib: extension “RANDR” missing on display “:7.0”.
*** nss-shared-helper: Shared database disabled (set NSS_USE_SHARED_DB
to enable).

When I try to start Firefox with Selenium Server, I get the following
error:
15:29:40.771 ERROR [12]
org.openqa.selenium.server.BrowserSessionFactory - Failed to start new
browser session, shutdown browser and clear all session data
java.lang.RuntimeException: Timed out waiting for profile to be
created!
at
org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.waitForFullProfileToBeCreated(FirefoxChromeLauncher.java:364)
at
org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.populateCustomProfileDirectory(FirefoxChromeLauncher.java:120)
at
org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.launch(FirefoxChromeLauncher.java:90)
at
org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.launchRemoteSession(FirefoxChromeLauncher.java:416)
at
org.openqa.selenium.server.browserlaunchers.FirefoxLauncher.launchRemoteSession(FirefoxLauncher.java:118)
at
org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSession(BrowserSessionFactory.java:374)
at
org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java:125)
at
org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java:86)
at
org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowserSession(SeleniumDriverResourceHandler.java:809)
at
org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(SeleniumDriverResourceHandler.java:435)
at
org.openqa.selenium.server.SeleniumDriverResourceHandler.handleCommandRequest(SeleniumDriverResourceHandler.java:405)
at
org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(SeleniumDriverResourceHandler.java:149)
at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1530)
at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1482)
at org.openqa.jetty.http.HttpServer.service(HttpServer.java:909)
at
org.openqa.jetty.http.HttpConnection.service(HttpConnection.java:820)
at
org.openqa.jetty.http.HttpConnection.handleNext(HttpConnection.java:986)
at
org.openqa.jetty.http.HttpConnection.handle(HttpConnection.java:837)
at
org.openqa.jetty.http.SocketListener.handleConnection(SocketListener.java:243)
at
org.openqa.jetty.util.ThreadedServer.handle(ThreadedServer.java:357)
at
org.openqa.jetty.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
15:29:40.776 DEBUG [12]
org.openqa.selenium.server.FrameGroupCommandQueueSet - clearing queue
set
15:29:40.776 INFO [12]
org.openqa.selenium.server.SeleniumDriverResourceHandler - Got result:
Failed to start new browser session: Error while launching browser on
session null

I did not get the same Selenium error on Debian, so I suspect SLES 11
is different.


MattiLi

MattiLi’s Profile: http://forums.novell.com/member.php?userid=120388
View this thread: http://forums.novell.com/showthread.php?t=448780

Today it works for some reason.


MattiLi

MattiLi’s Profile: http://forums.novell.com/member.php?userid=120388
View this thread: http://forums.novell.com/showthread.php?t=448780

I just got the error again. It seems that the error occurs
intermittently.


MattiLi

MattiLi’s Profile: http://forums.novell.com/member.php?userid=120388
View this thread: http://forums.novell.com/showthread.php?t=448780