Difference between revisions of "Xvfb"

From UFRC
Jump to navigation Jump to search
(Created page with "Category:SoftwareCaregory:GUI When running paraview analyses on HiPerGator it may be necessary to set up a virtual X11 environment with Xvfb if a program you need to r...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Software]][[Caregory:GUI]]
+
[[Category:Software]][[Category:GUI]]
When running paraview analyses on HiPerGator 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. Adapt as needed.
 
+
<pre>
DISPLAY_ID=$RANDOM
+
export DISPLAY=${RANDOM}
export DISPLAY=:${DISPLAY_ID}
+
Xvfb :${DISPLAY} -screen 0 1280x960x24 &
Xvfb :${DISPLAY_ID} -screen 0 1024x768x16 &
+
</pre>

Latest revision as of 02:46, 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. Adapt as needed.

export DISPLAY=${RANDOM}
Xvfb :${DISPLAY} -screen 0 1280x960x24 &