summaryrefslogtreecommitdiffstats
path: root/sesman
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2009-09-20 19:07:20 +0000
committerjsorg71 <jsorg71>2009-09-20 19:07:20 +0000
commitd9b86cc2ff8f2ec79ab52c0330fed1ea85cabb17 (patch)
tree0ba3c72d17dc367832b80171dc24c9a7775b3039 /sesman
parent60e282de05d23b7e032ee5d6178f4c9df7bcf98a (diff)
downloadxrdp-proprietary-d9b86cc2ff8f2ec79ab52c0330fed1ea85cabb17.tar.gz
xrdp-proprietary-d9b86cc2ff8f2ec79ab52c0330fed1ea85cabb17.zip
added some more comments on environment setup
Diffstat (limited to 'sesman')
-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