You are not logged in.

#1 2008-03-19 03:18:02

SWcarlos
Member
Registered: 2008-03-19
Posts: 6

[Solved] Cannot start firefox nor man pages without root acount.

Hi all,
when i try to start firefox with a normal user account, it doesn't start, but if i do sudo firefox
it do starts.
The same happens with the man pages, if i do man ls
returns "no hay ninugna pagina sobre ls", but if i do sudo man ls
the man page appears.

Can anyone offer suggestions? Is there information you need? Thanks in advance.

Last edited by SWcarlos (2008-05-25 21:18:23)

Offline

#2 2008-03-19 03:33:49

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [Solved] Cannot start firefox nor man pages without root acount.

Welcome to the forums.

Try this as root:

chmod 1777 /tmp

This was a common problem during a recent upgrade.

Offline

#3 2008-03-19 03:48:00

SWcarlos
Member
Registered: 2008-03-19
Posts: 6

Re: [Solved] Cannot start firefox nor man pages without root acount.

i did as root

chmod 1777 /tmp

but it doesn't work
any other idea?
thanks

Offline

#4 2008-03-19 04:10:00

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: [Solved] Cannot start firefox nor man pages without root acount.

Check your /etc/profile (also /etc/profile.pacnew). MANPATH has been recently updated.
Likewise, check that firefox is in your path - that can also be related to /etc/profile.d/* files.

Offline

#5 2008-03-19 05:13:05

SWcarlos
Member
Registered: 2008-03-19
Posts: 6

Re: [Solved] Cannot start firefox nor man pages without root acount.

My current values in /etc/profile.d/mozilla-commons.sh are:
export PATH="${PATH}:/opt/mozilla/bin:/usr/bin"
i added :/usr/bin but there is no change, even if i comment that line, nothing changes

with MANPATH /usr/profile i have
export MANPATH="/usr/man:/usr/X11R6/man"
my manual pages are in /usr/man, but one more time even if i comment that line, nothing changes
sudo man ls -> the man page appears
man ls -> "no hay ninugna pagina sobre ls"
one thing i realized, is that before i made any changes, i try to man as normal user anything on /usr/man subfolders, and that man pages do appear, both sudo and normal user.
but ls vi sudo and other man pages only appear as root.

Last edited by SWcarlos (2008-03-19 05:14:38)

Offline

#6 2008-03-19 10:47:30

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: [Solved] Cannot start firefox nor man pages without root acount.

the new /etc/profile has unset MANPATH in order for man to take care of it


I need real, proper pen and paper for this.

Offline

#7 2008-03-19 11:47:27

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,094

Re: [Solved] Cannot start firefox nor man pages without root acount.

$ mv /etc/profile.pacnew /etc/profile

Log out/in and everything shoud be fine


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#8 2008-03-19 16:37:05

SWcarlos
Member
Registered: 2008-03-19
Posts: 6

Re: [Solved] Cannot start firefox nor man pages without root acount.

hey! thanks every body!
i just did

mv /etc/profile.pacnew /etc/profile

then i logged out/in, and the man pages finally works well!

but i still can't open firefox as normal user. Any idea about this?

Offline

#9 2008-03-22 15:36:36

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,094

Re: [Solved] Cannot start firefox nor man pages without root acount.

Do you get any errors when you run it from a terminal? Also double check that /tmp is drwxrwxrwt (1777)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#10 2008-03-23 13:49:10

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: [Solved] Cannot start firefox nor man pages without root acount.

As long as the binary is 755 anybody can execute (run) it. May have something to do with the shell itself.


I need real, proper pen and paper for this.

Offline

#11 2008-05-16 09:34:37

sniffles
Member
Registered: 2008-01-23
Posts: 275

Re: [Solved] Cannot start firefox nor man pages without root acount.

schivmeister wrote:

As long as the binary is 755 anybody can execute (run) it. May have something to do with the shell itself.

Execute it, sure. Work? Maybe. 755 on the binary isn't enough if the binary needs to use some files/directories which the user does not have access to.

Offline

#12 2008-05-25 21:16:05

SWcarlos
Member
Registered: 2008-03-19
Posts: 6

Re: [Solved] Cannot start firefox nor man pages without root acount.

hhehe, the probem with firefox, was solved in a very stupid way:
the ~/.mozilla was owned by the root user, so, i only had to change the owner rights to the normal user

sudo chown -R normal-user ~/.mozilla

thanks everybody tongue

Offline

Board footer

Powered by FluxBB