[deadlineCommand] executeScript : cannot connect to X server

Hello,

I am trying to run a deadlineCommand - executeScript on our slaves.
But the machine gives following error : ‘cannot connect to X server’

The slaves are running headless so do not have any monitor.

Is it possible to run a executeScript with a nogui flag ?
Similar as deadlineslave, deadlinemonitor have ?

Thanks!

Hello Sven,

Could I have you add the -nogui flag to your script and see if that works for you? Otherwise Deadline may still try to load GUI elements. Let me know how that goes, Thanks.

Cheers,

Dwight