Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jul 2002 00:07:27 -0700
From:      Adam Weinberger <adam@vectors.cx>
To:        sagacious <sagacious@unixhideout.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Cant get browser to work as a user.
Message-ID:  <20020711070727.GA59106@vectors.cx>
In-Reply-To: <CGEIKJFNGMJHCMFBJGJFGEGMCBAA.sagacious@unixhideout.com>
References:  <CGEIKJFNGMJHCMFBJGJFGEGMCBAA.sagacious@unixhideout.com>

next in thread | previous in thread | raw e-mail | index | archive | help
take a look at /usr/X11R6/bin/mozilla. that is a shell script wrapper
for mozilla-bin, which is the actual runtime executable. 

/usr/X11R6/bin/mozilla calls /usr/X11R6/lib/mozilla/mozilla, which is
another shell script wrapper. this is the one that looks for the
runtime, and is the file that is spitting out the error (line 75). this
file calls run-mozilla.sh, ANOTHER shell script wrapper. however, it
looks like your system is either (a) unable to find the script, or (b)
is unable to execute it.

as root, ls -la /usr/X11R6/lib/mozilla/run-mozilla.sh
check to see:
	(a) it exists
	(b) it is executable by everybody.
it should look like this:
-rwxr-xr-x  1 root  wheel    10K May 24 15:41 /usr/X11R6/lib/mozilla/run-mozilla.sh

if this is all correct, check that /usr/X11R6/lib/mozilla/mozilla-bin
has the same permissions.

if the permissions on either of the files is incorrect, chmod the files
as chmod 755 /usr/X11R6/lib/mozilla/run-mozilla.sh or whatever the
offending filename is.

failing any of this, reinstall the port. this has never been a problem
on any of my machines.

out of curiosity: did you install www/mozilla or www/linux-mozilla?

-Adam


>> (07.10.2002 @ 2012 PST): sagacious said, in 0.7K: <<
> 
> 
> hello once again.
> 
>  I got x up and i want a browser. I installed mozilla from the ports tree as
> root, and when i am a user and run mozilla i get the following error.
> "Cannot find mozilla runtime error" exiting.
> However when i run it as root, i have no problems. Obviously, when run as a
> user theirs a permission problem somewhere? But where would that be? Its of
> no shock to you i dont want to run a browser as root. any info appreciated.


--
"Oh good, my dog found the chainsaw."
        -Lilo
Adam Weinberger
adam@vectors.cx
http://www.crackula.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020711070727.GA59106>