Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am trying to setup Hudson to run automated selenium tests using a "headless" Firefox. The process gets triggered by using the following command:

xvfb-run --server-args="-screen 2 1024x768x24" java -jar selenium-server.jar -firefoxProfileTemplate profile/19vcecqr.customProfile/ -htmlSuite "*firefox /usr/lib/firefox/firefox" http://somewebsite/ testsuite.html results.html -debug


INFO: Launching a standalone server
13:21:09.861 INFO - Java: Oracle Corporation 24.55-b03
13:21:09.862 INFO - OS: Linux 3.13.0-29-generic amd64
13:21:09.874 INFO - v2.41.0, with Core v2.41.0. Built from revision 3192d8a
13:21:09.945 INFO - Default driver org.openqa.selenium.ie.InternetExplorerDriver registration is skipped: registration capabilities Capabilities [{platform=WINDOWS, ensureCleanSession=true, browserName=internet explorer, version=}] does not match with current platform: LINUX
13:21:09.975 INFO - RemoteWebDriver instances should connect to:
13:21:09.976 INFO - Version Jetty/5.1.x
13:21:09.977 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
13:21:09.977 INFO - Started HttpContext[/selenium-server,/selenium-server]
13:21:09.977 INFO - Started HttpContext[/,/]
13:21:09.992 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@2439a391
13:21:09.992 INFO - Started HttpContext[/wd,/wd]
13:21:09.995 INFO - Started SocketListener on
13:21:09.995 INFO - Started org.openqa.jetty.jetty.Server@67a531a9
13:21:10.119 INFO - Preparing Firefox profile...
13:21:11.923 INFO - Launching Firefox...

Then the whole process hangs (No Errors). Launching Firefox itself works (xvfb-run firefox).

Doing the exact same thing on my local machine works just fine (also Ubuntu 12.04).

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.