Bug report #22045

QGIS crashes with VNC connection

Added by Daan VAN SETTEN about 2 years ago.

Affected QGIS version:3.6.2 Regression?:No
Operating System:UBUNTU 18.04 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:29859



I'm running QGIS 3.6.2 on UBUNTU 18.04.2/Xfce desktop environment. The particularity is that I'm accessing the server through a secured VNC connection (tightVNC).

When I launch QGIS, everythings goes well, although I get the following 2 warnings:

Warning: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Warning: Qt: XKEYBOARD extension not present on the X server.

However, when I add some data, select a tool and then move the cursor to the canvas, QGIS crashes. Apparantly because it is not able to acces the icon/image for the cursor. It crashes while giving the following warnings:

Warning: qt_xcb_createCursorXRender: query_pict_formats failed
Warning: The X11 connection broke (error 2). Did the X11 server die?

I did some research, and it seems that the solution can be found here with a path for QT.

Unfortunately, I have no idea how to apply this patch.... Is that something I can do on my server or does did need a new QGIS release ???

Any help would be really appreciated. Thanks in advance, Daan

Also available in: Atom PDF