pyrdp icon indicating copy to clipboard operation
pyrdp copied to clipboard

Handle missing RDPVersion numbers thrown by some RDP clients

Open luciaprime54 opened this issue 1 year ago • 2 comments

A recent update of some clients such as Remmina on Linux recently updated the RDP version code to 0x80011 and threw an exception crashing unnecessarily.

Rather than waiting to hardcode the next version number, handle the ones we need to and create a catch-all for the ones we haven't seen.

PR also adds the latest version I saw in the wild: 0x80011

luciaprime54 avatar Jun 12 '24 15:06 luciaprime54

This PR is attempt to address #475.

Unfortunately, it doesn't help me: I'm getting errors and disconnection on the Windows 11 target host (see Event Viewer) and connection timeout at the Windows 11 mstsc client on the other side. image

energister avatar Feb 24 '25 14:02 energister

Can confirm this issue, it's the Windows 11 client that causes the problem. Using an older client OS this error does not apply.

Edit: can confirm that this patch works too!

jmvermeulen avatar Feb 26 '25 14:02 jmvermeulen