Starting image view node

Hi,

Followed ROS Intro / Starting system step by step - Example (ROS introduction | Husarion),

When i get to Starting image view node (ROS introduction | Husarion), and type this code and get the following results:

husarion@husarion:~$ rosrun image_view image_view image:=/camera/rgb/image_raw
[ INFO] [1614828220.890086650]: Initializing nodelet with 4 worker threads.
[ INFO] [1614828221.301916587]: Using transport “raw”
Unable to init server: Could not connect: Connection refused

(image_raw:4056): Gtk-WARNING **: 03:23:41.313: cannot open display:
Segmentation fault (coret dumped)

Please provide suggestions.

Thanks
Vineet

Hi Vinnet,

You don’t have any display connected. Please use some VNC or create one network for both devices: ROSbot and your computer, you can use Husarnet for it. After that you will be able to show image on your computers display.

Best regards,
Hubert