Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Whenever I detach my remote "screen" session and ctrl a-c a new window, it opens the new window with "/" as the PWD. Another extremely annoying problem is that whenever the "screen" session is detached, the IRSSI IRC client cannot find the log files to write into them. It mostly happens with private messages.

This only happens when the "screen" is detached and goes away when I attach again.

The remote computer is running Ubuntu 10.10.

share|improve this question
    
How can you "ctrl a-c a new window" in a detached session? –  grawity May 31 '11 at 18:31
    
What filesystem your home directory is in? Is it an ordinary local filesystem, or encrypted (eCryptFS/EncFS), or remote (AFS/NFS/Samba)? (Use df -T ~ to find out.) Does it happen always when you detach (C-a d) or only when you close the SSH connection entirely? (If it's a secure network filesystem and you close SSH, the server might be destroying the keys used to access it.) –  grawity May 31 '11 at 18:34
    
@grawity, it happens when I reattach and "ctrl a-c". It is an encrypted local filesystem shipped with Ubuntu. If the screen session is detached and still works in the background, the encrypted home directory won't be closed. –  Yuval Langer May 31 '11 at 18:56
    
@Yuval: Over the same SSH connection or a different one? –  grawity May 31 '11 at 18:59
1  
When all logins exit, the keys are forgotten. Should have mentioned it earlier. It's an headless machine. When I boot, the home directory isn't immediately available after I ssh to my account. I have to use "ecryptfs-mount-private" first to unlock it. –  Yuval Langer May 31 '11 at 19:16
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.