run rviz on my remote pc

asked 2020-02-28 09:05:35 -0500 gravatar image

updated 2022-03-20 10:04:04 -0500

lucasw gravatar image

hello everyone,

i want to visualise lidar data from raspberry (ros lunar), with my remote pc(ros kinetic), i configure the ros_master and host as explained on wiki.ros. when i run rviz rviz, on my remote pc, i get this: QXcbConnection: Could not connect to display Aborted what does it mean??

edit retag flag offensive close merge delete


Can you give some more details on your setup? Where is the master? Which specific wiki page did you follow? Did you set both ROS_HOSTNAME and ROS_MASTER_URI? Is the name resolution working on both machines? And can you run Rviz when you just use one machine?

Wilco Bonestroo gravatar image Wilco Bonestroo  ( 2020-02-28 13:05:04 -0500 )edit

i followed this page:

the master of my config is the Raspberry , in the bash file i add : export ROS_MASTER_URI=http://raspberry IP:11311 eport ROS_HOSTNAME=raspberry IP export ROS_IP=raspberry IP.

the remote PC bash file: export ROS_MASTER_URI=http://raspberry IP:11311 eport ROS_HOSTNAME=remote pc IP export ROS_IP=remote pc IP

when i run Rviz in one machine it works succefully. but when i connect whith ssh to the raspberry, and i run roscore, then roslaunch rplidar_ros view_rplidar.launch, it doesn't work (no Rviz response).

what the you mean whit the same resolution working on both machines? gravatar image  ( 2020-02-28 13:31:01 -0500 )edit