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
I don't have a windows machine to try this on, but assuming you're using WSL then maybe x11docker would work there?
# Pull the image first
docker pull osrf/ros:humble-desktop
# Run rviz2 in the image with GPU acceleration
x11docker --gpu osrf/ros:humble-desktop rviz2
Hi there,
I run osrf/ros:humble-desktop-full in my windows machine. I want to use it to visualize data from my real robot.
Silly question, how should I run the image so that I can access RVIZ2 and other GUI tools from windows?
If I simlpy use
docker run -it osrf/ros:humble-desktop-full
it works but with console only.
I tried this as well
docker run -it --name ros-test -e DISPLAY=host.docker.internal:0.0 -e LIBGL_ALWAYS_INDIRECT=0 osrf/ros:humble-desktop-full bash
which seems to start a X11 server (to my understanding). When I try to connect by VNC, it asks for a password, which I can't find.
So what's the correct docker command to run any desktop-full image on windows with GUI support?
BR Patrick
The text was updated successfully, but these errors were encountered: