• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 277
  • Last Modified:

Netscape Errors

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
central_scrutiniser
Asked:
central_scrutiniser
  • 2
1 Solution
 
etdeyCommented:
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
 
geotigerCommented:
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
 
central_scrutiniserAuthor Commented:
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
 
central_scrutiniserAuthor Commented:
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

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now