From d9b86cc2ff8f2ec79ab52c0330fed1ea85cabb17 Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Sun, 20 Sep 2009 19:07:20 +0000 Subject: [PATCH] added some more comments on environment setup --- sesman/startwm.sh | 5 +++++ 1 file changed, 5 insertions(+) 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