[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can I open a detach session from another machine ?

From: J. Bakshi
Subject: Re: can I open a detach session from another machine ?
Date: Thu, 24 Dec 2009 08:45:06 +0530
User-agent: Thunderbird (X11/20090817)

Aaron Davies wrote:
> If I understand your question, then (short of fiddling with cryopid or
> something similar) the answer is no. The screen process and all the
> processes it hosts are on the computer they're on, and screen can't
> help you move them.

Hello Aaron,

Thanks for your discussion.  I had some misunderstanding and you pointed
out that.  Yesterday I did some more reading and understand the command
should be run on the server.  The command I have found is very useful

` ` `
ssh -t "screen -S foo -rd || screen -S foo bash -l"

`  `  `

So it reattach the session foo if there, otherwise start it.


> On Wednesday, December 23, 2009, J. Bakshi <address@hidden> wrote:
>> Hello list,
>> A question is always in my mind and I have not found any answer yet .
>> Suppose I open a screen session in my office linux PC and execute a
>> command. Then I detach it. Later It is possible to reattach the session
>> again in the same PC with "screen -r <session_id>".  Can I open open the
>> session from my home PC later ? The sessio_id is not there in my home
>> PC, Is there any other  technique ?
>> Please enlighten me.
>> Thanks
>> --
>> জয়দীপ বক্সী
>> _______________________________________________
>> screen-users mailing list
>> address@hidden

জয়দীপ বক্সী

reply via email to

[Prev in Thread] Current Thread [Next in Thread]