Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
firefox only starts up as root (SOLVED)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
jorgepeixoto
Apprentice
Apprentice


Joined: 27 Apr 2006
Posts: 218
Location: São José dos Campos, São Paulo, Brasil

PostPosted: Sat Jul 01, 2006 2:18 am    Post subject: firefox only starts up as root (SOLVED) Reply with quote

typing "firefox" in a terminal does nothing; the program returns in less than one second, returns SUCCESS, but firefox does not show up. I don't even see error messages.
Running it as root (what I'm doing now) works normally.
my version of firefox is mozilla-firefox-bin 1.5.0.4

I don't know if there is a connection, but revdep-rebuild says that there is a problem with openoffice-bin and gcc:

broken /usr/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/_bsddb.so (requires libdb-3.1.so)
broken /usr/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/_ssl.so (requires libcrypto.so.0.9.6 libssl.so.0.9.6)
broken /usr/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/dbm.so (requires libgdbm.so.2)
broken /usr/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/gdbm.so (requires libgdbm.so.2)
broken /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/lib-org-w3c-dom.la (requires /usr/lib/libgcj.la)
broken /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/lib-org-xml-sax.la (requires /usr/lib/libgcj.la)
done.



But when revdep-rebuild reemerges gcc and openoffice-bin, the problem persists (I've done it three times).


Last edited by jorgepeixoto on Sat Aug 05, 2006 4:45 am; edited 1 time in total
Back to top
View user's profile Send private message
Valkura
Apprentice
Apprentice


Joined: 27 Feb 2006
Posts: 242
Location: Ramsey, MN

PostPosted: Sat Jul 01, 2006 2:29 am    Post subject: Reply with quote

Are the permissions to firefox set correctly?
_________________
last.fm
SFH, because it's awesome
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Sat Jul 01, 2006 5:35 am    Post subject: Reply with quote

Revdep-rebuild will alwyas show problems with binary packages, so that is most likely why openoffice is on your list (assuming you installed openoffice-bin).

The gcc error is more interesting though. Did you actually run revdep-rebuild and emerge gcc again? Prehaps that is why firefox is bombing out on you. After the gcc emerge re-emerge firefox again.

Hopefully this will fix the problem, but if not at least you eliminate it as a possibility.

BTW - have you set any odd CFLAGS or USE variables?
Back to top
View user's profile Send private message
jorgepeixoto
Apprentice
Apprentice


Joined: 27 Apr 2006
Posts: 218
Location: São José dos Campos, São Paulo, Brasil

PostPosted: Sat Jul 01, 2006 9:29 pm    Post subject: Still does not work Reply with quote

I've built gcc for the 4th time. And revdep-rebuild still complains.
Anyway, this is probably a searate problem, since I did not compile Firefox (I installed Firefox-bin).
Some information that might be useful:
make.conf:
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="3dnow 3dnowext 7zip Xaw3d aac aotuv bzip2 emacs firefox gcj gnuplot gprof
lesstif libcaca lirc matroska mmx mmxext nsplugin offensive pdf psyco rtc
sse symlink tcltk theora usb v4l2 win32codecs x264 -apm -arts -avi
-berkdb -bitmap-fonts -cli -crypt -cups -eds -emboss -esd -foomaticdb
-gdbm -gnome -isdnlog -kde -libg++ -motif -nls -oss -qt -reflection -spl
-xmms"
GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/ http://gentoo.localhost.net.ar/ http://gentoo.osuosl.org/ http://mirrors.usu.edu/mirrors/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
#SYNC="rsync://rsync.gentoo.org/gentoo-portage"
#eu alternei os comentarios das duas linhas acima em 21/06/2006
#LIRC_OPTS="--with-driver=pixelview_pro"
#LIRC_OPTS="--with-driver=pixelview_bt878"
LIRC_DEVICES="pixelview_bt878"
VIDEO_CARDS="nv"
FEATURES="parallel-fetch"

package.keywords:

net-www/gnash ~x86
~sys-kernel/gentoo-sources-2.6.17 ~x86
app-editors/emacs-cvs ~x86
sci-libs/scipy ~x86
net-im/ekiga ~x86
net-www/mozplugger ~x86
media-video/ffmpeg2theora ~x86
media-libs/libtheora ~x86
dev-python/numpy ~x86
net-libs/opal ~x86
dev-libs/pwlib ~x86
app-doc/gimp-help ~x86
sci-libs/blas-atlas ~x86
sci-libs/lapack-atlas ~x86
app-misc/lirc ~x86
app-dicts/aspell-pt ~x86
app-dicts/aspell-en ~x86
app-text/aspell ~x86
app-dicts/myspell-pt ~x86
~x11-misc/xlockmore-5.21 ~x86
~sys-apps/file-4.17 ~x86
~sys-apps/baselayout-1.12.1 ~x86
sys-apps/portage ~x86
sys-apps/man ~x86
dev-python/pycrypto ~x86

x11-misc/util-macros ~x86
x11-proto/kbproto ~x86
x11-proto/xextproto ~x86
x11-proto/xf86bigfontproto ~x86
x11-proto/inputproto ~x86
x11-proto/xproto ~x86
x11-libs/libXau ~x86
x11-proto/bigreqsproto ~x86
x11-libs/libXdmcp ~x86
x11-proto/xcmiscproto ~x86
x11-libs/xtrans ~x86
x11-libs/libX11 ~x86
x11-libs/libICE ~x86
x11-libs/libSM ~x86
x11-libs/libXt ~x86
x11-libs/libXext ~x86
x11-libs/libXmu ~x86
x11-apps/xhost ~x86
x11-libs/libfontenc ~x86
x11-apps/mkfontscale ~x86
x11-apps/mkfontdir ~x86
media-fonts/ttf-bitstream-vera ~x86
x11-proto/scrnsaverproto ~x86
x11-libs/libXScrnSaver ~x86
x11-libs/libxkbfile ~x86
x11-apps/setxkbmap ~x86
x11-apps/xauth ~x86
x11-proto/fontsproto ~x86
x11-proto/fontcacheproto ~x86
x11-libs/libXfont ~x86
x11-apps/bdftopcf ~x86
media-fonts/font-util ~x86
media-fonts/encodings ~x86
media-fonts/font-adobe ~x86
media-fonts/font-alias ~x86
app-doc/xorg-docs ~x86
media-fonts/font-adobe-utopia-type1 ~x86
x11-proto/fixesproto ~x86
x11-libs/libXfixes ~x86
x11-proto/renderproto ~x86
x11-libs/libXrender ~x86
x11-libs/libXcursor ~x86
x11-proto/damageproto ~x86
x11-libs/libXdamage ~x86
x11-apps/xrdb ~x86
x11-wm/twm ~x86
x11-libs/libXft ~x86
x11-libs/libXpm ~x86
sys-apps/ed ~x86
x11-libs/libXaw ~x86
x11-apps/xclock ~x86
x11-apps/xinit ~x86
x11-proto/randrproto ~x86
x11-libs/libXrandr ~x86
x11-apps/xrandr ~x86
x11-misc/makedepend ~x86
x11-proto/xf86vidmodeproto ~x86
x11-proto/glproto ~x86
x11-proto/xf86driproto ~x86
x11-libs/libdrm ~x86
x11-libs/libXxf86vm ~x86
x11-libs/libXi ~x86
media-libs/mesa ~x86
virtual/glu ~x86
virtual/opengl ~x86
x11-apps/mesa-progs ~x86
x11-proto/xineramaproto ~x86
x11-libs/libXinerama ~x86
x11-apps/xmodmap ~x86
media-fonts/font-bh-type1 ~x86
x11-proto/xf86dgaproto ~x86
x11-libs/libXxf86dga ~x86
x11-proto/printproto ~x86
x11-libs/libXp ~x86
x11-proto/compositeproto ~x86
x11-libs/libXcomposite ~x86
x11-proto/xf86miscproto ~x86
x11-libs/libXxf86misc ~x86
x11-proto/trapproto ~x86
x11-proto/dmxproto ~x86
x11-libs/libxkbui ~x86
x11-proto/recordproto ~x86
x11-libs/libXtst ~x86
x11-libs/libdmx ~x86
x11-proto/resourceproto ~x86
x11-apps/iceauth ~x86
media-fonts/font-adobe-75dpi ~x86
x11-proto/xf86rushproto ~x86
media-fonts/font-misc-misc ~x86
media-fonts/font-cursor-misc ~x86
x11-libs/libXres ~x86
x11-proto/evieext ~x86
x11-apps/xkbcomp ~x86
x11-misc/xkeyboard-config ~x86
x11-misc/xbitmaps ~x86
x11-apps/rgb ~x86
x11-proto/videoproto ~x86
x11-libs/liblbxutil ~x86
x11-base/xorg-server ~x86
x11-drivers/xf86-input-evdev ~x86
x11-drivers/xf86-video-nv ~x86
x11-drivers/xf86-input-mouse ~x86
x11-drivers/xf86-input-keyboard ~x86
x11-libs/libXv ~x86
x11-base/xorg-x11 ~x86
Back to top
View user's profile Send private message
jorgepeixoto
Apprentice
Apprentice


Joined: 27 Apr 2006
Posts: 218
Location: São José dos Campos, São Paulo, Brasil

PostPosted: Sat Jul 01, 2006 9:36 pm    Post subject: Oh, Reply with quote

Somethings I fogot to mention:
- I have already tried to unmerge and reemerge firefox-bin;
- I have tried deleting ~/.mozilla/firefox/og9xvtgv.default/ (making first a backup, of course) so that Firefox would start a new profile. No luck.
- Because of Valkura sugestion, I've checked the permissions (even though there are many reasons for me to believe that this has nothing to do with permissions). The permisisons are ok, as you can see here:

jorge@jorge06 ~ $ ls -l /usr/bin/firefox* /usr/libexec/mozilla* /opt/firefox/firefox*
-rwxr-xr-x 1 root root 5247 2006-06-29 17:22 /opt/firefox/firefox
-rwxr-xr-x 1 root root 9942504 2006-06-29 17:22 /opt/firefox/firefox-bin
lrwxrwxrwx 1 root root 11 2006-06-29 17:22 /usr/bin/firefox -> firefox-bin
-rwxr-xr-x 1 root root 374 2006-06-29 17:22 /usr/bin/firefox-bin
-rwxr-xr-x 1 root root 19154 2006-06-29 19:02 /usr/libexec/mozilla-launcher
-rwxr-xr-x 1 root root 19154 2006-03-29 06:36 /usr/libexec/mozilla-launcher~
Back to top
View user's profile Send private message
jorgepeixoto
Apprentice
Apprentice


Joined: 27 Apr 2006
Posts: 218
Location: São José dos Campos, São Paulo, Brasil

PostPosted: Mon Jul 03, 2006 5:53 am    Post subject: It's working again! Reply with quote

I have deleted my .mozilla directory (after backing it up, of course), unmerged firefox, deleted /opt/firefox, performed a sudo updatedb, locate firefox (to make sure that there was no trace of firefox) and emerged firefox again. Now it works.

Then I copied my old profile to /root and started firefox as root

Guess what? The same problem again. But this time, Firefox doesn't start as root...

So there is something evil in my profile...

So I have not copied the old profile to my home. Instead, I copied only the bookmarks and reinstalled the extensions and redid the changes in the preferences.

Good. Problem solved.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum