session/Xsession: use bash signal trap to allow cleaning up the session in case of lightdm termination.