I can only guess you may have an encrypted home directory which as decrypted version is mounted during your login time. As soon as the last login terminates, the decrypted version gets unmounted and your running processes have no access anymore to the files in your home directory.
You can check this by typing mount | grep ^/home/
. If this shows ecryptfs
as type of the mount, then this is the case.
If this shows nothing (or a file system type like ext3
or similar), then my guess is wrong.