Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Desktop Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th April 2006, 19:34
Wraithfire Wraithfire is offline
Member
 
Join Date: Mar 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Can't launch firefox

well i just tried to update to firefox 1.5.0.2 with disatrous results it seems. the install wouldn't work, so i removed it and re installed mozilla-firefox, but now that won't work if i try to launch firefox i get:
Xlib: connection to ":0.0" refused by server
Xlib: XDM authorization key matches an existing client!

and if i try to launch mozilla-firefox:
Xlib: connection to ":0.0" refused by server
Xlib: XDM authorization key matches an existing client!

(firefox-bin:3957): Gtk-WARNING **: cannot open display:

any idea what's going here?
Reply With Quote
Sponsored Links
  #2  
Old 18th April 2006, 20:34
Wraithfire Wraithfire is offline
Member
 
Join Date: Mar 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok now when i run mozilla-firefox from terminal i get this:
Extension System Warning: Failed to set up default extensions files probably because you do not have write privileges to this location. While you can run Firefox like this, it is recommended that you run it at least once with privileges that allow it to generate these initial files to improve start performance. Running from a disk image on MacOS X is not recommended.

But the screen is blank, and i can't seem to run it as root or sudo; when i try i get:

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(firefox-bin:4058): Gtk-WARNING **: cannot open display:
Reply With Quote
  #3  
Old 18th April 2006, 22:53
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Which distribution do you use? What exactly did you do to install Firefox and then remove it?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 18th April 2006, 23:04
Wraithfire Wraithfire is offline
Member
 
Join Date: Mar 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm running Debian sarge, i tried to install firefox 1.5 using backports:
apt-get -t Sarge-backports install firefox
immediately after this, firefox stopped working. I realize i didn't remove the mozilla firefox first, so i tried that:
apt-get remove mozilla-firefox
but firefox1.5 still wouldn't work, so i tried manually removing the 1.5 install by deleting:
/usr/lib/firefox
following a post i read online somewhere (lost the page)
I've reinstalled mozilla-firefox:
apt-get install mozilla-firefox
which was not working at first, but now gives the extension system warning i posted last time and is EXTREMELY slow.
Reply With Quote
  #5  
Old 18th April 2006, 23:24
Wraithfire Wraithfire is offline
Member
 
Join Date: Mar 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I ran this and thought i'd post it just in case it helps:

/usr/lib/firefox$ ldd firefox-bin
libmozjs.so => /usr/lib/libmozjs.so (0x00002af58bf44000)
libxpcom.so => /usr/lib/libxpcom.so (0x00002af58c0da000)
libxpcom_core.so => not found
libplds4.so => /usr/lib/libplds4.so (0x00002af58c2c1000)
libplc4.so => /usr/lib/libplc4.so (0x00002af58c3c5000)
libnspr4.so => /usr/lib/libnspr4.so (0x00002af58c4ca000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00002af58c606000)
libdl.so.2 => /lib/libdl.so.2 (0x00002af58c71b000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00002af58c81e000) libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00002af58cc23000) libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00002af58cdb4000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00002af58ced8000)
libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x00002af58cfee000)
libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x00002af58d0f6000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00002af58d202000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00002af58d345000) libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00002af58d47e000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00002af58d581000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x00002af58d707000)
libm.so.6 => /lib/libm.so.6 (0x00002af58d8e3000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00002af58da69000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00002af58db90000)
libsmime3.so => /usr/lib/libsmime3.so (0x00002af58dcb2000)
libssl3.so => /usr/lib/libssl3.so (0x00002af58dddc000)
libnss3.so => /usr/lib/libnss3.so (0x00002af58df01000)
libsoftokn3.so => /usr/lib/libsoftokn3.so (0x00002af58e084000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00002af58e209000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00002af58e312000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x00002af58e4a1000)
libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x00002af58e602000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x00002af58e70a000)
libxpcom_compat.so => /usr/lib/libxpcom_compat.so (0x00002af58e81c000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x00002af58e93e000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002af58eb1b000)
libc.so.6 => /lib/libc.so.6 (0x00002af58ec27000)
libXft.so.2 => /usr/lib/libXft.so.2 (0x00002af58ee66000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00002af58ef7a000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00002af58f0ba000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00002af58f1e4000)
/lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00002af58be2e000)
libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x00002af58f3d5000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x00002af58f4d8000)
libz.so.1 => /usr/lib/libz.so.1 (0x00002af58f5e0000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00002af58f6f5000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x00002af58f800000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x00002af58f90a000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00002af58fa24000)
Reply With Quote
  #6  
Old 19th April 2006, 10:38
Wraithfire Wraithfire is offline
Member
 
Join Date: Mar 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well i managed to get firefox 1.0 working again, so i this time i downloaded the firefox1.5 files from http://www.backports.org and i installed them, but it still won't work. i get these messages when i run from terminal :
wraithfire@Hellfury:~$ firefox
Segmentation fault
and :
Hellfury:/home/wraithfire# firefox
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(firefox-bin:3860): Gtk-WARNING **: cannot open display:
no i decided to ldd firefox-bin again, and so i [CODE} locate firefox-bin [/CODE] and it pointed me to the wrong directory, /usr/lib/mozilla-firefox/firefox-bin. after some searching i found that the correct path was /usr/lib/firefox/firefox-bin and i ldd it

libmozjs.so => /usr/lib/libmozjs.so (0x00002ac589610000)
libxpcom.so => /usr/lib/libxpcom.so (0x00002ac5897a6000)
libxpcom_core.so => not found
libplds4.so => /usr/lib/libplds4.so (0x00002ac58998d000)
libplc4.so => /usr/lib/libplc4.so (0x00002ac589a91000)
libnspr4.so => /usr/lib/libnspr4.so (0x00002ac589b96000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00002ac589cd2000)
libdl.so.2 => /lib/libdl.so.2 (0x00002ac589de7000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00002ac589eea000) libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00002ac58a2ef000) libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00002ac58a480000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00002ac58a5a4000)
libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x00002ac58a6ba000)
libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x00002ac58a7c2000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00002ac58a8ce000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00002ac58aa11000) libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00002ac58ab4a000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00002ac58ac4d000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x00002ac58add3000)
libm.so.6 => /lib/libm.so.6 (0x00002ac58afaf000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00002ac58b135000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00002ac58b25c000)
libsmime3.so => /usr/lib/libsmime3.so (0x00002ac58b37e000)
libssl3.so => /usr/lib/libssl3.so (0x00002ac58b4a8000)
libnss3.so => /usr/lib/libnss3.so (0x00002ac58b5cd000)
libsoftokn3.so => /usr/lib/libsoftokn3.so (0x00002ac58b750000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00002ac58b8d5000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00002ac58b9de000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x00002ac58bb6d000)
libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x00002ac58bcce000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x00002ac58bdd6000)
libxpcom_compat.so => /usr/lib/libxpcom_compat.so (0x00002ac58bee8000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x00002ac58c00a000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002ac58c1e7000)
libc.so.6 => /lib/libc.so.6 (0x00002ac58c2f3000)
libXft.so.2 => /usr/lib/libXft.so.2 (0x00002ac58c532000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00002ac58c646000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00002ac58c786000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00002ac58c8b0000)
/lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00002ac5894fa000)
libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x00002ac58caa1000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x00002ac58cba4000)
libz.so.1 => /usr/lib/libz.so.1 (0x00002ac58ccac000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00002ac58cdc1000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x00002ac58cecc000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x00002ac58cfd6000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00002ac58d0f0000)

libxpcom_core.so => not found

after some more searching i found libxpcom_core.so in /usr/lib/firefox :
chrome icons libsoftokn3.so searchplugins
components libmozjs.so libssl3.so xpcshell
defaults libnspr4.so libxpcom_compat.so xpicleanup
extensions libnss3.so libxpcom_core.so xpidl
firefox libnssckbi.so libxpcom.so xpt_dump
firefox-bin libplc4.so libxpistub.so xpt_link
firefox.cfg libplds4.so plugins
firefox-xremote-client libsmime3.so regxpcom
greprefs libsoftokn3.chk res

so it's there, do i need to make a link to this or something like that, and if i do, how do i do that?
Reply With Quote
  #7  
Old 19th April 2006, 14:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Quote:
Originally Posted by Wraithfire
so it's there, do i need to make a link to this or something like that, and if i do, how do i do that?
You can do it like this:
Code:
ln -s /usr/lib/firefox/libxpcom_core.so /usr/lib/firefox/firefox-bin
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 19th April 2006, 18:49
Wraithfire Wraithfire is offline
Member
 
Join Date: Mar 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
You can do it like this:
Code:
ln -s /usr/lib/firefox/libxpcom_core.so /usr/lib/firefox/firefox-bin
Well i made the link with this result:
wraithfire@Hellfury:~$ sudo ln -s /usr/lib/firefox/libxpcom_core.so /usr/lib/firefox/firefox-bin
Password:
ln: `/usr/lib/firefox/firefox-bin': File exists

and firefox still won't launch
Reply With Quote
  #9  
Old 19th April 2006, 21:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Then try this:
Code:
ln -s /usr/lib/firefox/libxpcom_core.so /usr/lib/firefox/firefox-bin/libxpcom_core.so
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #10  
Old 20th April 2006, 00:58
Wraithfire Wraithfire is offline
Member
 
Join Date: Mar 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Code:
 ln -s /usr/lib/firefox/libxpcom_core.so /usr/lib/firefox/firefox-bin/libxpcom_core.so
Done, and i get back:

ln: accessing `/usr/lib/firefox/firefox-bin/libxpcom_core.so': Not a directory

symlinks are kinda tricky it seems
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fail to open ISPConfig site: firefox 8182 BigB Installation/Configuration 100 31st March 2010 16:19
Can't access control panel through Firefox benbalbo Installation/Configuration 25 27th August 2008 08:55
Firefox Internet slow and dead mphayesuk Server Operation 0 8th November 2005 10:03


All times are GMT +2. The time now is 06:56.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.