[NTLUG:Discuss] xhost question

Fred James fredjame at concentric.net
Sat Oct 5 11:31:58 CDT 2002


I think the simplest way to state this is as follows (where A is Linux, 
and B is IRIX):
Starting on A
(1) xhost +B
(2) telnet B
(3) setenv DISPLAY A:0
(4) xclock -title `hostname` &
(5) The error message is that the display cannot be opened.
This sequence would work if both A and B were IRIX - has been tested.

Val W. Harris wrote:

> Steve Baker wrote:
>
>>
>> That might be - quite a few IRIX desktop widgets are written in 
>> OpenGL - even
>> some that you'd think were 'obviously' not (like gdiff for example).
>>
>> However, I'd be very suprised if 'xclock' has been rewritten into 
>> OpenGL - the
>> standard version most definitely isn't.
>
>
> I agree that xclock isn't an OpenGL app.  I think that xclock is part 
> of the
> standard set of apps started by toolchest.
>
> Perhaps Fred could begin troubleshooting this by starting xclock
> manually on the host system.  If it appears on the client, we know that
> the "DISPLAY" environment variable and xhost permissions are set
> correctly.  If it doesn't appear, we trouble shoot that aspect.
>
> If xclock appears on the client, let's look at toolchest.  On the host,
> do:
>
>    which toolchest
>    file <full-pathname-to>/toolchest
>
> This will tell us whether toolchest is a script or compiled binary.
> If toolchest is a script, study it to see what it calls.  If toolchest
> is a binary, "strace" it (man strace) to see what calls it makes.
>
> I hope this helps,
>
> Val


-- 
small is beautiful







More information about the Discuss mailing list