You are not logged in.
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
Welcome to the forums.
Try this as root:
chmod 1777 /tmp
This was a common problem during a recent upgrade.
Offline
i did as root
chmod 1777 /tmp
but it doesn't work
any other idea?
thanks
Offline
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
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
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
$ 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
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
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
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
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
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
Offline