Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.7.1
-
None
-
Debian Stretch, standard install of Qt5 using apt-get.
Container is of the type systemd-nspawn, also Debian Stretch,
Description
I have a simple PDF viewer program https://github.com/amkhlv/pdq which I run in container using ssh -X . When started first time, it reports many errors of the type:
QXcbConnection: XCB error: 2 (BadValue), resource id: 1024, major code: 130 (Unknown), minor code: 3
and rendering is all wrong (cannot resize window, garbled text on dialogs etc)
{{This only happens if I run it forwarded over ssh -X }}
If I stop the program and run it again, it runs perfectly fine. Only the very first run is problematic.
It seems that the first run somehow changes the state of the X server, and this change corrects the problem. (If so, would it be possible to just execute some command at startup, which would cause the same change?)