Solved

How to put Netscape back under Xwindows menu networking bar?

Posted on 1998-09-06
14
250 Views
Last Modified: 2013-12-15
I managed to get dialup PPP to work, I have netscape working, but:
1) When I tried NEtscape for the first time I got nothing. I then removed it and reinstalled it from the Red Hat disk.
I am using the Win95ish desktop, but when I use any other desktop I get the same thing.  The current condition is that I can see Netscape in my program menu under networking, but when I click it, it does not open. I have to go into file manager and go to /usr/lib/netscape and find it there to use it.  I suspect that the path to the file is missing, but I have yet to fingure out where the date for these menus is stored, or how the path in Xwindows is changed.  I don't know for sure what is going to fix this, but the path is what my current thoughts are.

     Other Info:

                Red Hat 5.1 Manhattan
                Kernel 2.0.34
                Intel Pent Pro
0
Comment
Question by:joe_massimino
14 Comments
 

Expert Comment

by:koffe
ID: 1630711
What type of Window-manager do you use?
0
 
LVL 6

Author Comment

by:joe_massimino
ID: 1630712
Edited text of question
0
 
LVL 3

Expert Comment

by:marcelofr
ID: 1630713
And what's your distribution and distribution version?
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 6

Author Comment

by:joe_massimino
ID: 1630714
Edited text of question
0
 
LVL 3

Expert Comment

by:marcelofr
ID: 1630715
They use all sorts of m4 scripts in /etc/X11/AnotherLevel/ and a master config file called /etc/X11/fvwm/system.fvwmrc

Anyway the execute "netscape" so I think you shouldn't have any problem if you can do a succesfull which netscape at the bash prompt (after starting X)

Good Luck
0
 
LVL 6

Author Comment

by:joe_massimino
ID: 1630716
Maybe you can tell me what file to edit, and how t oedit it? I looked at th files you mentioned, but I can not edit them in any way that I know. I can not execute netscape without first going to the directory where it exists.  It will not execute from the Xwindows menu bar, but the button is there.  I'm guessing that i need to edit the link for the button to show it where the file is located.  Post something that makes a little more sense, read it to yourself before you post it to me. I am a novice when it comes to Linux.
0
 
LVL 3

Expert Comment

by:marcelofr
ID: 1630717
You have a problem then... First of all I must suppose you get nothing when you type

which netscape

at the bash prompt... because you need to CHANGE to /usr/bin to execute netscape... This means two [BAD] things: first you DON'T have "/usr/bin" in your PATH and you DO have "." in it... This two things must NEVER happen in a unix system...

Check your path (echo $PATH) to make sure I'm NOT right. If I am, check how you are setting PATH in /etc/profile, $HOME/.bash_profile and (maybe) /etc/bashrc

your PATH should look like:

/bin:/usr/bin:/usr/X11R6/bin

no dots... Tell what you find...

Good Luck,

PS: /usr/bin/netscape is an awful script (ala redhat) which finally executes /usr/lib/netscape/netscape-communicator (or navigator, the first it finds...)
0
 
LVL 3

Expert Comment

by:marcelofr
ID: 1630718
while waiting for your answer... (I'm leaving in half an hour)...
I say it's bad to have "." in your PATH because if you as root change dir to /tmp and then execute "ls", you are supposed to get a file listing, but what happens if someone left an script (called "ls") in /tmp? In this case you execute this script, which could contain a line like "rm -fr /" ...

And you must have "/usr/bin" in your PATH because there you have most usefull binaries...

Finally I suppose you know that the environment variable called PATH is where you store a colon separated list of directories where you look for executables and that the easy way to look at your environment is the command "env"...
0
 
LVL 3

Expert Comment

by:marcelofr
ID: 1630719
And one more suggestion: to edit (if you come from M$ environment), to edit a file:

mc -e filename

(and you are right: I don't read what I write, nor what you ask, sorry...:(  )

0
 
LVL 6

Author Comment

by:joe_massimino
ID: 1630720
I will print all that you have typed and read it as I look over what I have. I do not know what happend during the install on this PC, but the other one I did went fine. I am booted in Win95 right now and won't be able to get take a good look until the weekend. As for the parts of your post that I do understand, I must have /usr/bin in my path because many commands that should come from /usr/bin are working at the root prompt.  

Now I've got another question to post about Apachi web server
0
 
LVL 6

Author Comment

by:joe_massimino
ID: 1630721
Nope, none of this helped me any. I am going to figure it out one way or the other. My path is OK, and netscape is back in the menu under X, but still goes nowhere, it doesn't give an error either.
0
 
LVL 1

Accepted Solution

by:
pestilence earned 50 total points
ID: 1630722
Either export the path of your netscape dir to your .bash_profile (PATH$:...:/usr/local/netscape:)
or either cp /usr/local/netscape/netscape to your /bin directory (i prefer to make a link to it...)

0
 
LVL 6

Author Comment

by:joe_massimino
ID: 1630723
You would have to give me the details on doing this. I am new to Linux, and although I understand what you saying, I do not know the correct syntax to do it.
0
 
LVL 3

Expert Comment

by:marcelofr
ID: 1630724
joe_massimo: where's your netscape executable? if it is where you stated first (/usr/lib/netscape) [I can't imagine why] give the following command as root:

ln -s /usr/lib/netscape /usr/bin

this would make a symblolic link of the executable to a publicly known executables dir...

Good luck...
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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 demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

821 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