home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!apple!netcomsv!butch!rapnet!news
- From: mores@eavax.sanders.lockheed.com (David C. Mores)
- Newsgroups: comp.os.vms
- Subject: Problem invoking xterm remotely via rsh
- Message-ID: <1993Jan7.161333.19683@Rapnet.Sanders.Lockheed.Com>
- Date: 7 Jan 93 16:13:33 GMT
- Sender: news@Rapnet.Sanders.Lockheed.Com (USENET News System)
- Reply-To: mores@eavax.sanders.lockheed.com (David C. Mores)
- Organization: Lockheed Sanders, Inc.
- Lines: 51
-
-
- I have an annoying little problem with creating terminal windows on
- remote Unix systems from my VAXstation. I typically do this using the
- RSH command to execute a dxterm or xterm command on the remote system and
- have the display on my VAXstation. When I use dxterm there is no
- problem. Dxterm also implies that the remote system is an Ultrix
- system. Dxterm is the DEC equivalent of Xterm. The VMS command looks
- like this:
-
- $ rsh rapnet dxterm -display cadt2::0 -ls &
-
- This executes the dxterm command that successfully opens a window and
- returns control on my VAXstation.
-
- $ rsh rapnet xterm -display cadt2::0 -ls &
-
- This executes the xterm command that successfully opens a window and
- does _not_ return control on my VAXstation. It just hangs there.
- However, if I control-Y out of it, all is okay, the window opened
- remains open and I regain control from the initiating window on my
- VAXstation.
-
- The question is: is this a bug or a feature? Obviously, I use dxterm
- on Ultrix systems but I do not have that choice on Sun systems. This
- problems makes it impossible to auto start xterm windows on non-Ultrix
- systems at session startup time (at least using this method).
-
- It was suggested that I try nohup:
-
- $ rsh rapnet "/bin/nohup xterm -display cadt2::0 -ls &"
-
- Unfortunately, this suggestion does not work. I see no difference in
- behavior.
-
- From what I can determine from a "ps -ux" it seems that the process
- running xterm is not releasing the i/o connection back to the rsh
- invoking system. If I kill the xterm process, that lets rsh exit,
- but I lose the window on the remote node. Interrupting rsh has the
- same effect but does not lose the window. Can't seem to win here...
-
- Any explanations, suggestions or workarounds would be appreciated.
-
- --
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- David C. Mores Principal Systems Specialist Keep it short
- Lockheed Sanders, Inc. Nashua, NH and sweet.
- Internet E-mail: mores@rapnet.sanders.lockheed.com do da do da
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
- "Sometimes I think that the surest sign that intellegent life exists elsewhere
- in the universe is that none of it has tried to contact us." -Calvin
-