xrdp isn't working anymore

Hi,

xrdp-0.10.4.1,1 works, xrdp-0.10.4.1_1,1 doesn't work.
I don't know if it is linked or not to the last security upgrade of openh264.

The output of rdesktop is:
Code:
Autoselecting keyboard map 'fr' from locale
Connection established using plain RDP.
Core(error): ber_parse_header(), expected tag 32614, got 8576
Protocol(error): mcs.c:115: mcs_recv_connect_response(), unexpected stream overrun
0000 03 00 00 09 02 f0 80 21 80

Anyone has a clue?
 
I've just found how to make it work yesterday.

In /usr/local/etc/xrdp/xrdp.ini, I changed security_layer from negotiate to tls. You just need to put valid cert and key in the vars certificate and key_file. Beware that you must use the full path for both.

Reference: PR 288935
 
I've just found how to make it work yesterday.

In /usr/local/etc/xrdp/xrdp.ini, I changed security_layer from negotiate to tls. You just need to put valid cert and key in the vars certificate and key_file. Beware that you must use the full path for both.

Reference: PR 288935
Great, it works. Thanks.

Did you replace xrdp with _xrdp in sesman.ini, xrdp.ini and make some file permissions changes as PR 289138 instructs?
I followed the PR but wonder if that matters.
 
After a little more investigation, it turns out that, at the base, I put incorrect paths in certificate and key_file.

The 0.10.4.1,1 version connected with plain RDP (maybe because the cert/key paths were wrong). It seems that since 0.10.4.1_1,1, plain RDP doesn't work anymore.

So, to be clear, if security_layer is set to tls or negotiate, it chooses tls. If it's set to rdp, xrdp doesn't work with the error mentioned above.
 
Back
Top