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 server.com "screen -S foo -rd || screen -S foo bash -l"

`  `  `

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

Thanks

> On Wednesday, December 23, 2009, J. Bakshi <joyd...@infoservices.in> 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
>> screen-users@gnu.org
>> http://lists.gnu.org/mailman/listinfo/screen-users
>>
>>     
>
>   


-- 
জয়দীপ বক্সী



_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to