07-08-2008
Quote:
Originally Posted by
Vi-Curious
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?
I'm the product manager for SecureCRT and there's an undocumented feature in SecureCRT 6.0 and later that allows you to do this. Here are the steps:
- In SecureCRT, open the Session Options dialog for the dialog that you want to allow someone else to monitor.
- Go to the "Mapped Keys" category and click the "Map a Key" button. For the Function, select "SSH Function" and for the SSH Function, select "TOGGLE_MONITOR_SERVER".
- Connect to the session. When you want to let someone else monitor the session, press the mapped key you selected in step 2. The first time you do this, you will need to generate a public key. A dialog will be displayed that allows you to specify the information that will be needed by the person who will be monitoring the session.
- Give the other person the information from the dialog in step 3. When they connect, you will see a message in SecureCRT that they are connected. They will then be able to see everything in your SecureCRT session.
- To end the monitoring session, you can press the mapped key again to terminate the server monitor, have the other person log out, or disconnect your session in SecureCRT.
The session being monitored can use any protocol, but the session doing the monitoring must use SSH2. If you try it, I'd be interested in any feedback you have about this feature.
Maureen
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I go to a different terminal ctrl-alt f2
i want to be able to open up another xterm there.
How do i do it?
Specificly, I want to be able to log into another computer in term f2. I then want to open a gui term and then execute programs on one computer but have them display on mine?
I... (1 Reply)
Discussion started by: macdonto
1 Replies
2. Shell Programming and Scripting
Hi
I'm trying to display the output of my script in a friendly viewable format.
it's something like this..
i have this while loop... in which i get some records from a file where fields are delimitered with a pipe. so i'm extacting each field and replacing the pipe with a \t, tab !!..
cat... (7 Replies)
Discussion started by: rosh0623
7 Replies
3. Shell Programming and Scripting
Hi, I have a small question about the value cannot display correctly:
MSG=log
fruit=apple
print "No $fruit in the store" > "$MSG/fruit_message.txt"
output: No $fruit in the store
should be: No apple in the store
AND
$MSG/fruit_message.txt ----------> cannot find the... (5 Replies)
Discussion started by: happyv
5 Replies
4. UNIX for Dummies Questions & Answers
All,
I have a file ABC.TXT which has two records:
12345 19.93 34.94
12345 94.84 10.48
If do the following command and
grep '12345' ABC.TXT >> test1.txt
If I look at the output of test1.txt I appears as follows:
12345 19.93 34.94 12345 94.84 10.48
I... (5 Replies)
Discussion started by: kingofprussia
5 Replies
5. UNIX for Dummies Questions & Answers
I am using this command but when I launch it, the font that comes up on the remote machine is very small. Is there a way to enlarge the font using some switch?
xterm -display remotemachine:0.0 & (5 Replies)
Discussion started by: zapper222
5 Replies
6. UNIX for Dummies Questions & Answers
Hi folks,
Please advise which command/command line shall I run;
1) to display the command and its output on console
2) simultaneous to save the command and its output on a file
I tried tee command as follows;
$ ps aux | grep mysql | tee /path/to/output.txt
It displayed the... (7 Replies)
Discussion started by: satimis
7 Replies
7. UNIX for Dummies Questions & Answers
Hello everyboby,
can someone write me all options for Xterm option -name. For example, I know that @d give me server ip... but, how to write something like
${USER}@${HOST}: ${PWD}$
on title bar ?
I use a connection line like this
@(XTerm, method=stdappdb) -fn 6x13 -bg AliceBlue -fg blue... (2 Replies)
Discussion started by: gogol_bordello
2 Replies
8. Shell Programming and Scripting
Hi,
I have the following output of a shell script
k m == -77.2820 (Act=79.9)
i want to display only
k m (6 Replies)
Discussion started by: sreejithalokkan
6 Replies
9. Shell Programming and Scripting
Hi all,
I've been working on a bash script to help with backups that I have to do at work.
One of the lines in the script is supposed to launch an xterm, log into a specific server node and launch a tar backup to tape. This part works ok, but I've been trying to get stdout and stderr to... (2 Replies)
Discussion started by: Exitalterego
2 Replies
10. HP-UX
After install of the Sept. 2010 patch set on my hpux 11.23 system, my xterm when launched, dies immediately on the client with the xserver, with a core.xterm file in root of the hpux server. This had been working before the patch install.
I tried to find xterm patches from ITRC (yes the old... (1 Reply)
Discussion started by: mrmurdock
1 Replies
LEARN ABOUT NETBSD
gnome-session-save
gnome-session-save(1) User Commands gnome-session-save(1)
NAME
gnome-session-save - saves or terminates the current GNOME session
SYNOPSIS
gnome-session-save [--kill] [--gui] [gnome-std-options]
DESCRIPTION
gnome-session-save can be used from a GNOME session to save a snapshot of the currently running applications. This session will be restored
at your next GNOME startup session.
OPTIONS
The following options are supported:
--gui Shows a dialog when the session is saved, and reports errors in dialog boxes instead of printing to stderr.
--kill Terminates the GNOME session.
gnome-std-optionStandard options available for use with most GNOME applications. See gnome-std-options(5) for more information.
EXAMPLES
Example 1: Saving the user's current session
example% gnome-session-save
Example 2: Terminating the user's current session
example% gnome-session-save --kill
Example 3: Using the GUI to terminate the user's current session
example% gnome-session-save --kill --gui
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/gnome-session-sThe command-line executable for the application.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-session |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
gnome-std-options(5), default.session(5), gnome-smproxy(1), gnome-session(1)
NOTES
Written by Brian Cameron, Sun Microsystems Inc., 2003.
SunOS 5.10 13 Jan 2003 gnome-session-save(1)