Thanks for the reply. Yes, they are alive. When I exit the new session which is erroneously started by screen and try again I always get the old session back.
It only happens to me when I run an alias which is of the form "ssh -t host screen -d -RS sessionname", and it only happens when I haven't run it for a half hour or so. So I think it could be triggered by a hard-drive spinup or page fault delay. Frederik On Sun, Apr 17, 2005 at 12:42:55AM -0300, Leslie Harlley Watter wrote: > Hi Frederik, > > hmmm, are you sure your screen sessions are alive? > > here, when type: > > $ screen -list > > And have more than one screen session like this: > > 12:39 [EMAIL PROTECTED] ~> screen -list > There are screens on: > 5815.pts-1.cronos (Attached) > 6150.pts-7.cronos (Detached) > 2 Sockets in /home/leslie/.screen. > > and type: > > [EMAIL PROTECTED] ~> screen -D -R > There are several suitable screens on: > 5815.pts-1.cronos (Attached) > 6150.pts-7.cronos (Detached) > Type "screen [-d] -r [pid.]tty.host" to resume one of them. > [EMAIL PROTECTED] ~> > > or > > [EMAIL PROTECTED] ~> screen -x > There are several suitable screens on: > 5815.pts-1.cronos (Attached) > 6150.pts-7.cronos (Detached) > Type "screen [-d] -r [pid.]tty.host" to resume one of them. > > > I only receive the message "Remove dead screens with -wipe", > > when I have dead sessions that cant be recovered. > > > I hope this clarify some aspects ;-) > > > Cheers > > LEslie > > > Em Sat, Apr 16, 2005 at 07:18:07PM -0700, Frederik Eaton escreveu o seguinte: > >) Hi, > >) > >) About every other time I try to attach an existing session on a > >) certain host I'm getting a message, something like "Remove dead > >) screens with -wipe", and then it starts a new screen session instead > >) of attaching the one I requested. Is there a way to fix this? I > >) thought the connections were done over unix domain sockets, which > >) means that it should be easy to tell a live screen from a dead one - > >) if you don't get a "connection refused" then it's live. I don't know > >) what screen is doing instead of this, but whatever it is it is very > >) error-prone. And especially annoying - if instead of terminating the > >) new session it opens, I detach it, then after that I can no longer > >) attach either session by name since they both have the same name... > >) > >) Thanks, > >) > >) Frederik > >) > >) -- > >) http://ofb.net/~frederik/ > >) > >) > >) _______________________________________________ > >) screen-users mailing list > >) screen-users@gnu.org > >) http://lists.gnu.org/mailman/listinfo/screen-users > >) :-- final da mensagem "Remove dead screens" message when session exists de > >Frederik Eaton <[EMAIL PROTECTED]> --: > > -- > Página Pessoal ------------ http://www.lezz.org/ > Outside of a dog, a book is a man's best friend. > Inside a dog it's too dark to read. > Groucho Marx > > > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > http://lists.gnu.org/mailman/listinfo/screen-users > -- http://ofb.net/~frederik/ _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users