Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
Hello all I'm trying upgrade Mozilla from 1.0 to either 1.2 or 1.3. After downloading it and extracting the tarball, I run the install script './mozilla-installer'. Here is the error ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2003
    Posts
    18

    Mozilla Install Script Doesn't Work


    Hello all

    I'm trying upgrade Mozilla from 1.0 to either 1.2 or 1.3. After downloading it and extracting the tarball, I run the install script './mozilla-installer'. Here is the error message I get:
    ------------------------------------------------- -
    Xlib: connection to ":0.0" refused by server
    Xlib: no protocol specified

    Gtk-WARNING **: cannot open display: :0.0
    --------------------------------------------------
    Oh, I'm running Suse8.1

    Does anyone know how to fix this?

    Thanks

  2. #2
    Linux Enthusiast
    Join Date
    Jun 2002
    Location
    San Antonio
    Posts
    621
    as the user running X you need to run "xhost +" to allow root to connect to your server
    I respectfully decline the invitation to join your delusion.

  3. #3
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    That shouldn't prove necessary. As long as the XAUTHORITY env var is set, root will also be able to access the xauth file. Anyway, try "xhost +" and see if it works anyway.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jan 2003
    Posts
    18

    Didn't work

    Hey guys

    "xhost +" didn't work here's the error:

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

    xhost: unable to open display ":0.0"

    I don't know what's going on. I'm relatively new to Linux, so this all new to me.

    Thanks for your help.

  6. #5
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    What are all the steps you perform in the installation process?

  7. #6
    Just Joined!
    Join Date
    Jan 2003
    Posts
    18
    OK

    I download the *.tar.gz file to the /usr/src folder as root. I extract it and follow the directions in the readme file. It basically says to extract it and run the install script( ./mozilla-installer). Then follow the instructions provided.

    That's all I do and I get the errors described above.

    Thanks again

  8. #7
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    How have you logged in?

  9. #8
    Just Joined!
    Join Date
    Jan 2003
    Posts
    18
    I logged in as myself and used "su" to get root privilege. The README file said you have to be root the first time you run Mozilla.

    If there is anything you guys can tell me, it is greatly appreciated.

  10. #9
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    That's just too strange...
    OK, anyway, try setting XAUTHORITY to <homedir>/.Xauthority, where <homedir> is the home directory of your normal user. Then run "export XAUTHORITY" (still before you run the installation script).

  11. #10
    Linux Enthusiast
    Join Date
    Jun 2002
    Location
    San Antonio
    Posts
    621
    the problem was you tried to run "xhost +" as root, who doesn't have authority on that X server to do anything. Dolda's answer will work if you specify that XAUTHORITY=/home/user_who_is_running_x_session/.Xauthority . Also, if you do it my way, it just gives everyone the authority to connect to the server, instead of checking to see if they have a .Xauthority entry. (I think)
    I respectfully decline the invitation to join your delusion.

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •