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

Unable to run Rviz and RTABMAP using SSH

asked 2018-03-17 03:58:41 -0500

Raza gravatar image

Hey everyone,

I am a student of Habib University and I am working on an Autonomous Rescue Robot. The project aims to develop an Autonomous Robot that can make an entire Map of an unknown site 'Autonomously' and simultaneously send live Mapping and Localization data to a remote PC.

I am using a RaspberryPi 3 in which I've installed Lubuntu and ROS Kinetic. The problem I am currently facing is that I can connect to the Pi using SSH but when I run the Rviz and Rtabmap commands, it gives me an error.

rosrun rviz rviz QXcbConnection: Could not connect to display Aborted

Is there any other way I can run Rviz and Rtabmap on a remote PC and visualize the Mapping and Localization data?

edit retag flag offensive close merge delete


Hello! Did you fix it? I am having the same problem. Could you explain if you fix it? Thanks

cesarhcq gravatar image cesarhcq  ( 2019-04-15 15:44:00 -0500 )edit

No, we weren't able to fix it. We had to install and Run the ROS on a laptop.

Raza gravatar image Raza  ( 2019-04-17 13:40:57 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-03-18 00:30:02 -0500

Hamid Didari gravatar image

Hi if i understand correctly your pi hasn't any display device for running rviz i suggest you to use ros network and run rviz in your pc

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-03-17 03:58:41 -0500

Seen: 1,100 times

Last updated: Mar 18 '18