[mdlug] Screen copy

Raymond McLaughlin driveray at ameritech.net
Sun Apr 19 15:06:32 EDT 2009


I have also been looking into doing what Joe describes. It would be
helpful both for helping and being helped. I have worked out pretty much
the same solution that Jesse did. A couple of comments:

If you want someone with a different user id to be able to join a
running screen session you will need to have a line:
  multiuser on
in the ~/.screenrc of the user initiating the screen session. It seems
like there should be a command line switch to enable this on a
per-session basis, but I'm not finding it in the man page. Of course
this is not an issue if you are both logged in as root. (And it seems
like it would be a huge security hole to run screen as root with
"multiuser on".)

If either of you does "exit" or <Ctrl><D> you will both be booted out of
the screen session. The correct way for one participant to "leave" the
screen session is to "detach" with <Ctrl><A> <D>

It will take some co-operation and co-ordination on both parts to take
turns typing.

Jesse J. Salens wrote:
> If you're just looking to share the command line, I would recommend using
> screen. When you start a screen sessions "screen -S name", your friend can
> attach, watch and interact using "screen -x name". Pretty nifty feature.
> 
> On Mon, Apr 13, 2009 at 7:49 PM, Joe Doehler <lugnuts at doehler.us> wrote:
> 
>> I have a good friend who's a Linux newbie. He set up a Linux home
>> file server with a mirror RAID. He lets me log in using SSH, and I
>> just helped him replace a failed hard drive, and to rebuild the RAID.
>> Is there a way to duplicate on his terminal what is input/output on
>> my remote SSH session, so he can learn? He's certainly willing.
>>
>> Joe.





More information about the mdlug mailing list