Xrdp - ArchWiki - Arch Linux
https://wiki.archlinux.org/title/XrdpBlack screen. You may get a black screen after logging into the session manager if your ~/.xinitrc has --exit-with-session set in the dbus_args. Try copying ~/.xinitrc to ~/.xrdpinitrc, removing --exit-with-session, and updating /etc/xrdp/startwm.sh to call ~/.xrdpinitrc instead of ~/.xinitrc.