Go Back   The macosxhints Forums > OS X Help Requests > UNIX - General



Reply
 
Thread Tools Rate Thread Display Modes
Old 06-24-2002, 07:47 AM   #1
bluehz
MVP
 
Join Date: Jan 2002
Posts: 1,562
Terminal sharing?

Is it possible to setup a terminal window for sharing?

What I need to do is do some live tutorials for someone in a remote location. Completely CLI oriented. What I would like to do is offer the ability to have the remote user (trusted user) login via ssh then be able to watch what I do in the terminal. Possibly chatting about the actions taking place in another terminal window.

Is this even feasible?
bluehz is offline   Reply With Quote
Old 06-24-2002, 10:35 AM   #2
Novajo
Triple-A Player
 
Join Date: Jan 2002
Location: Toronto, Canada
Posts: 185
VNC

Get the VNC server and VNC clients from versiontracker.com and set them up to share the screen. You set up the server on your machine, the client could connect to your computer in read-only mode and watch what you do.
Novajo is offline   Reply With Quote
Old 06-24-2002, 10:54 AM   #3
bluehz
MVP
 
Join Date: Jan 2002
Posts: 1,562
Yes - I thought about that and I do use VNC already. I was hoping for something with a little less overhead/bandwidth usage. I figured a straight telnet/CLI session would be lightning fast over even a modem connection.
bluehz is offline   Reply With Quote
Old 06-24-2002, 10:59 AM   #4
davidro
Prospect
 
Join Date: Jan 2002
Location: Ottawa, Ontario, Canada
Posts: 10
Another use for Screen!

look at the man pages for screen <which you can install with fink or compile it yourself from gnu.org>

"-x Attach to a not detached screen session. (Multi display mode)."

This works, across multiple machines... you will need to be using the same userid for it though! So make a special user just for training purposes.

Take a look as well at the options for multiple screens at once, and attaching and detaching screens.

There are articles online at places like samag.com and linuxdoc.org.

Have fun!

dAVE
davidro is offline   Reply With Quote
Old 06-24-2002, 11:44 AM   #5
bluehz
MVP
 
Join Date: Jan 2002
Posts: 1,562
thx davidro - that sounds great. Matter of fact the person I am tutoring will be in Linux. I am helping them get up an running in Linux, the basics of unix , stuff, etc. - hence I want to be able to share terminal session for teaching.
bluehz is offline   Reply With Quote
Old 06-24-2002, 12:05 PM   #6
bakaDeshi
Triple-A Player
 
Join Date: Apr 2002
Location: Restaurant at the End of the Universe
Posts: 171
Another Option

Kool usage of screen. If your without screen, here's another way. I can't quite remember the syntax but I think this is correct. I'll try and test at school(I don't have 2 computers at home).
Code:
Pseudo code:
script something | tee oneMonitor@host:DISPLAY another@host:DISPLAY ...
Perhaps someone can fill in the details but that's the general fuzzy logic.
__________________
—bakaDeshi
Caution! Mac User at the Command
Line.
bakaDeshi is offline   Reply With Quote
Old 06-25-2002, 12:50 PM   #7
nkuvu
MVP
 
Join Date: Jun 2002
Location: Tucson, Arizona
Posts: 1,236
Re: Another Option

Quote:
Originally posted by bakaDeshi
Code:
Pseudo code:
script something | tee oneMonitor@host:DISPLAY another@host:DISPLAY ...

Yeah, but how do you type the into the Terminal?

Yep, I'm a smart-aleck. Feel free to ignore me.
nkuvu is offline   Reply With Quote
Old 06-25-2002, 05:29 PM   #8
eriklager
Triple-A Player
 
Join Date: Jan 2002
Location: Sweden
Posts: 122
Re: Another use for Screen!

Quote:
Originally posted by davidro
you will need to be using the same userid for it though!

You can attach to another users screen if that user has a .screenrc file in it's home directory containing:
multisuer on
addacl someuser

Replace "someuser" with your username.

Example:
Code:
Tue 23:19 [erik @ /Users/erik] % cat .screenrc 
multisuer on
addacl root
Erik
eriklager is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 06:21 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.