Well, excellent points all the way around. In my case I don't try to connect to the running xvnc server, so xvfb works just fine for me. And I'd say that the OP now has an additional option.use the Xvfb plugin.
I am curious though, could someone give exact, step-by-step instructions to set the .Xauthority password correctly on Ubuntu? As I said in my previous post, the "jenkins" userid does not show up in the "users" command output, there is no "/home/jenkins" created when jenkins or the plugin is installed, etc. John On Wed, Mar 27, 2013 at 10:37 AM, JonathanRRogers <[email protected] > wrote: > On Tuesday, March 26, 2013 4:35:33 PM UTC-4, JohnA wrote: >> >> I had a similar (but not exactly the same) problem on Ubuntu 10.04. I >> solved it by using this command line: >> >> /usr/bin/Xvfb :$DISPLAY_NUMBER -ac -screen 0 1024x768x16 >> >> >> Set it in Manage Jenkins | Xvnc | Command Line. The Xvfb utility is part >> of the xvnc4server package. >> > > Actually, Xvfb is from the Xorg project and has nothing to do with VNC. > The Ubuntu package which installs Xvfb is called "xvfb". It is similar to > Xvnc in that it is an X11 server which maintains a framebuffer in regular > memory and requires no display hardware. However, unlike Xvnc, it doesn't > provide any way for a user to interact directly with a session. > > Xvfb is ideal for running tests or other automated processes which need an > X11 server available. I use it for running WebDriver tests through Firefox. > I use the Xvfb Jenkins plugin which is really easy to use. I definitely > think that this approach is better than VNC as long as there is no need for > a user to interact with a session since configuration issues like those > discussed here are less likely. It is possible to take screenshots and > attach them to builds as artifacts, which my test suite does in the case of > WebDriver test failures. > <URL:https://wiki.jenkins-ci.org/display/JENKINS/Xvfb+Plugin> > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
