Re: More firefox problems :(

jdixetn_at_oaxcdv.com
Date: 08/06/04


Date: Fri, 06 Aug 2004 15:05:28 GMT


|I then opened a shell and ran it, which is when I got the GTK error. Doing
|the xhost bit and running Firefox a couple more times eventually got it
|working...

I ran into the problem again with the tarball today and here's how I
solved it. It's something to do with the initial run of the installer as
well as the initial run of the browser not being able to get the
authentication cookies through konsole.

First unpack the installer tarball:

        cd /tmp
        tar zxvf wherever/firefox-0.9.3-i686-linux-gtk2+xft-installer.tar.gz
        cd firefox-installer

Although normally the installer is run as root to be able to create the
installation directory, the safer way is run it as yourself, but first
creating the destination directory owned by you. You can later chown it
back to root.

        su
        mkdir /opt/firefox
        chown -R you.users /opt/firefox
        exit

Now here's the key step. Apparently it isn't enough to have DISPLAY set.
Even though other X apps will start fine from a konsole, for some
reason, konsole will not allow the installer to get the authentication
cookie it needs. I have not had the problem with xterm. Instead, run the
installer from the Run box at the bottom of the screen. Type this into
the box:

        /tmp/firefox-installer/firefox-installer

Alternatively, grab the cookie you need before running in konsole.

        xauth merge ~/.Xauthority
        ./firefox-installer

You should get the installer dialog and you can install in /opt/firefox.
When that has finished, it will start the first run of firefox for the
global settings. Exit that then change the ownership of the files to
root.

        su
        chown -R root.root /opt/firefox
        exit

As a user you should also do a first run of firefox. Again the same
problem with the authentication cookie will happen. Same workaround
applies, run it from the Run box or grab the cookie (it should still be
available from above). But after the first run, it won't have this
problem anymore.

Then you can set up a short cut on the desktop to /opt/firefox/firefox.
You can find the icon in chrome/icons/default/default.xpm. Don't forget
to reinstall any plugins such as java, flash or mozilla calendar that
you were using. You might be able to copy them over from the previous
version's directory.

-- 


Relevant Pages

  • Re: More firefox problems :(
    ... >|the xhost bit and running Firefox a couple more times eventually got it ... It's something to do with the initial run of the installer as ... >authentication cookies through konsole. ...
    (alt.os.linux.suse)
  • Re: How do I start Firefox
    ... I wrongly presumed Linux ... If you could guide me to a location in the file system that I ... I don't normally use an installer for the likes of firefox. ...
    (comp.os.linux.misc)
  • Re: [SLE] SUSE 10.0 Sound problems with Firefox
    ... I guess they figured out that Linux users were a lot smarter than Windows users and stopped providing the installer version for Linux. ... I don't know if this is a typo or deliberate and whether this makes a difference to the problem but the name of the extracted directory from the tar.gz file is 'firefox' and not 'Firefox'. ... I don't use TeamSpeak so cannot comment on what it uses but I have just started the tar.gz version of Firefox and also the RPM version as installed by SUSE and both are using /dev/dsp. ... If I define mplayer for example, in mozilla.org version of Firefox, it will execute mplayer, and play the video with sound. ...
    (SuSE)
  • Re: VC#, displaying ads?
    ... The strange thing is I haven't noticed it occur with any other web pages, ... AFAIK, the dev tools do not have any sort of adware installed, and I ... your machine that targets FireFox. ... Records, Caphyon Installer, and Google Mail... ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Firefox 1.0.7 takes 100% CPU [was: Re: Firefox 1.5 very high load]
    ... >>> I've installed Firefox 1.5 from Mozilla's FF installer not ... my CPU load goes to 70-80%. ... > Firefox 1.0.7, and I don't experience that problem there. ... http://alf.unidu.hr/~ncake/gallery/:: Ubuntu Linux Community ...
    (Ubuntu)