LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-12-2003, 03:12 PM   #1
Arcticfox
LQ Newbie
 
Registered: Dec 2003
Location: the place
Distribution: RedHat 9.0 (formerly Fredora), and Slackware 9.1
Posts: 11

Rep: Reputation: 0
Mozilla Only Opens as root


ive just recently installed slacwear 9.1 "correctly", ive notice a few annoying bugs
1> Mozilla only starts as root
2>Galeon wont let me click on buttons while surfing the web
3> alsamixer errors out every time its started, ive had sound trubles before with this soundcard while useing redhat

right now mozilla is the largest of my problems, any suggestions?
 
Old 12-12-2003, 04:07 PM   #2
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Do you get an error message when you attempt to run mozilla as a normal user? I can think of several possibilities why it would work as root but not as a normal user:

1. Root has mozilla executable in the $PATH, while normal user doesn't. Run 'which mozilla' as both root and normal user; if both of them get the correct path to mozilla, then that's not the problem. If the user gets something like 'mozilla not found in /bin:/usr/bin:...', then the user can either run mozilla by typing the full pathname to mozilla, like /usr/local/bin/mozilla, or by adding that path to his profile.
2. Root has execute permission for mozilla, but normal user doesn't. Find out where the mozilla executable is by using 'which mozilla' above, and then do 'ls -l /path/to/mozilla'; see if there is an 'x' shown in three places in the leftmost columns. If not, as root try 'chmod +x /path/to/mozilla' and see if that lets a normal user run it.
3. User can execute mozilla, but something goes wrong before it runs properly. Depends on what error message you get when you attempt it. Run it from a terminal window to get the best chance of having a helpful error printed out.
 
Old 12-12-2003, 04:11 PM   #3
Arcticfox
LQ Newbie
 
Registered: Dec 2003
Location: the place
Distribution: RedHat 9.0 (formerly Fredora), and Slackware 9.1
Posts: 11

Original Poster
Rep: Reputation: 0
im going to try those first two (but i do not get an error while mozila starts it jsut never loads)
 
Old 12-12-2003, 04:14 PM   #4
Arcticfox
LQ Newbie
 
Registered: Dec 2003
Location: the place
Distribution: RedHat 9.0 (formerly Fredora), and Slackware 9.1
Posts: 11

Original Poster
Rep: Reputation: 0
mozilla is marked as an excutable for everyone, and which mozila returns the same results
 
Old 12-12-2003, 04:37 PM   #5
cimmer
LQ Newbie
 
Registered: Dec 2003
Posts: 17

Rep: Reputation: 0
strace mozilla

this should give you a pretty good idea where it is crapping out
 
Old 12-12-2003, 04:51 PM   #6
Arcticfox
LQ Newbie
 
Registered: Dec 2003
Location: the place
Distribution: RedHat 9.0 (formerly Fredora), and Slackware 9.1
Posts: 11

Original Poster
Rep: Reputation: 0
thanks, im not realy to sure on what mozilla returned, (it returned about 4 pages of info) several errors starting ENOENT (no such file or directory) and ECHILD (no such child prosess)
 
Old 12-12-2003, 04:57 PM   #7
cimmer
LQ Newbie
 
Registered: Dec 2003
Posts: 17

Rep: Reputation: 0
those errors can be completely innocent. paste the last few lines of the strace output.
 
Old 12-12-2003, 05:07 PM   #8
Arcticfox
LQ Newbie
 
Registered: Dec 2003
Location: the place
Distribution: RedHat 9.0 (formerly Fredora), and Slackware 9.1
Posts: 11

Original Poster
Rep: Reputation: 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, 0xbffff06c, WNOHANG, NULL) = -1 ECHILD (No child processes)
sigreturn() = ? (mask now [RTMIN])
rt_sigaction(SIGINT, {SIG_DFL}, {0x8075660, [], SA_RESTORER, 0x40058988}, 8) = 0rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
stat64("core", 0xbffff360) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
read(255, "\nexit $exitcode\n", 8176) = 16
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
exit_group(1)
 
Old 01-27-2004, 05:16 PM   #9
rharvey@cox
Member
 
Registered: Aug 2003
Location: Victoria, Texas
Distribution: Gentoo
Posts: 63

Rep: Reputation: 15
So did you ever figure it out? The thread seems to have ended and I have the same problem.
 
Old 01-27-2004, 09:34 PM   #10
jenzob
LQ Newbie
 
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
chmod mozilla dir

Hi there,
I had the same problem, dont know what caused this.
I solved this by doing:
'chmod -R 777 /usr/lib/mozilla-1.6'
Well, its probably not very accurate and clean, but who cares, it works...
 
Old 01-28-2004, 06:04 AM   #11
rharvey@cox
Member
 
Registered: Aug 2003
Location: Victoria, Texas
Distribution: Gentoo
Posts: 63

Rep: Reputation: 15
I followed the suggestion of uninstalling Mozilla and reinstalling it. That worked.

Thanks for the note, though.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rpmdrake opens when I log in as root promethious Linux - Newbie 2 09-09-2005 01:23 PM
Mozilla opens URL as local tmp file? phlyersphan Linux - Software 1 11-08-2004 01:24 PM
Left mozilla on after I logged off and now it opens every time I log back on... r3dhatter Linux - Newbie 2 06-21-2004 11:06 AM
Unable to open firefox from evolution - always opens Mozilla tog Fedora 1 06-19-2004 12:01 PM
Mozilla opens to a blank page linuxRunner Linux - Software 2 05-07-2003 06:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration