running rviz on my remote pc [closed]

asked 2020-03-01 05:08:43 -0500

hmz.ch gravatar image

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?? can you help me please to solve this!!! 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).

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by gvdhoorn
close date 2020-03-01 05:44:28.039779

Comments

This reads like a direct duplicate of your #q345366.

Please do not post duplicate questions. If you have new information, edit your original question and add that new information there.

You can use the edit button/link to do that.

gvdhoorn gravatar image gvdhoorn  ( 2020-03-01 05:45:08 -0500 )edit