Robotics StackExchange | Archived questions

run rviz on my remote pc

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??

Asked by hmz.ch on 2020-02-28 10:05:35 UTC

Comments

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?

Asked by Wilco Bonestroo on 2020-02-28 14:05:04 UTC

i followed this page: http://wiki.ros.org/ROS/NetworkSetup

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?

Asked by hmz.ch on 2020-02-28 14:31:01 UTC

Answers