How to run GUI app inside docker who require opengl in jetson nano 2gb developper kit ?
You should type “xhost +” outside the docker. Than, you should pass “-e DISPLAY=:0 -v /tmp/.X11-unix:/tmp/.X11-unix” parameters like:
sudo docker run -it -rm --gpus all -e DISPLAY=:0 -v /tmp/.X11-unix:/tmp/.X11-unix --runtime nvidia --network host nvcr.io/nvidia/l4t-ml:r32.5.0-py
Just for referencing, you can take a look at our blogpost.
Thanks for the reply but this doesn’t work for me. I have this message in the picture
Can you try this command?
I just encounter the subject similiar with your problem here:
Hello I’ve tried this but I have the same issue.
Rqt_graph app is running but not rviz
We have demo samples in
Yo may check if you can run the samples as reference. To clarify whether the issue is specific to certain application.