Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

as described in [1] running Selenium RC on a headless Linux is pretty easy to achieve. Essentially this requires these commands:

$ Xvfb :99 -ac &
$ export DISPLAY=:99 
$ java -jar selenium-server.jar &

So how can I provide this right after the start of the server?

The system is a Ubuntu Server 10.04.



share|improve this question
up vote 0 down vote accepted

Using pretty much solves it - so within selenium a browser setting like "*firefox /usr/local/bin/" worked for me with these lines within :

/urs/local/bin/ firefox $*


share|improve this answer
The above link gives a 404. The project has been moved to – Will Sargent Apr 10 '11 at 4:13

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.