I have been setting up Qt Creator to run on an embedded device (Odroid XU-4) for my work and I have been getting issues with initialising the application. when I call qtcreator, I get:
odroid@odroid:~$ failed to get the current screen resources
The X11 connection broke: Unsupported extension used (code 2)
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server "localhost:12.0"
after 6 requests (6 known processed) with 0 events remaining.
I checked Xming was active and after looking around on a few forums, I tried installing a VNC server and xrdp on the Odroid to solve the problem (no luck).
I then tried ssh'ing through a Ubuntu VM and I got a different error:
QXcbConnection: Could not connect to display
I managed to fix this one using this guide and adding '-Y' during the ssh handshake. I added X11UseLocalhost to the sshd_config file too, as this was not present.
X11UseLocalhost yes
Qt Creator now works through SSH via Ubuntu, but Id ideally like to have it running through the puTTY/Xming setup.
Ive tried turning on the -ac option in Xming Configuration but I haven't had any luck.
What are the differences between Xming and ssh -X that could be causing the errors?