xrdp icon indicating copy to clipboard operation
xrdp copied to clipboard

rdp session does not achieve "sesman connect ok" state

Open aoprea1982 opened this issue 9 months ago • 6 comments

xrdp version

0.9.17

Detailed xrdp version, build options

xrdp 0.9.17
  A Remote Desktop Protocol Server.
  Copyright (C) 2004-2020 Jay Sorg, Neutrino Labs, and all contributors.
  See https://github.com/neutrinolabs/xrdp for more information.

  Configure options:
      --enable-ipv6
      --enable-jpeg
      --enable-fuse
      --enable-rfxcodec
      --enable-opus
      --enable-painter
      --enable-vsock
      --build=x86_64-linux-gnu
      --prefix=/usr
      --includedir=${prefix}/include
      --mandir=${prefix}/share/man
      --infodir=${prefix}/share/info
      --sysconfdir=/etc
      --localstatedir=/var
      --disable-silent-rules
      --libdir=${prefix}/lib/x86_64-linux-gnu
      --libexecdir=${prefix}/lib/x86_64-linux-gnu
      --disable-maintainer-mode
      --disable-dependency-tracking
      --with-socketdir=/run/xrdp/sockdir
      build_alias=x86_64-linux-gnu
      CFLAGS=-g -O2 -ffile-prefix-map=/build/xrdp-asBei3/xrdp-0.9.17=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security 
      LDFLAGS=-Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now -Wl,--as-needed
      CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error=deprecated-declarations
      PKG_CONFIG_PATH=/build/xrdp-asBei3/xrdp-0.9.17/pkgconfig

  Compiled with OpenSSL 3.0.2 15 Mar 2022

Operating system & version

Ubuntu 22.04.4 LTS

Installation method

dnf / apt / zypper / pkg / etc

Which backend do you use?

No response

What desktop environment do you use?

any

Environment xrdp running on

VM in AWS cloud

What's your client?

Windows 10 official rdp client

Area(s) with issue?

Session manager (sesman)

Steps to reproduce

  1. Client from windows 10 rdp client to xrdp server on ubuntu in aws cloud
  2. But does not connect, rdp session does not achieve "sesman connect ok" state
  3. Restart xrdp and sesman etc but still
[20240405-04:18:52] [INFO ] Connected client computer name: windowsMachine
[20240405-04:18:52] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc006 is unknown (ignored)
[20240405-04:18:52] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00a is unknown (ignored)
[20240405-04:18:56] [ERROR] xrdp_sec_recv: xrdp_mcs_recv failed
[20240405-04:18:56] [ERROR] xrdp_rdp_recv: xrdp_sec_recv failed
[20240405-04:18:56] [ERROR] libxrdp_process_data: xrdp_rdp_recv failed
[20240405-04:18:56] [ERROR] xrdp_process_data_in: xrdp_process_loop failed
[20240405-04:18:56] [ERROR] xrdp_iso_send: trans_write_copy_s failed
[20240405-04:18:56] [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed

Client connects to a private IP address over a VPN connection. Can not access client environment to verify more.

Connections to the instance public IP are working.

✔️ Expected Behavior

Expecting to achieve "sesman connect ok" state and connect.

❌ Actual Behavior

[20240405-04:18:56] [ERROR] xrdp_sec_recv: xrdp_mcs_recv failed [20240405-04:18:56] [ERROR] xrdp_rdp_recv: xrdp_sec_recv failed [20240405-04:18:56] [ERROR] libxrdp_process_data: xrdp_rdp_recv failed [20240405-04:18:56] [ERROR] xrdp_process_data_in: xrdp_process_loop failed [20240405-04:18:56] [ERROR] xrdp_iso_send: trans_write_copy_s failed [20240405-04:18:56] [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed

Anything else?

No response

aoprea1982 avatar May 16 '24 01:05 aoprea1982