Fails with the following error:
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 1 (X_CreateWindow)
Serial number of failed request: 32
Current serial number in output stream: 36
x_get_pixmap_info() in FreeRDP are used to get a visual which is used in XCreateWindow() which fails. This function enumerates visuals for display using XListPixmapFormats() and uses the first matching visual which depth matches the screen.
The first matching visualid differs if running freerdp on console or within a ThinLinc session. Visual id 0x21 is the first match when running on console and within a session it is 0xae.
Created attachment 582 [details]
Simple test program that can provoke the issue.