I am currently trying to use rviz, I have already rosrun rviz on my workstation.
and then when I input “roslaunch fiducial_slam fiducial_rviz.launch” on magni, there is following error message:
QXcbConnection: Could not connect to display
[rviz_RAISE_2000_1149265778-1] process has died [pid 2026, exit code -6, cmd /opt/ros/kinetic/lib/rviz/rviz -d /opt/ros/kinetic/share/fiducial_slam/fiducials.rviz __name:=rviz_RAISE_2000_1149265778 __log:=/home/ubuntu/.ros/log/0a71a9ba-df79-11d4-9d2d-0520345572d3/rviz_RAISE_2000_1149265778-1.log].
log file: /home/ubuntu/.ros/log/0a71a9ba-df79-11d4-9d2d-0520345572d3/rviz_RAISE_2000_1149265778-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor…
… shutting down processing monitor complete
done
Unhandled exception in thread started by
sys.excepthook is missing
lost sys.stderr
Thanks.