Hi, I have a Jenkins master running RHEL 5 and a Jenkins slave running Centos 6. I installed WINE on both master and slave. One of the Jenkins' jobs runs a couple Windows binaries under WINE. The job runs fine if it runs on the master itself but failed with the message below.
------ wine cmd /c c:/exe1.exe ./tools/bin2.bin No protocol specified No protocol specified No protocol specified No protocol specified No protocol specified No protocol specified No protocol specified No protocol specified Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. err:systray:initialize_systray Could not create tray window No protocol specified No protocol specified File not found. ------ If I "ssh -X slave" as the user specified in the job from the master shell prompt to the slave, set the DISPLAY, and run xclock, xclock displays on the master just fine. So it seems some where in Jenkins I need to tell the master to set DISPLAY variable after connecting to the slave? Please advise if you have any suggestions. Thank you very much!