Results 1 to 10 of 41

Thread: gconf-sanity-check-2 exited with status 256

Hybrid View

  1. #1
    Join Date
    Sep 2007
    Beans
    119
    Distro
    Ubuntu Jaunty Jackalope (testing)

    gconf-sanity-check-2 exited with status 256

    Hello, I'm using Intrepid right now, but I don't think this is actually version-related. When I try to start Gnome, an error message pops up ans says that "gconf-sanity-check-2 exited with status 256"
    Lxde runs fine, but several programs (firefox, any gnome program, etc) shows an error about the configuration.

    I already tried doing
    Code:
    sudo apt-get remove gconf2 gconf2-common
    Code:
    sudo rm -rf /etc/gconf
    (after doing a backup)
    Code:
    sudo apt-get install ubuntu-desktop
    but nothing changed. I read on launchpad (googling I found 1 result!!!) that a guy solved coping /etc/gconf from another installation.

  2. #2
    Join Date
    Sep 2007
    Beans
    119
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: gconf-sanity-check-2 exited with status 256

    Updates:

    if I launch it from terminal, I get an alert message:

    Please contact your system administrator to resolve the following problem:
    No configuration sources in the configuration file "/etc/gconf/2/path"; this means that preferences and other settings can't be saved. Error reading the file: Failed: Couldn't open path file `/etc/gconf/2/path': No such file or directory

    and on the terminal:

    Failed to load addresses to delete locks

  3. #3
    Join Date
    Sep 2008
    Beans
    15
    Distro
    Xubuntu Intrepid Ibex (testing)

    Re: gconf-sanity-check-2 exited with status 256

    I have the exact same problem on boot up. What are you loading in a terminal to get the error code?

    I tried loading gconf-configure but it doesn't spit any error codes out.

    I just get the "gconf-sanity-check-2 exited with status 256" when it first loads the desktop.

    There doesn't seem to be anything in the log files about the error, so I don't really know where to go from here.

    Btw, I am testing Intrepid.

  4. #4
    Join Date
    Sep 2008
    Beans
    15
    Distro
    Xubuntu Intrepid Ibex (testing)

    Re: gconf-sanity-check-2 exited with status 256

    Ok I solved this one by changing the permissions on one of the XML files in the /etc/gconf folder. I can't find the original text so I don't know which file it was.
    The file was the only one lacking group/other read/execute attributes. All the rest of the XML files had these attributes.

  5. #5
    Join Date
    Oct 2004
    Beans
    8

    Re: gconf-sanity-check-2 exited with status 256

    If anyone still has this issue it appears that this resolves it:

    sudo chmod 755 /etc/gconf/gconf.xml.system

    Thanks roadrun777 for pointing the way..

  6. #6
    Join Date
    May 2007
    Beans
    4,510
    Distro
    Ubuntu

    Re: gconf-sanity-check-2 exited with status 256

    Also try:
    mkdir -p /etc/gconf/gconf.xml.system; chmod 755 /etc/gconf/gconf.xml.system
    marv on #gnome suggested to try that.

  7. #7
    Join Date
    Jun 2006
    Location
    81mm mortar range of MS
    Beans
    346

    Exclamation Re: gconf-sanity-check-2 exited with status 256

    Quote Originally Posted by True View Post
    If anyone still has this issue it appears that this resolves it:

    sudo chmod 755 /etc/gconf/gconf.xml.system
    Nope. Didn't work for me! Still meed a solution.

  8. #8
    Join Date
    Sep 2007
    Location
    South Dakota
    Beans
    48
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: gconf-sanity-check-2 exited with status 256

    Excellent! This solved the issue in Karmic testing too! Thanks guys.

  9. #9
    Join Date
    Jul 2009
    Beans
    3
    Distro
    Ubuntu Karmic Koala (testing)

    Re: gconf-sanity-check-2 exited with status 256

    Apparently, this can also happen if the permissions of /home/USERNAME are wrong. I had to change the owner of this directory to myself to make it work.

    Code:
    sudo chmod -Rc USERNAME:USERNAME /home/USERNAME

Bookmarks

Posting Permissions

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