Operating System - HP-UX
1833587 Members
4006 Online
110061 Solutions
New Discussion

Re: Help using Netscape 4.79 on HPUX 11

 
SOLVED
Go to solution
Kanulondon
Occasional Advisor

Help using Netscape 4.79 on HPUX 11

Hello all,
Yesterday I got myself a 715/100 workstation so I can practice HP UX stuff on it. The workstation is connected to my LAN which is connected to a cable modem. The network works and I have no problems pinging ip's for my ISP dns servers and the like

I installed Netscape 4.79 but when I try to run it from its directory I get this error
=======================

Xlib: connection to "leon2:0.0" refused by server
Xlib: Client is not authorized to connect to Server
Error: Can't open display: leon2:0.0
Error: Couldn't find per display information
=======================

Any ideas on how to make it work?

Also how do I create an Icon for Netscape in CDE?

any help appreciated!


KL
"Knowing is not enough, we must apply" Bruce Lee
7 REPLIES 7
Alex Glennie
Honored Contributor

Re: Help using Netscape 4.79 on HPUX 11

try running xhost + before firing up netscape ?

also please run nslookup leon2 and report the output, I'd be inclined if the above command does not resolve to ensure leon is entered in /etc/hosts & /etc/nsswitch.conf points to files before DNS ...

I'll get back to you on the icon bit ...
Alex Glennie
Honored Contributor
Solution

Re: Help using Netscape 4.79 on HPUX 11

if you send me an email : see my forum profile I can send you the required files to intergrate netscape into the CDE front panel ... bitmaps, CDE actions etc but you'll need to check the CDE's advanced users guide ->http://docs.hp.com/hpux/onlinedocs/B1171-90162/B1171-90162.html

chapter8 on how to use them ..
Kanulondon
Occasional Advisor

Re: Help using Netscape 4.79 on HPUX 11

Thanks for the replies Alex,

When I ran nslookup on my machine yesterday it resolved my name correctly to my IP address. I had a few problems before....as earlier on in the evening it wasn't resolving correctly.

Anyways....I am new to HPUX and I haven't used xhost before. Would I need to do this every time I start the machine or is there a config file somewhere?

Thanks

KL
"Knowing is not enough, we must apply" Bruce Lee
Alex Glennie
Honored Contributor

Re: Help using Netscape 4.79 on HPUX 11

create a file called /etc/X0.hosts, add the local hostname + any remote hosts you wish to give automatic access to (one per line), lastly restart X locally for changes to take effect : more info in man (1) Xserver & X

ps not recieved that email yet ....
T G Manikandan
Honored Contributor

Re: Help using Netscape 4.79 on HPUX 11

To change the default to allow client access all the time for users

#cp /usr/dt/config/Xconfig /etc/dt/config/Xconfig

REmove the comment from

#Dtlogin*authorize: False

Restart the X-server by

/sbin/init.d/dtlogin.rc stop
/sbin/init.d/dtlogin.rc start


Thanks
T G Manikandan
Honored Contributor

Re: Help using Netscape 4.79 on HPUX 11

Mine above will enable for everyone.

Alex is right,
provide permission to a certain machine permanently,
create a file called X0.hosts file in the /etc directory.
Enter the hostname of the machine to which you want
to give permanent permission.

Alex Glennie
Honored Contributor

Re: Help using Netscape 4.79 on HPUX 11

TGM's reply touches of user based access as opposed to host based access ie .Xauthority and MIT Magic cookies the 2 are separate but never the less linked. again the 2 man pages should cover both.

You could as an alternative merge .Xauthority files : check out man xauth for details