Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Netscape Errors

Posted on 2000-05-12
4
Medium Priority
?
274 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 800 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.
Suggested Courses

824 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