[ From:	CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX" 28-SEP-1990 19:28:46.48  To:	MRGATE::"ARISIA::EVERHART" CC:	/ Subj:	Re: DECwindows:  creating remote displays   * Received:  by crdgw1.ge.com (5.57/GE 1.73)) 	 id AA20765; Fri, 28 Sep 90 19:10:23 EDT Y Received: From UCBVAX.BERKELEY.EDU by CRVAX.SRI.COM with TCP; Fri, 28 SEP 90 13:07:52 PDT , Received: by ucbvax.Berkeley.EDU (5.63/1.42)* 	id AA07268; Fri, 28 Sep 90 12:53:54 -07009 Received: from USENET by ucbvax.Berkeley.EDU with netnews . 	for info-vax@kl.sri.com (info-vax@kl.sri.com); 	(contact usenet@ucbvax.Berkeley.EDU if you have questions)  Date: 28 Sep 90 11:57:21 GMT2 From: bunny!krs0@husc6.harvard.edu  (Rod Stephens)* Organization: GTE Laboratories, Waltham MA2 Subject: Re: DECwindows:  creating remote displays  Message-Id: <9804@bunny.GTE.COM>$ References: <4274@husc6.harvard.edu># Sender: info-vax-request@kl.sri.com  To: info-vax@kl.sri.com   U In article <4274@husc6.harvard.edu> joltes@husc9.harvard.edu (Richard Joltes) writes:   5 >	... the standard method is to create a DECterm, set   >host to the target node, and do > ! >$ set display/create/node=xxxxxx  >$ <invoke application>  > L >which seems a pain.  Has anyone worked up an easier way (i.e. local .exe orH >comfile that will establish the session and start up the application)?  > O >Ultrix is trickier.  I access this system using a Multinet TELNET session, and L >the only method I've found in TFM uses UCX.  Anyone done this successfully % >using Multinet (or DECnet/Ultrix)?     D This may not be exactly what you need but maybe it will be useful to someone.  D To go from Ultrix to Ultrix (on TCP/IP) I have the following line in
 my .login:  K alias rterm "xhost +\!*;rsh \!* 'setenv DISPLAY `hostname`:0.0;dxterm & ' "   J If I'm logged on to radagast and I want to start a window on frodo I type:  
 % rterm frodo    which expands to:   > xhost +frodo;rsh frodo 'setenv DISPLAY radagast:0.0;dxterm & '  D which does the trick. Of course my .rhosts file on frodo must have a line that says:    radagast	rod   so the rsh command will work.   D Understanding what processes are started is a little tricky. The rshF command does not return even after the dxterm is started on the remoteD machine. I usually just control-C after I see the message indicatingD that the dxterm has started. You could also put the rterm command inF the background (% rterm frodo &) and then this command will show up as@ stopped when you do a "jobs" command (thought the dxterm is just5 fine). Further experiments are left to the reader ;-)   @ One last trick: you can give dxterm a command to execute when it
 starts as in:    % dxterm -e my_application  6 This should let you start lots of stuff automatically.  A +---------------------------------------------------------------+ A | Rod Stephens           | "Haven't I told you not to play      | A | GTE Laboratories, Inc  |  with my super-weapons? You might    | A | (617)466-4182          |  devastate yourself!"                | A | krs0@gte.com           |                                      | A +---------------------------------------------------------------+   