Difference between revisions of "Xvfb"
Jump to navigation
Jump to search
Moskalenko (talk | contribs) |
Moskalenko (talk | contribs) |
||
Line 1: | Line 1: | ||
[[Category:Software]][[Category:GUI]] | [[Category:Software]][[Category:GUI]] | ||
It may be necessary to set up a virtual X11 environment with Xvfb if a program you need to run expects an X11 environment. Use the following code between the module load and the command to run in the job script | It may be necessary to set up a virtual X11 environment with Xvfb if a program you need to run expects an X11 environment. Use the following code between the module load and the command to run in the job script | ||
− | + | <pre> | |
− | + | export DISPLAY=${RANDOM} | |
− | export DISPLAY= | + | Xvfb :${DISPLAY} -screen 0 1280x960x24 & |
− | Xvfb :${ | + | </pre> |
Revision as of 02:45, 15 August 2020
It may be necessary to set up a virtual X11 environment with Xvfb if a program you need to run expects an X11 environment. Use the following code between the module load and the command to run in the job script
export DISPLAY=${RANDOM} Xvfb :${DISPLAY} -screen 0 1280x960x24 &