[comp.windows.x] How can I pass DISPLAY value on rlogin?

slc1290@hare.udev.cdc.com (steve chesney x4662) (11/01/90)

Our X applicationhas a feature to remotely log in to another host
and username - we now use rlogin for this.  We need to set the DISPLAY
environment variable on the remote host so that X applications run there
will show up on the original display.  We wish we could rely on rsh
for this (as that will allow sent commands) but we need to go to 
other usernames and rsh does an rlogin in that circumstance.

Has anyone solved this with standard unix and x features?
Thanks

Steve Chesney       Control Data Corporation      slc1290@hare.udev.cdc.com