Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.0.1, 2.0
-
Fix Version/s: None
-
Component/s: xvfb
-
Labels:None
-
Environment:Linux CentOS release 4.7, 5.5
-
Number of attachments :
Description
Receiving the following error when trying to connect to Xvfb process spawned by the selenium-maven-plugin:
Failed to connect to binary FirefoxBinary(/usr/bin/firefox) on port 7055; process output follows:
After doing a little digging, the server is refusing a connection.
Xlib: connection to "localhost:20.0" refused by server
Xlib: No protocol specified
xterm Xt error: Can't open display: localhost:20
I see the following output from maven:
[INFO] — selenium-maven-plugin:2.0-SNAPSHOT:xvfb (ROOT POM: Start xvfb) @ siteharvester —
[INFO] Starting Xvfb...
[INFO] Using display: :20
[INFO] Using Xauthority file: /tmp/Xvfb4169669759974756099.Xauthority
Deleting: /tmp/Xvfb4169669759974756099.Xauthority
xauth: creating new authority file /tmp/Xvfb4169669759974756099.Xauthority
Launching Xvfb
Waiting for Xvfb...
and when I try to connect to the virtual display, e.g (xterm -display localhost:20), I get the error above
If I run "Xvfb :20" in one window and "xterm -display :20" in an other, the server process connects. Only when run with maven it does not.
If you need any more information, please let me know.
I'm running into this as well in a similar environment, and I'm yet to find a workaround.