11-14-2008
Remote xterm
A Perl script to rsh to a remote system, start an xterm and display it to your current X session.
More...
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Guys:
Anyone have ideas on where can I get information or references if I want to learn on how to program with UNIX GUIs? If you do have ideas please let me know. Its a big help. (2 Replies)
Discussion started by: jfsuminist
2 Replies
2. UNIX for Dummies Questions & Answers
Hello all,
This is a lame question because I have been working with unix for some years now, but anyway here it is;
What is an xterm?
ivo (1 Reply)
Discussion started by: Ivo
1 Replies
3. Shell Programming and Scripting
I want to add a title to this xterm window but cannot figure out how. Can anybody assist with this?
xterm +sb -geom 80x25 -ls -tn xterms -tm "intr ^q" -name unikix -e $UNIKIX/bin/unikixl (1 Reply)
Discussion started by: douknownam
1 Replies
4. UNIX for Dummies Questions & Answers
hi
I'm trying to launch admintool via an export DISPLAY.
that is i am doing a rlogin to serverB from serverA.
i did the command
export DISPLAY=serverA:0
but it prompted me the error
DISPLAY=serverA:0: is not an identifier
i have searched the forum but there is not much things on this error... (3 Replies)
Discussion started by: legato
3 Replies
5. Solaris
I am looking for a dial-up remote printing solution as under :
1. We have a Centralized location where Sun Solaris (A) is installed. From here printing command will be despatched.
2. This printing command will be routed to WAN cloud to Main Branches (B1,B2,B3)and from there, printer at... (0 Replies)
Discussion started by: jayvee
0 Replies
6. Solaris
how to login with ssh to remote system with out applying the remote root/user password
with rlogin we can ujse .rhosts file
but with ssh howits possible
plz guide (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies
7. Shell Programming and Scripting
I m trying to run a batch script in remote desktop which executes unix commands on the unix server...the problem is i wnt the output in HTML format.so in my batch script i m giving the cmd like
ssh hostname path ksh HC_Report.ksh>out.html
...but it generates the HTML file in
remote desktop .i... (2 Replies)
Discussion started by: navsan
2 Replies
8. Shell Programming and Scripting
Geeks,
Could you please help me out in my script and identify the missing piece. I need to check/get the exit status of a remote command executed on remote host through script and send out an email when process/processes is/are not running on any/all server(s).
Here's the complete... (5 Replies)
Discussion started by: lovesaikrishna
5 Replies
9. Shell Programming and Scripting
Hi all,
i'm trying to gether multiple pattern on remote hosts, and trying to print hostname and the pattern,
ssh remoteserver1 -C 'hostname 2>&1;cat /var/log/server1.log | awk -F ";" '"'"'{ print " "$2" "$5}'"'"'| sort | uniq -c | sort -g -r '
The output is the following,
remoteserver1
... (8 Replies)
Discussion started by: charli1
8 Replies
rstart(1X) rstart(1X)
NAME
rstart - a sample implementation of a Remote Start client
SYNOPSIS
rstart [-c context] [-g] [-l username] [-v] hostname command args...
OPTIONS
This option specifies the context in which the command is to be run. A context specifies a general environment the program is to be run
in. The details of this environment are host-specific; the intent is that the client need not know how the environment must be configured.
If omitted, the context defaults to X. This should be suitable for running X programs from the host's "usual" X installation. Interprets
command as a generic command, as discussed in the protocol document. This is intended to allow common applications to be invoked without
knowing what they are called on the remote system. Currently, the only generic commands defined are Terminal, LoadMonitor, ListContexts,
and ListGenericCommands. This option is passed to the underlying rsh; it requests that the command be run as the specified user. This
option requests that rstart be verbose in its operation. Without this option, rstart discards output from the remote's rstart helper, and
directs the rstart helper to detach the program from the rsh connection used to start it. With this option, responses from the helper are
displayed and the resulting program is not detached from the connection.
DESCRIPTION
The rstart command is a simple implementation of a Remote Start client as defined in A Flexible Remote Execution Protocol Based on rsh. It
uses rsh as its underlying remote execution mechanism.
NOTES
This is a trivial implementation. Far more sophisticated implementations are possible and should be developed.
Error handling is nonexistent. Without -v, error reports from the remote are discarded silently. With -v, error reports are displayed.
The $DISPLAY environment variable is passed. If it starts with a colon, the local hostname is prepended. The local domain name should be
appended to unqualified host names, but is not.
The $SESSION_MANAGER environment variable should be passed, but is not.
X11 authority information is passed for the current display.
ICE authority information should be passed, but is not. It is not completely clear how rstart should select what ICE authority information
to pass.
Even without -v, the sample rstart helper will leave a shell waiting for the program to complete. This causes no real harm and consumes
relatively few resources, but if it is undesirable it can be avoided by explicitly specifying the "exec" command to the shell, for example,
rstart somehost exec xterm
This is obviously dependent on the command interpreter being used on the remote system; the example given will work for the Bourne and C
shells.
SEE ALSO
rstartd(1X), rsh(1), A Flexible Remote Execution Protocol Based on rsh
AUTHOR
Jordan Brown, Quarterdeck Office Systems
rstart(1X)