On Mon, Oct 29, 2012 at 7:39 AM, Eugene San <eugenesan@gmail.com> wrote:

I guess above related to the fact all pam sessions are closed during suspend.
Any ideas how to fix that?

Does creating a file ~/.ecryptfs/auto-umount help?

Note that this disables auto umounting your crypted directory completely. However, if this helps, then I think pam_ecryptfs.so should be extended to check for active x2go sessions before auto-umounting crypted sessions.

--
regards,
    Reinhard