Compute an example
We compute our first example with Xlab: a catenoid. This post is a continuation of this one, where we installed the Xlab container.
- Open acces to X:
xhost +local:
Remember to close the access when you are done with Xlab.
- Run an Xlab container:
docker run -it --rm --volume=/tmp/.X11-unix:/tmp/.X11-unix --device=/dev/dri/card0:/dev/dri/card0 --env "DISPLAY=$DISPLAY" --network="host" xlab
- Inside the container, compute an example:
xlab --compute --gui=gtk xlab/experiments/minimal/catenoid.xlab
-
Have fun. You cannot break the container from within.
-
Close the XLab windows and exit the container:
exit
- Close access to X:
xhost -local:
Now you may want to export your experiments.