Created attachment 839355 [details]
suggested patch for xrdp's /etc/xrdp/startwm.sh to allow other sessions than
"gnome"
This patch for the xrdp package of Leap 15.2
1) reads a user's ~/.xsessionrc file in the pre_start() function.
In this file a user can set the preferred session type as SESSION
e.g. SESSION="icewm"
In wm_start() the value of the SESSION variable is not overwritten if one is
set.
2) adds the session type "plasma"
3) sets the default session to "icewm" instead of "gnome" if no SESSION is
defined by the user. I am not sure but I think icewm is part of the default
install of openSUSE independent which of the big DEs is installed.