![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Display multiple output lines | kingofprussia | UNIX for Dummies Questions & Answers | 5 | 05-23-2007 05:56 AM |
| display and output...question | happyv | Shell Programming and Scripting | 5 | 01-24-2007 11:14 PM |
| To display 1 or 2 space bar output | missutoomuch | Shell Programming and Scripting | 2 | 02-11-2006 01:25 PM |
| output display alignment !! | rosh0623 | Shell Programming and Scripting | 7 | 07-21-2005 03:51 PM |
| xterm and display | macdonto | UNIX for Dummies Questions & Answers | 1 | 08-16-2001 12:24 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Display output of one xterm on another
Setup:
Two users, each likely on Windows PCs, using either putty or SecureCRT to connect to a remote Solaris server. The connection could be either telnet or ssh. Wanted: How can the output of one users xterm be directed to the other user so that you can easily allow someone to see what you are doing? Back in early 2005, someone at work was helping me troubleshoot a problem and he somehow directed his output onto my xterm. All he asked for was my IP address. I don't know if the output was also being displayed for him or not. Around that time, I went overseas on a 2 year assignment. When I got back early last year, I went to the only two people I could think of that I might have been working with back in 2005 and asked them about this. Both said it wasn't them and they didn't know how to do it. I have played around with it a little but have not been able to make it work and I find that it would be pretty useful. Has anyone here done this, or know how to do it? |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Maybe he sent you an xterm (assigned your IP to the DISPLAY variable) and used the -e option to start a program in that xterm window?
|
|
#3
|
|||
|
|||
|
I've tried sending an xterm but no luck getting output into it.
I don't remember if he sent me an xterm or somehow attached to the existing xterm but it seems like he did send me an xterm. The session involved TimesTen database and sql queries to check the data. I want to say I was able to see the commands as he typed them as well as the output. But it's been too long, you know? Surely he had to also be able to see what output was being produced since he was walking me through it. |
|
#4
|
|||
|
|||
|
one way (most probably not the best) that comes to my mind would be (using ksh)
Code:
export DISPLAY=your.ip touch /path/to/file xterm -e tail -f /path/to/file & tail -f /path/to/file Then have another session doing the input part, redirecting the output: Code:
ksh 1>>/path/to/file your/queries/here |
|
#5
|
||||
|
||||
|
possibly was using kibitz:
Code:
http://expect.nist.gov/example/kibitz.man.html |
|
#6
|
|||
|
|||
|
Quote:
Maureen |
|
#7
|
||||
|
||||
|
If I want to see what a user is doing I just tell them to script -f and then I tail -f typescript. It's simple enough for users to understand.
|
||||
| Google The UNIX and Linux Forums |
| Tags |
| export display, solaris |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|