The configuration parameters for KDE in net/xrdp's startwm.sh are outdated and cannot function properly.The current parameter "exec startkde" should be modified to "exec ck-launch-session startplasma-x11" now.
The file is provided for just an example and users need to edit it to match their own needs but thanks for reporting. I will update the file.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c196d1f5ffb8368b0fc062ee05456818a545fbac commit c196d1f5ffb8368b0fc062ee05456818a545fbac Author: Koichiro Iwao <meta@FreeBSD.org> AuthorDate: 2023-08-29 01:45:51 +0000 Commit: Koichiro Iwao <meta@FreeBSD.org> CommitDate: 2023-08-29 01:45:51 +0000 net/xrdp{,-devel}: Update startwm.sh script PR: 273191 net/xrdp-devel/Makefile | 2 +- net/xrdp-devel/files/startwm.sh | 11 ++++++++--- net/xrdp/Makefile | 2 +- net/xrdp/files/startwm.sh | 11 ++++++++--- 4 files changed, 18 insertions(+), 8 deletions(-)