From: azhao@cc.gatech.edu (Q. Alex Zhao)
Subject: Re: Any script for setting the DISPLAY variable?
Date: 7 Oct 1994 12:07:27 -0400 [thread overview]
Message-ID: <373rnv$jtm@oakmont.cc.gatech.edu> (raw)
In-Reply-To: 373qnd$id@netserver.univ-lille1.fr
Sean J. Anaya (sanaya@vrl.nmsu.edu) wrote:
] This should work:
] #Set the default X server.
] #if ($?DISPLAY == 0) then
] # if ($?REMOTEHOST) then
] # setenv DISPLAY ${REMOTEHOST}:0.0
] # else
] # setenv DISPLAY :0.0
] # endif
] #endif
The above approach will work on SGI IRIX and Solaris 2.x etc.
machines, but not on Solaris 1.
In article <373qnd$id@netserver.univ-lille1.fr>, dubus@omega.univ-lille1.fr (Georges Dubus) writes:
] On most of Unix systems the command (shell script) named "xon" can be used
] for this purpose:
] This command is provided with X11 distrib
"xon" will NOT work if the "hostname" command on your machine doesn't
give the full host name (such as that on SunOS 4.1.3), and the remote
host which you are trying to connect is outside your domain or doesn't
recognize the host name unless it's a full name... And "xon" has only
one way of dealing with auth, which is not to deal with it -- turn
"xhost" on.
"xrsh" (could be found on "ftp.x.org") provides a lot of options
besides correctly setting up the $DISPLAY variable and passing auth
keys.
--
= Q. Alex Zhao ~{0"UT~} ! Graphics, Visualization & Usability Center
Email: azhao@cc.gatech.edu ! College of Computing
FAX: 404-853-9378 ! Georgia Institute of Technology
Lab: 404-894-9636 ! Atlanta, Georgia 30332-0280
next prev parent reply other threads:[~1994-10-07 16:07 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-09-22 14:13 Any script for setting the DISPLAY variable? news
1994-10-03 21:11 ` Ben Taylor
1994-10-04 16:16 ` Stefan Monnier
1994-10-05 18:05 ` John Vanderpool
1994-10-06 15:24 ` Yair Friedman
1994-10-08 14:07 ` Stefan Monnier
1994-10-05 15:49 ` Philip Shearer @ZUO-DC EBS-Team
1994-10-06 15:49 ` Sean J. Anaya
1994-10-07 15:50 ` Georges Dubus
1994-10-07 16:07 ` Q. Alex Zhao [this message]
1994-10-06 13:30 ` Mario Klebsch DG1AM
1994-10-06 18:37 ` Michael Meissner
1994-10-07 20:38 ` Greg Walker
1994-10-10 16:33 ` Mario Klebsch DG1AM
1994-10-13 14:07 ` Greg Walker
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox