File xrdp-usr-etc-support.patch of Package xrdp

Index: xrdp-0.9.14/sesman/startwm.sh
===================================================================
--- xrdp-0.9.14.orig/sesman/startwm.sh
+++ xrdp-0.9.14/sesman/startwm.sh
@@ -85,6 +85,9 @@ wm_start()
     # do not execute the pseudo login shell scripts
     . /etc/X11/xdm/Xsession
     exit 0
+  elif [ -r /usr/etc/X11/xdm/Xsession ]; then
+    . /usr/etc/X11/xdm/Xsession
+    exit 0
   fi
 
   pre_start
openSUSE Build Service is sponsored by