Solved

How to put Netscape back under Xwindows menu networking bar?

Posted on 1998-09-06
14
247 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
 
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
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 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.

910 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

21 Experts available now in Live!

Get 1:1 Help Now