XRDP hangs and fails on start window rendering with Xvnc

I use on a Rocky linux server xrdp, which worked well a few days ago. However now the client cannot connect to the xrdp server. Here is my trace.

  1. Connection from user is successful, passing information to sesman
  2. Sesman start Xvnc on display 20 connection is successful
  3. Start the window script startwm.sh, here the script fails by calling /etc/X11/xinit/Xsession. It hangs, such only a black screen remain on client side or closes immediately.

I shared the log-files over serverfault: bash - XRDP hangs and fails on start window rendering with Xvnc - Server Fault