[SunRescue] netscape/xlib problem.

Gregory Leblanc gleblanc at cu-portland.edu
Fri Aug 20 09:58:29 CDT 1999


-----Original Message-----
From: David Cantrell <david at wirestation.co.uk>
To: rescue at ohno.mrbill.net <rescue at ohno.mrbill.net>
Date: Friday, August 20, 1999 4:13 AM
Subject: Re: [SunRescue] netscape/xlib problem.


>Gregory Leblanc said:
>
>>                 When I try to start the /usr/local/netscape/netscape
>> executable, it gives me an error like this: Xlib: connection to ":0.0"
>> refused by server Xlib: Client is not authorized to connect to Server
>> Error: Can't open display: :0.0
>>
>> I suspect that this is an xauth thing, but I can't seem to figure out how
>> to fix it.  Any pointers?  Thanks,
>
>:0.0 is a local display on the machine you're running netscape on.  If
>you're connecting to that machine via telnet (for instance) you may not
>have permission to access that screen, and you almost certainly don't
>want to anyway.  What you probably want to do is run netscape on the
>remote machine but _display_ it on your _local_ screen.  To achieve
>this do either ...

Actually, this is on my SS20 running Solaris7.  I'm sitting in front of it,
running CDE, and wanting to use netscape because the Java browser is really
slow, and has a couple of bugs(frames don't work properly).  I got it
working, but I'm not sure what I did was a good thing.  I ran xauth, and had
it show me all of the allowed displays (at least I think that's what they
were).  I typed in "add localhost:0.0" and then pasted the other
goobley-gook from one of the other entries after that.  I tried using the
"xauth +localhost" from the command line as was suggested, but that didn't
get me anywhere.  Thanks,
    Greg

P.S.  Sorry about the HTML garbage in my emails, the MS mailers aren't very
co-operative in letting one turn it off.  Soon as netscape is running on my
Sun, I'll be sure to mail from there.

>
>bash ~david % DISPLAY=your-machines-FQDN:0
>bash ~david % export DISPLAY
>bash ~david % netscape &
>
>or ...
>
>bash ~david % netscape -display your-machines-FQDN:0 &
>
>At least, both of those work for remotely displaying apps running on my
>Linux and SGI boxen and I see no reason for Sun to behave any
>differently.
>
>Hope that helps, and please forgive me if I completely misunderstood
>the question :-)
>
>--
>David Cantrell - http://www.ThePentagon.com/NukeEmUp/
>
>He that but looketh on a plate of ham and eggs to lust after
>it hath already committed breakfast with it in his heart.
>
>_______________________________________________
>Rescue maillist  -  Rescue at sunhelp.org
>http://www.sunhelp.org/mailman/listinfo/rescue
>







More information about the rescue mailing list