From: Àlex Fiestas Date: Mon, 28 Apr 2014 16:05:07 +0000 Subject: [startkde] Send env to kwalletd in case of pam-kwallet X-Git-Tag: v4.96.0 X-Git-Url: http://quickgit.kde.org/?p=plasma-workspace.git&a=commitdiff&h=9581a52a5d734435d0cef759e20d1af2473dd15e --- [startkde] Send env to kwalletd in case of pam-kwallet --- --- a/startkde/startkde.cmake +++ b/startkde/startkde.cmake @@ -329,6 +329,11 @@ XDG_CURRENT_DESKTOP=KDE export XDG_CURRENT_DESKTOP + +# At this point all the environment is ready, let's send it to kwalletd if running +if test -n "PAM_KWALLET_LOGIN" ; then + env | socat STDIN UNIX-CONNECT:$PAM_KWALLET_LOGIN +fi # We set LD_BIND_NOW to increase the efficiency of kdeinit. # kdeinit unsets this variable before loading applications.