Solved

Netscape Errors

Posted on 2000-05-12
4
267 Views
Last Modified: 2010-04-21
I've just recently installed Netscape4.7 on my SPARC and now receive the follwoing message when trying to execute it.

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

Help :)
0
Comment
Question by:central_scrutiniser
  • 2
4 Comments
 

Expert Comment

by:etdey
ID: 2805461
You have a problem with your DISPLAY or your Xauth permissions. Are you trying to run Netscape under different user ID than the one you logged in with and started X-windows? This is a very common error to get for this situation.

Do the following (temporarily) in order to test this scenario:

  $ xhost +
  $ netscape &

If Netscape starts up, you've got an X permissions problem. Please run "xhost -" after this test. You may wish to read the man pages on "xauth" if you want two users to have access to your display. If netscape is being run on another machine with the display coming back to your machine, it will need a copy of your .Xauthority file in order to connect.
0
 
LVL 12

Accepted Solution

by:
geotiger earned 200 total points
ID: 2807406
Even you have set "xhost +" to give permissions to others, you still need to set DISPLAY to point back to your terminal if you rlogin to a different host or su to a different user.

Here are the steps to try out:

1. open a console from your unix desktop;

2. echo $DISPLAY to get your display setting.

3. If $DISPLAY does not contain your host name, re-set display.

# DISPLAY=yourhostname:0.0; export DISPLAY

(If you are using Exceed or other X emulation program to remotely log onto your server, you need to change "yourhostname" to your PC's IP address or host name of your PC.)

4. netscape &

0
 

Author Comment

by:central_scrutiniser
ID: 2808131
Thanks chaps,

I on at home at the moment (the station is one I've setup at work to use).

It errors when sat at the station. I had'nt even considered running it over the LAN.

Probably one thing that may make a difference is Netscape3 was installed and running well (I can't stand  Hot Jave......the worlds slowest web browser). After I installed 4.7 3 got the same message when executed but still brought up a browsable window to the web.

The packageas were installed under

/opt/NSCPnav for 3
/opt/netscape for 4.7

Would the two versions cause this even though they're installed in a different directory?

If I need to uninstall 3 first what procedure do I run to get it off. I'm still a little new to Solaris....;)

Later...........
0
 

Author Comment

by:central_scrutiniser
ID: 2809988
Thanks guys,

You both gave me some stuff to look into, however, geo's comment saved the day in the end.

Regards
:)
Central_scrutiniser
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question