Skip to content

Commit c37f783

Browse files
committed
Mention xvfb-run
1 parent bb5efa0 commit c37f783

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/JSROOT.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -814,6 +814,12 @@ It is also possible to convert any JavaScript object into ROOT JSON string, usin
814814

815815
Such JSON string could be parsed by any other JSROOT-based application.
816816

817+
When WebGL rendering is used (lego plots or TGeo drawing), on the Linux one need to have `DISPLAY` correctly set
818+
to make it working. To run JSROOT on headless machine, one have to use `xvfb-run` utility like
819+
(see also [here](https://github.com/stackgl/headless-gl#how-can-headless-gl-be-used-on-a-headless-linux-machine)):
820+
821+
xvfb-run -s "-ac -screen 0 1280x1024x24" node geomsvg.js
822+
817823

818824
### Use with OpenUI5
819825

0 commit comments

Comments
 (0)