Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 279
  • Last Modified:

Can't open display-Netscape on SUNos4.1.3

After installing Netscape navigator 4 on a sparc 5 sun os413
,from the installed directory I type as per instructions,
./netscape. I am logged in as root and receive the following error.
sparc5#./netscape
xlib: connection to ":0.0" refused by server
xlib: Client is not authorized to connect to server
Error: Can't open display: :0.0

How can I authorize this program for the display?
(I am running Openwin)
Thanks
Gary
0
gmcclure
Asked:
gmcclure
1 Solution
 
jakedCommented:
If you su'd to root, access to your X server may be authorized for the user you logged in as, but not for root. Try 'xhost +hostname' to allow any users on the machine access to the X server (however, you have to be authorized already to use this command, so you need to do it as the user you logged in as). There is a way to give access to just a particular user but I'm not sure what it is.

0
 
gmcclureAuthor Commented:
Thankyou jaked. Your solution worked.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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