1 diff -urN dtlogin-integration-0.36.orig/config/Xsession.in dtlogin-integration-0.36.hacked/config/Xsession.in 2 --- dtlogin-integration-0.36.orig/config/Xsession.in 2008-08-29 12:20:36.000000000 -0100 3 +++ dtlogin-integration-0.36.hacked/config/Xsession.in 2008-09-19 17:53:48.405539000 -0100 4 @@ -21,6 +21,16 @@ 5 6 command=/usr/dt/bin/Xsession 7 8 -eval `dbus-launch --exit-with-session --auto-syntax` 9 +# Save a copy of the user's SHELL value and restore after dbus-launch command 10 +shell_saved=$SHELL 11 + 12 +# Tell dbus-launch we want the environment value in ksh compatible syntax 13 +export SHELL=/bin/ksh 14 +eval `dbus-launch --exit-with-session --sh-syntax` 15 + 16 +# unset SHELL and restore user's value 17 +unset SHELL 18 +export SHELL=$shell_saved 19 20 exec $command 21 + 22