I am running a Python GUI based in PySide2 on a remote desktop (VNC) using a Python 3.8 linux installation and running into some issues.
The GUI does indeed pop up and appears operational, however, the command prompt displays the following errors:
qt.qpa.xcb: failed to initialize XRandr
qt.qpa.xcb: X server does not support XInput 2
qt.qpa.xcb: QXcbConnection: XCB error: 1 (BadRequest), sequence: 168, resource id: 53,
major code: 131 (Unknown), minor code: 47
I do not have admin/root access and the DISPLAY environment variable appears to be set to :3.0 (DISPLAY=:3.0) (DISPLAYNUM=3).
It does not seem this should be a limitation as I can run other software interfaces in the remote viewer.
I do not know if this is the intended use case, however, I tried appending a platform VNC flag after the command line call to the Python GUI:
/usr/python/linux/bin/python /usr/python/linux/scripts/GUI.py -platform vnc
From here, the error message goes away and I get:
QVncServer created on port 5900
However, no GUI or window shows up this time. This is also the case for using the offscreen or minimal options.