Open
Description
This allows to run a docker instance that can be used to launch the OpenStudio GUI:
$ xhost local:root && \
docker run -it \
--rm \
-e DISPLAY \
-v /tmp/X11-unix:/tmp/X11-unix:ro \
-v /etc/machine-id:/etc/machine-id:ro \
-v /var/run/dbus:/var/run/dbus \
nrel/openstudio
To launch the OpenStudio GUI from the container, just use:
/var/simdata/openstudio# QT_GRAPHICSSYSTEM=native OpenStudio
Exporting the QT_GRAPHICSSYSTEM=native
is needed to overcome a rendering bug due to running the app through the X socket. Using -e QT_GRAPHICSSYSTEM=native
to set this environment variable doesn't seem to work.
Metadata
Metadata
Assignees
Labels
No labels