Tool to share an SSH session?

Robert Bushman plug-discuss@lists.plug.phoenix.az.us
Mon, 22 Jul 2002 20:29:29 -0400 (EDT)


Oh, that is so cool. This would be a huge help
with teaching my Dad how to use Linux.

First chmod 700 ~/tmp
$ chmod 700 ~/tmp

Then screen the term you want to share:
[term to be viewed] $ screen

Then screen -x the term you want to view from:
[term to view from] $ screen -x

cool!

But I'm having troubles doing it with multiple
users. Tried su'ing root, but then it complains
about $SCREENDIR, which keeps resetting even
after I unset it.

Tried su'ing to the person who I want to share
with, but then it tries to open the wrong
/dev/pts (it tries to use the one that I originally
logged in on).

Clue me?

On Mon, 22 Jul 2002, Shawn Rutledge wrote:

> On Mon, Jul 22, 2002 at 05:15:47PM -0700, Jiva DeVoe wrote:
> > I need a tool like a multi-user "screen"... Meaning, I need to be able to
> > have users connect to my shell, while I'm using it, and view the commands I
> > am typing.  VNC could do this, but that's a little heavyweight... All I want
> > is something to share a shell.  Anyone know of such a beast?
>
> Screen _can_ do that.
>
> screen -x
>
> will attach to the existing session and echo output.  It seems that you
> can type in either one, too.
>
> --
>   _______                   Shawn T. Rutledge / KB7PWD  ecloud@bigfoot.com
>  (_  | |_)                       http://ecloud.org  kb7pwd@kb7pwd.ampr.org
>  __) | | \________________________________________________________________
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list  -  PLUG-discuss@lists.plug.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>

--------------------------------------------------------------------
 "We need commonsense judges who understand that our rights were
 derived from God. Those are the kind of judges I intend to put on
 the bench." President George W. Bush, 27 June 2002
 http://www.nando.net/politics/story/453192p-3627921c.html

 "no religious Test shall ever be required" Constitution Article 6
 http://www.law.emory.edu/FEDERAL/usconst/art-6.html
--------------------------------------------------------------------