Starting xvnc [workspace] $ /usr/bin/vncserver :0 -geometry 800x600 vncserver: The HOME environment variable is not set.
Set the HOME env variable to the home directory of the user running jenkins.
Regards,
-Urivan
--
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 jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
/usr/bin/Xvfb :$DISPLAY_NUMBER -ac -screen 0 1024x768x16
chmod the .Xauthority file to 777 causes other issues... and so on.cm6@cm6:/var/lib/jenkins$ sudo -u jenkins sh$ whoamijenkins$ echo $HOME/home/cm6$ cd $HOME$ ls .Xauthority.Xauthority$ cat .Xauthoritycat: .Xauthority: Permission denied$
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 1024x768x16Set it in Manage Jenkins | Xvnc | Command Line. The Xvfb utility is part of the xvnc4server package.
--