[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[s-x86] Re: Remote Terminal



> From: PNOOR@xxxxxxxxxx
> To: solarisonintel@xxxxxxxxxxx
> Date: Fri, 4 Feb 2000 19:57:18 +0530
> Subject: [s-x86] Remote Terminal
> 
> Dear Friends,
> Is it possible to take remote control of sun sparc system  screen on
> windows based machine.
> so that I can run programmes from my machine instead going to server room.
> Please suggest how will I do that?
> Thanks In advance.
> Noor

It sounds like you just want to run SPARC programs while sitting at your
X86 system, right?

I keep a terminal window logged on to a SPARC system for that purpose and
run programs from within that.  My .profile does an xhost for that specific
system and if I am on that system sets my DISPLAY environment variable to
my X86 system.

Here are the lines from my .profile:

------------- Begin Included Message -------------

set -a
SYSTEM=`uname -n`
if [ "$SYSTEM" = "arkon" -o "$SYSTEM" = "rhodan" -o "$SYSTEM" = "thora" ]
then
    xhost arkon spot rhodan thora
    REMHOST=spot ; export REMHOST
    DISPLAY=:0.0
else
    DISPLAY=arkon:0.0
fi

------------- End Included Message -------------

Note that I have 3 X86 systems and the one SPARC that are in my xhost line.
The X86 systems are the ones tested for in the if statement.

Many programs here at Sun have a shell script wrapper around them that will
check for the environment variable REMHOST.  If the platform for the binary
is SPARC and you are on X86 it will try to execute the program on the system
in REMHOST.  I am not sure if it does that with the rsh command or not, but
not all programs work 100% that way.  Using the remote login in a terminal
window and redirecting the display back has always worked 100% for me.

I hope that helps.

Mike


------------------------------------------------------------------------
eGroups' Valentine's Day Gift Guide - Shop Here Now:
http://click.egroups.com/1/1156/3/_/3702/_/949686223/

-- Easily schedule meetings and events using the group calendar!
-- http://www.egroups.com/cal?listname=solarisonintel&m=1