VNC error using Windows Remote Desktop to SLES15 SP6

Unable to create remote session to SLES15 SP6 using Windows Remote Desktop. xrdp is running, firewall disabled, private key and certificate file created. Using port 3389 and reduced resolution and color depth. Error is VNC error - problem connecting, some problem. xrdp-sesman.log and xrdp.log show nothing. Has anyone been able to make this work?: If so, do you happen to know what changes are required to make it happen?

It does work if I use a user that is not locally logged in (i.e. guest). Verified this on multiple installations. Does not work if use credentials for a user that is already logged and using the local display.

Fixed by adding

export $(dbus-launch)

to /etc/xrdp/startwm.sh
after pre_start() method

solution was workaround #2 [xRDP – Allow multiple sessions (local and remote) for the same user – HowTo – Griffon’s IT Library](https://c-nergy.be/blog/?p=16698)