ADSM-L

Re: X display question

1994-05-19 03:12:44
Subject: Re: X display question
From: Gary Bridgewater <gjb AT LSIL DOT COM>
Date: Thu, 19 May 1994 00:12:44 -0700
Did you do an 'su' to a different user named?  If so, you needed to do an
xhost +
as the initial user - which "owns" the display.   It may be that, when doing
the test, sometimes you did it and sometimes you didn't.


Note that setting DISPLAY to "hostname" is teh most inefficient way to do it
in X11R5 (it won't matter in X11R6).   The most efficient way - on the
localhost - is to just use
        setenv DISPLAY :0
The middle efficient way is
        setenv DISPLAY localhost:0


> We have the following:
>
> /etc/hosts:
> hostname 147.145.45.49
>
> In csh on a Sun4 client we do setenv DISPLAY hostname:0
>
> When running dsm we get a
> "Can't Open Display" message.
>
> In csh we do setenv DISPLAY 147.145.45.49:0
>
> When running dsm the display opens fine.
>
>
> Any ideas?  Not an urgent problem, however we would like to know why
> the name works some of the time and why it requires the address at
> other times.
>
> Thank you.
>
> ________________________________________________________________________
> | Mitch Sako          \\\\   \\\\ \\\\\\\\  ||||||||  /////// //    // |
> | I-NET Corporation    \\ \\ \\ \\    \\       ||    //      //    //  |
> | LSI Logic Contract    \\  \\\  \\    \\      ||   //      ////////   |
> | Mailstop E-195         \\       \\    \\     ||  //      //    //    |
> | 1501 McCarthy Blvd.     \\       \\ \\\\\\\\ || /////// //    //     |
> | Milpitas  CA  95035                                                  |
> | local:      mitch@asic                  Phone:  (408) 433-4187       |
> | internet:   msako AT lsil DOT com              FAX:    (408) 433-8796       
> |
> | uucp:       lsil!msako                  Pager:  (408) 989-3365       |
> | ibmmail:    USMILUN9 AT IBMMAIL                                      |
> | DISCLAIMER: Opinions expressed are mine alone                        |
> |______________________________________________________________________|
>
<Prev in Thread] Current Thread [Next in Thread>