Net Work Problem

asked 2020-02-24 16:02:06 -0600

GGR007 gravatar image

Hello, i have 2 pc witth ubuntu 18.04 and ros melodic

PC1 192.168.116.98 PC2 192.168.116.162

i would be use a PC2 for teleoperate on PC1 by network, i follow the network tutorial, but for exmple "turtlesim_node.py" don't start. i have this error

rosrun turtlesim turtlesim_node 
qt.qpa.screen: QXcbConnection: Could not connect to display 
Could not connect to any X display.
edit retag flag offensive close merge delete

Comments

I assume you are running the commands over ssh. The error indicates that you do not have an x server running on the computer you are trying to launch the turtlesim_node.py node on. X server is used to display graphical applications, which you do not want to do on a headless pc, so that node is not something to use to test if things are working as expected.

Have you tried running the commands suggested in the tutorials?

Reamees gravatar image Reamees  ( 2020-02-25 01:10:05 -0600 )edit