Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change display on remote user's terminal 1

Status
Not open for further replies.

seanken

Programmer
May 2, 2001
24
US
Hi all,

I am trying to work with another user to 'take control' of his screen and output to that screen what is displayed on mine. I have seen this work before but cannot figure out how to do it. I know that the 'wall' command can display file o/p to a remote terminal or user group but I need a better solution than this.

Thanks,
Sean
 
no need to bother with a reply as we've figured the answer. For those interested, it's as follows:

find out the tty of the target terminal by using 'who -u' (or getting the person on the target terminal to type 'tty').

On the 'master' terminal, use the script command and direct to the tty address found:

'script /dev/pts/6'

You may have to be in as root as you need the relevant priviliges to o/p to the /dev device.

Sean
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top