ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Found the answer. On my system I was running docker from under root (sudo docker
instead of just docker
inside run_my_image.sh
).
To allow root user the access to running server one must run (on the host machine) the following command
$ xhost +si:localuser:root
Now I am able to run RViz and Gazebo.
2 | No.2 Revision |
Found the answer. On my system I was running docker from under root (sudo docker
instead of just docker
inside run_my_image.sh
).
To allow root user the access to running X server one must run (on the host machine) the following command
$ xhost +si:localuser:root
Now I am able to run RViz and Gazebo.