ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

osrf/ros docker run error

asked 2015-09-03 04:43:49 -0600

Lmaths gravatar image

updated 2015-09-27 03:58:27 -0600

130s gravatar image

After I run the docker container of osrf/ros, I got the following error, and the GUI not work!

$ docker run -it  --security-opt="label:disable"    --env="DISPLAY"     --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw"    osrf/ros:indigo-desktop-full     rqt

X Error: BadAccess (attempt to access private resource denied) 10      
  Extension:    130 (MIT-SHM)    
  Minor opcode: 1 (X_ShmAttach)    
  Resource id:  0x135    
X Error: BadShmSeg (invalid shared segment parameter) 128    
  Extension:    130 (MIT-SHM)    
  Minor opcode: 3 (X_ShmPutImage)    
  Resource id:  0x2000008
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-09-11 13:19:55 -0600

tfoote gravatar image

See the Troubleshooting section here: http://wiki.ros.org/docker/Tutorials/GUI

You may need to include

--env="QT_X11_NO_MITSHM=1"

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-09-03 04:43:49 -0600

Seen: 1,799 times

Last updated: Sep 27 '15