Permalink
Browse files

handled DISPLAY stuff related Xvfb for headless nodes

  • Loading branch information...
1 parent bb960ed commit 51a428e9a8d0f1729bc5b7fcb7f67416114189c3 @rdulepet committed Jun 24, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 job.rb
View
2 job.rb
@@ -167,7 +167,7 @@ def run
# go back to root dir before starting
FileUtils.cd "#{Global.results_dir}/#{@curr_uuid}"
- system "R --no-save < #{@curr_uuid}.r;"
+ system "DISPLAY=localhost:1.0 R --no-save < #{@curr_uuid}.r;"
# mark default as successful job
@job_status = Global::SUCCESSFUL_JOB

0 comments on commit 51a428e

Please sign in to comment.