This plugin lets you run an Xvnc session during a build. This is handy if your build includes UI testing that needs a display available.

Each build using the plugin gets its own display allocated from a free list, by default starting with :10 and ending with :99.
(The $DISPLAY environment variable is set for the build by the plugin.)
Thus you can freely run builds on multiple executors without fear of interference.

If there is some problem starting a display server with a given number, that number will be blacklisted
for the remainder of the Hudson session and the plugin will try ten more times before giving up.
This is commonly due to stale locks that did not get cleaned up properly.
There is also an option to clean up locks when starting the first Xvnc-enabled build in a given session.
You can record your vnc session with VncRecorder Plugin.

Note: you must have started the vncserver at least one time before you use it with hudson. This is to create a password. Otherwise Jenkins fails. This blog post describes how.

If you are running Windows you probably do not want this plugin. This blog post offers an alternative suggestion.

Version History

Version 1.24 (Jul 22 2015)

Version 1.23 (Aug 28 2015)

Version 1.22 (Jun 10 2015)

Version 1.20 (Nov 12 2014)

Version 1.19 (skipped)

Version 1.18 (Oct 15 2014)

Version 1.17 (Mar 16 2014)

Version 1.16 (Mar 5 2014)

Version 1.14 (Apr 10 2013)

Version 1.13 (Apr 9 2013)

Version 1.12 (Apr 4 2013)

Version 1.11 (Jan 14 2012)

Version 1.10 (Jul 19 2010)

Version 1.9 (Jun 21 2010)

Version 1.8 (Jan 9 2010)

Version 1.7 (Apr 15 2009)

Version 1.6 (Apr 14 2009)

Version 1.5 (August 11, 2008)

Version 1.4