Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Cannot start rviz over VNC

I setup VNC on my workstation computer so I can work with RViz on my laptop while I'm away, but I'm getting the following error when trying to run RViz:

andrewda@home:~$ rosrun rviz rviz
QXcbConnection: Failed to initialize XRandr
Qt: XKEYBOARD extension not present on the X server.
[ INFO] [1573625462.248129917]: rviz version 1.12.17
[ INFO] [1573625462.248180228]: compiled against Qt version 5.5.1
[ INFO] [1573625462.248191551]: compiled against OGRE version 1.9.0 (Ghadamon)
Unsupported screen format: depth: 16, red_mask: 3f, blue_mask: f800
Using RGB16 fallback, if this works your X11 server is reporting a bad screen format.
Segmentation fault

The same command correctly starts RViz when run directly on my workstation with an attached monitor.

Note that I'm using ROS Kinetic on Ubuntu 16.04, and vnc4server as my VNC server.

Thanks for any help!