SUMMARY: Telnet/rlogin and X applications

From: matt (matt@mostar.com)
Date: Wed Sep 09 1998 - 02:31:07 CDT


Thanks to the following for their helpful responses:

Thomas Lester <tlester@spain.iakom.com>
Charlie Mengler <charliem@anchorchips.com>
Vince Merrell <vinnym@dial.pipex.com>
Frank Smith <franks@austintx.net>
Daniel Stringfield <dstringf@fccjmail.fccj.cc.fl.us>
Sean Quaint <squaint@cac.net>
Sebastian Benoit <benoit@Mathematik.Uni-Marburg.de>
Jose Morales <jmorales@polar.es>
Roy Culley <tgdcuro1@gd2.swissptt.ch>
Mark Sherman [ Y2k Consultant ] <marksh@funb.com>
Matt Reynolds <matt@aztek-eng.com>
Jochen Bern <bern@penthesilea.uni-trier.de>
Vahid Moghaddasi <vahid@dats.ml.com>
Terje J. Hanssen <nteknikk@monet.no>

***If I may have missed anyone that responded my apologies, there where
   many messages and a few asked for a summary so here it is.

Also, thanks to Jeff Goodin and Gerald Combs for the .login addition and
script. I will look into these ideas a little deeper for future use.

Original post placed below the summary.

The following solutions are the combined responses that I received to allow
a person to run an X application on their local machine while telnet/rlogin
to a remote system.

1. xhost + OR xhost hostname of remote host
   *****use the one that works best for you

2. setenv DISPLAY=IP ADDRESS OF REMOTE STATION:0.0
                       OR
   setenv DISPLAY IP ADDRESS OF REMOTE STATION:0
                    OR for SH users
   setenv DISPLAY=IP ADDRESS OF REMOTE STATION:0.0;export DISPLAY

This should do it for you, my solution was to:
  xhost +
  setenv DISPLAY IP ADDRESS:0
  activate the application (IE /usr/bin/clock &) <-----just an example

One other tidbit that was sent to me was that maybe I should use ssh
for this. This did seem to be a favorable way to perform the above
task from the various users out there on this list.

Thanks again to the UNIX GURUS for quick solutions to my questions

Matt
matt@mostar.com

ORIGINAL POST
>I would like to telnet or rlogin to a remote computer on my lan.
>Then start a X window application, allowing this application to
>appear on my screen just as if I where at the remote site. Then Utilize
>this application to make changes and exit it.
>
>How would I rlogin/telnet then setenv to start this application on my system.
>
>The remote system is located many hundreds of miles away.



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:48 CDT