home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / vms / 20514 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  2.8 KB

  1. Path: sparky!uunet!olivea!apple!netcomsv!butch!rapnet!news
  2. From: mores@eavax.sanders.lockheed.com (David C. Mores)
  3. Newsgroups: comp.os.vms
  4. Subject: Problem invoking xterm remotely via rsh
  5. Message-ID: <1993Jan7.161333.19683@Rapnet.Sanders.Lockheed.Com>
  6. Date: 7 Jan 93 16:13:33 GMT
  7. Sender: news@Rapnet.Sanders.Lockheed.Com (USENET News System)
  8. Reply-To: mores@eavax.sanders.lockheed.com (David C. Mores)
  9. Organization: Lockheed Sanders, Inc.
  10. Lines: 51
  11.  
  12.  
  13.     I have an annoying little problem with creating terminal windows on
  14.     remote Unix systems from my VAXstation.  I typically do this using the
  15.     RSH command to execute a dxterm or xterm command on the remote system and
  16.     have the display on my VAXstation.  When I use dxterm there is no
  17.     problem.  Dxterm also implies that the remote system is an Ultrix
  18.     system.  Dxterm is the DEC equivalent of Xterm.  The VMS command looks
  19.     like this:
  20.     
  21.     $ rsh rapnet dxterm -display cadt2::0 -ls &
  22.     
  23.     This executes the dxterm command that successfully opens a window and
  24.     returns control on my VAXstation.
  25.     
  26.     $ rsh rapnet xterm -display cadt2::0 -ls &
  27.     
  28.     This executes the xterm command that successfully opens a window and
  29.     does _not_ return control on my VAXstation.  It just hangs there. 
  30.     However, if I control-Y out of it, all is okay, the window opened
  31.     remains open and I regain control from the initiating window on my
  32.     VAXstation.  
  33.     
  34.     The question is: is this a bug or a feature?  Obviously, I use dxterm
  35.     on Ultrix systems but I do not have that choice on Sun systems.  This
  36.     problems makes it impossible to auto start xterm windows on non-Ultrix
  37.     systems at session startup time (at least using this method).
  38.  
  39.     It was suggested that I try nohup:
  40.  
  41.     $ rsh rapnet "/bin/nohup xterm -display cadt2::0 -ls &"
  42.     
  43.     Unfortunately, this suggestion does not work.  I see no difference in
  44.     behavior.  
  45.     
  46.     From what I can determine from a "ps -ux" it seems that the process
  47.     running xterm is not releasing the i/o connection back to the rsh
  48.     invoking system.  If I kill the xterm process, that lets rsh exit,
  49.     but I lose the window on the remote node.  Interrupting rsh has the
  50.     same effect but does not lose the window.  Can't seem to win here...
  51.  
  52.     Any explanations, suggestions or workarounds would be appreciated.
  53.  
  54. --
  55. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  56. David C. Mores            Principal Systems Specialist             Keep it short
  57. Lockheed Sanders, Inc.    Nashua, NH                               and sweet.
  58. Internet E-mail: mores@rapnet.sanders.lockheed.com                 do da do da
  59. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  60.  
  61. "Sometimes I think that the surest sign that intellegent life exists elsewhere
  62. in the universe is that none of it has tried to contact us." -Calvin
  63.