bolkedebruin / rdpgw

Remote Desktop Gateway in Go for deploying on Linux/BSD/Kubernetes
Apache License 2.0
693 stars 117 forks source link

mstsc stucks on "configuring remote session..." #91

Open mdelazza opened 6 months ago

mdelazza commented 6 months ago

Hi, I installed xrdp and rdpgw on a rocky 8 machine. Unfortunately i can't connect trough rdpgw. mstsc stucks on "configuring remote session...". rdsgw seems work fine: 2023/12/18 16:53:34 Identity SessionId: f2ecab23-557b-4a4b-b318-2be7f81add9c, UserName: : Authenticated: false 2023/12/18 16:53:34 Client handshakeRequest from aaa.bbb.ccc.ddd 2023/12/18 16:53:34 major: 1, minor: 0, version: 0, ext auth: 2 2023/12/18 16:53:34 Tunnel create 2023/12/18 16:53:34 Tunnel auth 2023/12/18 16:53:34 Channel create 2023/12/18 16:53:34 Verifying xxx.yyy:3389 host connection 2023/12/18 16:53:34 Checking host for user fb72b8c0-cccc-466a-92ad-7c258aac994d 2023/12/18 16:53:34 Establishing connection to RDP server: xxx.yyy:3389 2023/12/18 16:53:34 Connection established

and also xrdp seems work fine: [20231218-16:53:34] [INFO ] Socket 12: AF_INET connection received from aaa.bbb.ccc.ddd port 47138 [20231218-16:53:34] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem [20231218-16:53:34] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem [20231218-16:53:34] [INFO ] Security protocol: configured [SSL|RDP], requested [SSL|HYBRID|HYBRID_EX|RDP], selected [SSL] [20231218-16:53:34] [INFO ] Connected client computer name: xyz [20231218-16:53:34] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc006 is unknown (ignored) [20231218-16:53:34] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00a is unknown (ignored) [20231218-16:53:34] [INFO ] xrdp_load_keyboard_layout: Keyboard information sent by the RDP client, keyboard_type:[0x04], keyboard_subtype:[0x00], keylayout:[0x00000410] [20231218-16:53:34] [INFO ] xrdp_load_keyboard_layout: model [] variant [] layout [it] options [] [20231218-16:53:34] [INFO ] TLS connection established from aaa.bbb.ccc.ddd port 47138: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384

i tried also using localhost:3389 instead of xrdp FQDN but, i had same problem. connection directly to xrdp runs well.

thank you

mdelazza commented 6 months ago

I had to set EnableUserToken: false