[vox-tech] screen question

Ken Bloom kabloom at ucdavis.edu
Mon Nov 1 09:07:21 PST 2004


On Mon, 1 Nov 2004 11:53:30 -0500
p at dirac.org (Peter Jay Salzman) wrote:

> Thanks Mike.  I did try the remote detach (-d).  It *said* that the
> session was forcibly detached, but a subsequent "screen -ls" showed
> the session as still being attached.
> 
> Here's an example:
> 
> 
>    # Try to reattach
>    #
>    born$ screen -r
>    There is a screen on:
>            25783.pts-2.born        (Attached)
>    There is no screen to be resumed.
> 
>    # OK, try to detach.  Looks like it worked.
>    #
>    born$ screen -d
>    [25783.pts-2.born detached.]
> 
>    # Apparently, it didn't!
>    #
>    born$ screen -ls
>    There is a screen on:
>            25783.pts-2.born        (Attached)
>    1 Socket in /home/psalzman/.screen.
> 
>    # Confirmed.  It didn't detach.
>    #
>    born$ screen -r
>    There is a screen on:
>            25783.pts-2.born        (Attached)
>    There is no screen to be resumed.
>    born$ 
> 
> 
> It looks like "screen -R" looks for a screen to be resumed, doesn't
> find one, so it starts a new screen session.
> 
> Looks like I can name the session to be remotely detached/reattached,
> but that doesn't work either:
> 
> 
>    born$ screen -d 25783.pts-2.born 
>    [25783.pts-2.born detached.]
> 
>    born$ screen -r 25783.pts-2.born 
>    There is a screen on:
>            25783.pts-2.born        (Attached)
>    There is no screen to be resumed matching 25783.pts-2.born.
> 

I was able to reproduce this problem in with screen in CSIF.
screen-3.9.15-10 (that's the same version you've got)

See if you can work around the problem by using
$ screen -d -R
(both parameters at the same time)
it worked for me.

--Ken Bloom

-- 
I usually have a GPG digital signature included as an attachment.
See http://www.gnupg.org/ for info about these digital signatures.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://ns1.livepenguin.com/pipermail/vox-tech/attachments/20041101/87212a24/attachment.bin


More information about the vox-tech mailing list