You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3.`docker build -f Dockerfile_server -t gibson_server .` use the `Dockerfile_server` to build a new docker image that support virtualgl and turbovnc
115
-
4.`docker run --runtime=nvidia -ti --rm -e DISPLAY -v /tmp/.X11-unix/X0:/tmp/.X11-unix/X0 -v <host path to dataset folder>:/root/mount/gibson/gibson/assets/dataset -p 5901:5901 gibson_server`
116
-
in docker terminal, start `/opt/websockify/run 5901 --web=/opt/noVNC --wrap-mode=ignore -- vncserver :1 -securitytypes otp -otp -noxstartup` in background, potentially with `tmux`
117
-
5. Run gibson with `DISPLAY=:1 vglrun python <gibson example or training>`
118
-
6. Visit your `host:5901` and type in one time password to see the GUI.
114
+
1. Install nvidia-docker2 dependencies following the starter guide. Install `x11vnc` with `sudo apt-get install x11vnc`.
115
+
2. Have xserver running on your host machine, and run `x11vnc` on DISPLAY :0.
116
+
2.`docker run --runtime=nvidia -ti --rm -e DISPLAY -v /tmp/.X11-unix/X0:/tmp/.X11-unix/X0 -v <host path to dataset folder>:/root/mount/gibson/gibson/assets/dataset <gibson image name>`
117
+
5. Run gibson with `python <gibson example or training>` inside docker.
118
+
6. Visit your `host:5900` and you should be able to see the GUI.
119
119
120
120
If you don't have X server running, you can still run gibson, see [this guide](https://github.com/StanfordVL/GibsonEnv/wiki/Running-GibsonEnv-on-headless-server) for more details.
121
121
122
-
123
122
B. Building from source
124
123
-----
125
124
If you don't want to use our docker image, you can also install gibson locally. This will require some dependencies to be installed.
@@ -168,7 +167,7 @@ Uninstall gibson is easy. If you installed with docker, just run `docker images
168
167
Quick Start
169
168
=================
170
169
171
-
First run `xhost +local:root` on your host machine to enable display. You may need to run `export DISPLAY=:0.0` first. After getting into the docker container with `docker run --runtime=nvidia -ti --rm -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v <host path to dataset folder>:/root/mount/gibson/gibson/assets/dataset gibson`, you will get an interactive shell. Now you can run a few demos.
170
+
First run `xhost +local:root` on your host machine to enable display. You may need to run `export DISPLAY=:0` first. After getting into the docker container with `docker run --runtime=nvidia -ti --rm -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v <host path to dataset folder>:/root/mount/gibson/gibson/assets/dataset gibson`, you will get an interactive shell. Now you can run a few demos.
172
171
173
172
If you installed from source, you can run those directly using the following commands without using docker.
0 commit comments