Solved

Netscape Errors

Posted on 2000-05-12
4
263 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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 …
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now