[comp.windows.x] setenv DISPLAY hostname:0.0 when host is not known to name server

annala@neuro.usc.edu (A J Annala) (05/03/89)

What host name string do I use when my server is a local sun (sal3.usc.edu)
on a domain (usc.edu or oberon.usc.edu) when my local sun is unknown to the 
name server at a remote INTERNET site (overlord.jcs.mil)?  Let's say, for
the purposes of this query, that it is politically infeasible to get the
local sun specifically added to the name server list at the client site.

If I am running a server on the console of oberon.usc.edu then using "setenv 
DISPLAY oberon.usc.edu:0.0" has no problem running clients on overlord.jcs.mil 
... However, if we run a server on sal3.usc.edu ... then neither
       "setenv DISPLAY sal3.usc.edu:0.0" ... or 
       "setenv DISPLAY sal3.usc.edu@oberon.usc.edu:0.0" 
will permit clients on overlord.jcs.mil to display anything on the server.  
The error returned is: "X Toolkit Error: Can't Open display" ... so, what
is the correct form of a DISPLAY name to connect overlord to sal3 ???

Thanks, AJ Annala, USC Neural, Informational & Behavioral Sciences Program

jik@ATHENA.MIT.EDU (Jonathan I. Kamens) (05/04/89)

   Date: 3 May 89 14:11:30 GMT
   From: usc!neuro.usc.edu!annala@bloom-beacon.mit.edu  (A J Annala)
   Organization: University of Southern California, Los Angeles, CA
   Sender: xpert-request@expo.lcs.mit.edu

   What host name string do I use when my server is a local sun
   (sal3.usc.edu) on a domain (usc.edu or oberon.usc.edu) when my
   local sun is unknown to the name server at a remote INTERNET site
   (overlord.jcs.mil)?  Let's say, for the purposes of this query,
   that it is politically infeasible to get the local sun specifically
   added to the name server list at the client site.

If you know the internet address for your workstation, you can use
that as the hostname component of the DISPLAY variable:

   setenv DISPLAY 128.125.5.3:0

Jonathan Kamens			              USnail:
MIT Project Athena				410 Memorial Drive, No. 223F
jik@Athena.MIT.EDU				Cambridge, MA 02139-4318
Office: 617-253-4261			      Home: 617-225-8218