Skip to content

Commit

Permalink
Clarify X11 forwarding configs
Browse files Browse the repository at this point in the history
  • Loading branch information
j3soon committed Jul 18, 2024
1 parent 05a2f3f commit 14f2ae8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Guidelines for modifications:
* Vladimir Fokow
* Zhengyu Zhang
* Ziqi Fan
* Johnson Sun

## Acknowledgements

Expand Down
4 changes: 2 additions & 2 deletions docker/container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,9 @@ x11_check() {
else
echo "[INFO] X11 Forwarding is configured as $__ISAACLAB_X11_FORWARDING_ENABLED in .container.yaml"
if [ "$__ISAACLAB_X11_FORWARDING_ENABLED" = "1" ]; then
echo "[INFO] To disable X11 forwarding, set __ISAACLAB_X11_FORWARDING_ENABLED=0 in .container.yaml"
echo "[INFO] To disable X11 forwarding, set \`__ISAACLAB_X11_FORWARDING_ENABLED: 0\` in .container.yaml"
else
echo "[INFO] To enable X11 forwarding, set __ISAACLAB_X11_FORWARDING_ENABLED=1 in .container.yaml"
echo "[INFO] To enable X11 forwarding, set \`__ISAACLAB_X11_FORWARDING_ENABLED: 1\` in .container.yaml"
fi
fi

Expand Down
3 changes: 3 additions & 0 deletions docs/source/deployment/docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ directories to the ``docker/artifacts`` directory. This is useful for copying th
# stop the container
./docker/container.sh stop
To enable X11 forwarding, set ``__ISAACLAB_X11_FORWARDING_ENABLED: 1`` in ``docker/.container.yaml``,
and rerun ``./docker/container.sh stop`` and ``./docker/container.sh start``. This will allow apps to behave as local GUI windows.


Python Interpreter
~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit 14f2ae8

Please sign in to comment.