O'Reilly logo

Selenium 2 Testing Tools Beginner's Guide by David Burns

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – setting up XVFB server

We will have to make sure that we have XVFB running on our machine. This should be fairly trivial to getting it right.

  1. Open a terminal.
  2. In the terminal, we will run the following command:
    Xvfb :1 -screen 0 1600x1200x32
    
  3. The server will listen for connections as server number 1, and screen 0 will be depth 32 1600x1200.
  4. You should see something like this in your terminal:

    Time for action – setting up XVFB server

What just happened?

We have just seen what it takes to setup XVFB running on our machines. We have just told it to start an XVFB server and set up a screen on that server. If you want to set up XVFB in different ways, I recommend reading the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required