From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,b9da608f6795a9e5 X-Google-Attributes: gid111c93,public From: Tony Hammitt Subject: Re: netscape and RH 6.1 Date: 2000/03/18 Message-ID: <38D3DFF2.8EDC6ED6@kc.rr.com>#1/1 X-Deja-AN: 599289350 Content-Transfer-Encoding: 7bit References: X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@rr.com X-Trace: typhoon2.kc.rr.com 953409523 24.94.177.44 (Sat, 18 Mar 2000 13:58:43 CST) MIME-Version: 1.0 Reply-To: thammitt@kc.rr.com NNTP-Posting-Date: Sat, 18 Mar 2000 13:58:43 CST Newsgroups: comp.os.linux.alpha 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 + , 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