[Closed] Cant run rviz on the rosbot 2 pro

husarion@husarion:~$ rviz
[ INFO] [1708711261.879535573]: rviz version 1.14.20
[ INFO] [1708711261.879676928]: compiled against Qt version 5.12.8
[ INFO] [1708711261.879733312]: compiled against OGRE version 1.9.0 (Ghadamon)
[ INFO] [1708711261.936697959]: Forcing OpenGl version 0.
qt.qpa.xcb: QXcbConnection: XCB error: 148 (Unknown), sequence: 185, resource id: 0, major code: 140 (Unknown), minor code: 20
Segmentation fault (core dumped)

Hello @Poornima_Nair,

Which version of image have you installed on the ROSbot?
Did you try simply reinstall RVIZ using apt?

Regards

i wasnt the one who installed the image but i believe its 1.5.2 or so.

yes i have tried downloading rviz, it simply doesn’t open.

Hello @Poornima_Nair,

You can check OS image by using echo $HUSARION_OS_VERSION command.
If nothing appear please reinstall your image to Husarion OS: Installing Husarion OS | Husarion

Regards

husarion@husarion:~$ rviz
[ INFO] [1710352268.034435216]: rviz version 1.14.20
[ INFO] [1710352268.034586198]: compiled against Qt version 5.12.8
[ INFO] [1710352268.034648421]: compiled against OGRE version 1.9.0 (Ghadamon)
qt.qpa.xcb: QXcbConnection: XCB error: 148 (Unknown), sequence: 185, resource id: 0, major code: 140 (Unknown), minor code: 20
^C
husarion@husarion:~$ echo $HUSARION_OS_VERSION

husarion@husarion:~$ echo $HUSARION_OS_VERSION

husarion@husarion:~$ echo $HUSARION_OS_VERSION

husarion@husarion:~$

idk what this is but this is my output when i run that command

i tried removing and reinstalling rviz, aswell as some dependencies, now i get this

[ INFO] [1710352914.917836005]: rviz version 1.14.20
[ INFO] [1710352914.917976995]: compiled against Qt version 5.12.8
[ INFO] [1710352914.918033579]: compiled against OGRE version 1.9.0 (Ghadamon)
This plugin does not support propagateSizeHints()

Hello @Poornima_Nair

Have you tried reinstalling the OS Image as @RafalGorecki wrote?

Best regards
Jan Brzyk

1 Like