Bug 5322 - FreeRDP v1.0.1 does not work in a ThinLinc session
Summary: FreeRDP v1.0.1 does not work in a ThinLinc session
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VSM Agent (show other bugs)
Version: 4.2.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Pierre Ossman
Depends on:
Reported: 2014-10-23 11:08 CEST by Henrik Andersson
Modified: 2024-01-10 16:53 CET (History)
1 user (show)

See Also:
Acceptance Criteria:

test program (1.18 KB, text/plain)
2014-10-23 11:27 CEST, Pierre Ossman

Description Henrik Andersson cendio 2014-10-23 11:08:19 CEST

Comment 1 Henrik Andersson cendio 2014-10-23 11:09:26 CEST
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
Comment 2 Henrik Andersson cendio 2014-10-23 11:20:04 CEST
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.
Comment 3 Pierre Ossman cendio 2014-10-23 11:27:01 CEST
Created attachment 582 [details]
test program

Simple test program that can provoke the issue.
Comment 4 Pierre Ossman cendio 2024-01-10 16:53:52 CET
This should hopefully be resolved with:


Note You need to log in before you can comment on or make changes to this bug.