Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
06-22-2003, 09:34 PM
|
#1
|
Member
Registered: Jun 2003
Distribution: Slackware - 14.0
Posts: 40
Rep:
|
Netscape as user
I am using DSL. rp-pppoe-3.5. Login as root. Start Netscape from desktop, can surf, email, etc. just fine. Login as user, get "Netscape is unable to find....."
I figure it has something to do with permissions, but permissions for what?
Slackware 9.0.
|
|
|
06-22-2003, 10:00 PM
|
#2
|
Senior Member
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Rep:
|
Sounds too me like you have got the netscape installed in your root account, but not your user account.
Either that or you need to change your permissions to rwxrwxrwx so root, user and group can use it!
I'm probably wrong, but then again, I'm rubbish at this linux lark
regards
John
|
|
|
06-22-2003, 10:02 PM
|
#3
|
Senior Member
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Rep:
|
Oh sorry,
That would probably be permission to use the application.
regards
John
|
|
|
06-23-2003, 06:55 AM
|
#4
|
Member
Registered: Jun 2003
Distribution: Slackware - 14.0
Posts: 40
Original Poster
Rep:
|
Permissions for Netscape, pppd, pppoe, adsl-start, adsl-connect are all -rwxr-xr-x
|
|
|
06-23-2003, 07:05 AM
|
#5
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Sounds to me more like a $PATH thing.
Can you finish that error message? Or is that all it prints:
Netscape is unable to find....
If there is an application after it, what is the location of that application (or set of applications)?
And can you post up:
echo $PATH
Cool
|
|
|
06-23-2003, 07:56 AM
|
#6
|
Member
Registered: Jun 2003
Distribution: Slackware - 14.0
Posts: 40
Original Poster
Rep:
|
It's just Netscape is unable to find www.<any site>.com.
I'll check the path tonight when I get home. Is the user's path different than root's path?
|
|
|
06-23-2003, 08:09 AM
|
#7
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Yes, usually.
However, if root's able to find sites, I don't see why users shouldn't be able to. All the ideas that I can think of (I typed em out them realized) would happen to both root and users.
Do you have to do anything real strange when connecting as root? I'm not too familiar with rp-pppoe, but can you set it up as root, then login as a user and surf?
Cool
|
|
|
06-23-2003, 08:19 AM
|
#8
|
Member
Registered: Jun 2003
Distribution: Slackware - 14.0
Posts: 40
Original Poster
Rep:
|
No. With rp-pppoe, you have to bring up the adsl connection as root.
So, if I login as root, do adsl-start, then start Netscape <or lynx, etc> everything works fine.
If I login as user, su, do adsl-start, etc., the browser opens but I can't find anything.
In both cases I get the message "Connected!" after adsl-start.
|
|
|
06-23-2003, 08:21 AM
|
#9
|
Member
Registered: Jan 2003
Location: Sydney, Australia
Distribution: FedoraCore
Posts: 105
Rep:
|
Try another browser like mozilla or opera and see if you get the same problem. Try and install mozilla opera into the same parent directory as netscape.
|
|
|
06-23-2003, 08:52 AM
|
#10
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
What if you login as root, do the thing, then CTRL ALT F2 to a console, login as user and then use lynx, does it connect?
Cool
|
|
|
06-23-2003, 08:54 AM
|
#11
|
Member
Registered: Jun 2003
Distribution: Slackware - 14.0
Posts: 40
Original Poster
Rep:
|
It doesn't matter which browser I use, Mozilla, Netscape, Lynx, Links, <haven't tried Opera>, I get the same results. Works fine as root. Can't surf as user.
|
|
|
06-23-2003, 08:58 AM
|
#12
|
Member
Registered: Jun 2003
Distribution: Slackware - 14.0
Posts: 40
Original Poster
Rep:
|
Quote:
Originally posted by MasterC
What if you login as root, do the thing, then CTRL ALT F2 to a console, login as user and then use lynx, does it connect?
Cool
|
Not sure if I tried it that way yet. I'll do that when I get home tonight.
|
|
|
06-23-2003, 09:49 AM
|
#13
|
Member
Registered: Jan 2003
Location: Sydney, Australia
Distribution: FedoraCore
Posts: 105
Rep:
|
Um. I might not be reading this wrong. Are you behind a proxy? Have you just configured your proxy for root only?
|
|
|
06-23-2003, 09:55 AM
|
#14
|
Member
Registered: Jun 2003
Distribution: Slackware - 14.0
Posts: 40
Original Poster
Rep:
|
No proxy, but a firewall. Could this be it?
|
|
|
06-23-2003, 02:34 PM
|
#15
|
Senior Member
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Rep:
|
Yes, it could be.
I had to mess around with my firewall until I got it right i.e. mandrake default is "shorewall", and it was a total pain in the arse, since then I have tried firestarter and guard dog.
You should take a looksee at the ports that you have got open. If, for example, you have the firewall config'd as user, but not as root, then the result would be the same as having the netscape installed as root and not in your user account, and not be able to connect.
If you got the firewall set up for root and user, then make sure you use the same settings for both account - that would then exclude the firewall, if it allows you to connect of course...........
ha, just thought, if your system shows connected with both root and user, but won't access remote servers, then surey, it must be a firewalling problem.
And I'm still rubbish at this linux thing!!!
regards
John
|
|
|
All times are GMT -5. The time now is 02:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|