summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsesman/startwm.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/sesman/startwm.sh b/sesman/startwm.sh
index 3448c09a..4734c300 100755
--- a/sesman/startwm.sh
+++ b/sesman/startwm.sh
@@ -11,6 +11,9 @@ SESSIONS="startkde gnome-session startxfce4 xterm"
#export PATH=$PATH
# for PATH and LANG from /etc/environment
+# pam will auto process the environment file if /etc/pam.d/xrdp-sesman
+# includes
+# auth required pam_env.so readenv=1
#. /etc/environment
#export PATH=$PATH
#export LANG=$LANG
@@ -18,6 +21,8 @@ SESSIONS="startkde gnome-session startxfce4 xterm"
# for bash profile
#. ~/.bash_profile
+#. /etc/profile
+
for WindowManager in $SESSIONS
do
which $WindowManager