title: Jenkins xvnc, HOME variable not set error
body: <p>Trying to get some jobs working that require xvnc, but get this:</p>
  
  <pre><code>  Starting xvnc
    [workspace] $ vncserver :14
    vncserver: The HOME environment variable is not set.
  </code></pre>
  
  <p>I have no problems with running vncserver from the jenkins user on command line. (aside: 'printenv' shows the HOME variable is populated correctly when on the command line, but not from within a jenkins job).</p>
  
  <p>I am running Ubuntu 11.10.</p>