xrdp missing pam support and startwm.sh entries
Hi,
I'm using xrdp 0.9.16 from edge and found that there are two important features missing:
-
xrdp-sesman lacks of pam support, which prevents
elogind
from detecting user session and creating correspondingXDG_RUNTIME_DIR
folders. Also, this prevents 2FA implementations likeduo_unix
to function. Build logs of xrdp show that--disable-pam
was explicitly used - was there a reason for this? -
/etc/xrdp/startwm.sh
lacks support of Alpine'sxinitrc
script, namely, it should have something similar to this:
# alpine
if [ -r /etc/X11/xinit/xinitrc ]; then
pre_start
. /etc/X11/xinit/xinitrc
post_start
exit 0
fi
so that it can properly detect per user's .xinitrc
and start wm accordingly. Without that section xrdp-sesman
will fail to start wm.
Thanks.
Edited by raidenii