Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* netscape and RH 6.1
@ 2000-03-18  5:00 Mohan Vaghul
  2000-03-18  5:00 ` Tony Hammitt
  0 siblings, 1 reply; 5+ messages in thread
From: Mohan Vaghul @ 2000-03-18  5:00 UTC (permalink / raw)


I just installed netscape (obtained from the Compaq linux software web page)
on my xl 366. On invoking netscape, I get an error:

Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server
Error: Can't open display: :0

Any ideas why I am getting this error?

Mohan







^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: netscape and RH 6.1
  2000-03-18  5:00 netscape and RH 6.1 Mohan Vaghul
@ 2000-03-18  5:00 ` Tony Hammitt
  2000-03-18  5:00   ` Mohan Vaghul
  2000-03-19  5:00   ` apprentice Victor Meldrew
  0 siblings, 2 replies; 5+ messages in thread
From: Tony Hammitt @ 2000-03-18  5:00 UTC (permalink / raw)


Mohan Vaghul wrote:
> 
> I just installed netscape (obtained from the Compaq linux software web page)
> on my xl 366. On invoking netscape, I get an error:
> 
> Xlib: connection to ":0.0" refused by server
> Xlib: Client is not authorized to connect to Server
> Error: Can't open display: :0
> 
> Any ideas why I am getting this error?
> 
> Mohan

It's the same error you get if you try and display a window
on another machine's xserver without being allowed to by xhost.
So, what I'd try is 'xhost + localhost' and try it again.

Sometimes if you log in as one user and try to run something
as another user (like you logged in as 'bob' and tried run
netscape as 'root'), you'll get this error, too.

xhost will probably fix it, but you have to consider that
xhost is insecure.  Once you xhost + <some machine>, anyone
on that machine can pop up windows on your display and
possibly even run some kind of program that logs all of the
X events (like when you typed your password...).

So, use it with caution and _never_ just 'xhost +', which
allows anyone anywhere to access your display.

Regards,

Tony Hammitt



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: netscape and RH 6.1
  2000-03-18  5:00 ` Tony Hammitt
@ 2000-03-18  5:00   ` Mohan Vaghul
  2000-03-19  5:00     ` Tony Hammitt
  2000-03-19  5:00   ` apprentice Victor Meldrew
  1 sibling, 1 reply; 5+ messages in thread
From: Mohan Vaghul @ 2000-03-18  5:00 UTC (permalink / raw)


Tony,

Sure enough, it worked. But, what I don't understand is I am not running
netscape as another user. Does everybody have to do this before running
Netscape? Or is it possible that I installed netscape as "su" from my user
account.

Mohan





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: netscape and RH 6.1
  2000-03-18  5:00   ` Mohan Vaghul
@ 2000-03-19  5:00     ` Tony Hammitt
  0 siblings, 0 replies; 5+ messages in thread
From: Tony Hammitt @ 2000-03-19  5:00 UTC (permalink / raw)


Mohan Vaghul wrote:
> 
> Tony,
> 
> Sure enough, it worked. But, what I don't understand is I am not running
> netscape as another user. Does everybody have to do this before running
> Netscape? Or is it possible that I installed netscape as "su" from my user
> account.
> 
> Mohan

I don't have to xhost + localhost, I don't know why you would, either.

I suppose you could check to see if any suid bits are set, but I don't
think that would be a problem.

Oh well, it's easy enough to xhost in some startup script.

Glad you got it working.

Tony



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: netscape and RH 6.1
  2000-03-18  5:00 ` Tony Hammitt
  2000-03-18  5:00   ` Mohan Vaghul
@ 2000-03-19  5:00   ` apprentice Victor Meldrew
  1 sibling, 0 replies; 5+ messages in thread
From: apprentice Victor Meldrew @ 2000-03-19  5:00 UTC (permalink / raw)


Tony Hammitt wrote:
> It's the same error you get if you try and display a window
> on another machine's xserver without being allowed to by xhost.
> So, what I'd try is 'xhost + localhost' and try it again.

Thanks for the tip, but I have a related problem.

I have a Redhat Linux 5.1 on Alpha, and the X11 side of things is fine,
I can run lots of apps, *except* I got a message about Java's
appletviewer not being able to connect to :0.0

I've tried the usual xhost + (my Alpha machine is not in the Internet,
so I don't care about the security hole) and all my usual X11 apps
(ie xterm) work fine, so I'm pretty sure my non-Java X11 is ok.

Would anyone have any info to help out this Java-newbie ?

I tried the blackdown archives, and the Java FAQ.

Regards

dcb



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-03-19  5:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-18  5:00 netscape and RH 6.1 Mohan Vaghul
2000-03-18  5:00 ` Tony Hammitt
2000-03-18  5:00   ` Mohan Vaghul
2000-03-19  5:00     ` Tony Hammitt
2000-03-19  5:00   ` apprentice Victor Meldrew

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox