[
https://jira.codehaus.org/browse/MSELENIUM-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=275020#comment-275020
]
S Daigle commented on MSELENIUM-71:
-----------------------------------
I don't think anyones paying attention to this issue. I found a workaround that
could help you. Add the following snippet to your selenium-maven-plugin plugin:
<options>
<option>-auth</option>
<option>/dev/null</option>
</options>
> Xvfb process spawned by the selenium-maven-plugin failing to connect
> --------------------------------------------------------------------
>
> Key: MSELENIUM-71
> URL: https://jira.codehaus.org/browse/MSELENIUM-71
> Project: Maven 2.x Selenium Plugin
> Issue Type: Bug
> Components: xvfb
> Affects Versions: 1.0.1, 2.0
> Environment: Linux CentOS release 4.7, 5.5
> Reporter: S Daigle
>
> 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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email