yet another "GIMP won't start&qu...

2011-04-29
2013-05-15
  • Rich Downey
    Rich Downey
    2011-04-29

    Hi,

    I just downloaded GIMP 2.6.11 and it won't start.  I'm running OS 10.6.7 and my X11 launcher app is version 2.3.6.  What happens when I try to launch GIMP is the icon shows up in the dock, a basic GIMP menu appears in the menu bar, and that's it.  No splash screen, no X11 launch.  If I try to launch X11 manually via the launch app, the X11 icon bounces for a while in the dock and then disappears.

    I have reinstalled GIMP from my Snow Leopard DVD and I have run Software Update.  Thanks in advance for your help!  Message output from console follows (these messages keep coming even after I quit GIMP).

    -Rich

    Here are the messages from the console:

    4/28/11 9:31:00 PM .org.gimp.Gimp find: /Users/Rich/Library/Application Support/Gimp/help: No such file or directory
    4/28/11 9:31:00 PM defaults
    The domain/default pair of (org.x.X11, dpi) does not exist
    4/28/11 9:31:00 PM .org.gimp.Gimp 2011-04-28 21:31:00.574 defaults
    4/28/11 9:31:00 PM .org.gimp.Gimp The domain/default pair of (org.x.X11, dpi) does not exist
    4/28/11 9:31:03 PM org.x.startx font_cache: Scanning user font directories to generate X11 font caches
    4/28/11 9:31:03 PM org.x.startx font_cache: Updating FC cache
    4/28/11 9:31:03 PM org.x.privileged_startx font_cache: Scanning system font directories to generate X11 font caches
    4/28/11 9:31:03 PM defaults
    The domain/default pair of (org.x.X11, dpi) does not exist
    4/28/11 9:31:03 PM org.x.startx xauth:  creating new authority file /Users/Rich/.serverauth.187
    4/28/11 9:31:03 PM org.x.startx Xquartz: X11.app = /Applications/Utilities/X11.app/Contents/MacOS/X11
    4/28/11 9:31:03 PM org.x.startx Xquartz: Starting X server: /Applications/Utilities/X11.app/Contents/MacOS/X11 -listenonly
    4/28/11 9:31:03 PM org.x.startx launch_msg("CheckIn") IPC failure: Operation not permitted
    4/28/11 9:31:03 PM org.x.startx Xquartz: X11.app = /Applications/Utilities/X11.app/Contents/MacOS/X11
    4/28/11 9:31:03 PM org.x.startx Xquartz: Starting X server: /Applications/Utilities/X11.app/Contents/MacOS/X11 -listenonly

    <…a few dozen more iterations of this…>

    4/28/11 9:31:04 PM org.x.startx launch_msg("CheckIn") IPC failure: Operation not permitted
    4/28/11 9:31:04 PM org.x.privileged_startx font_cache: Updating FC cache
    4/28/11 9:31:04 PM org.x.startx Xquartz: X11.app = /Applications/Utilities/X11.app/Contents/MacOS/X11
    4/28/11 9:31:04 PM org.x.startx Xquartz: Starting X server: /Applications/Utilities/X11.app/Contents/MacOS/X11 -listenonly
    4/28/11 9:31:04 PM org.x.startx launch_msg("CheckIn") IPC failure: Operation not permitted

    <…another few dozen iterations of this…>

    4/28/11 9:31:05 PM org.x.startx waiting for X server to begin accepting connections
    4/28/11 9:31:05 PM org.x.startx launch_msg("CheckIn") IPC failure: Operation not permitted
    4/28/11 9:31:05 PM kernel Limiting closed port RST response from 281 to 250 packets per second
    4/28/11 9:31:05 PM org.x.startx Xquartz: X11.app = /Applications/Utilities/X11.app/Contents/MacOS/X11
    4/28/11 9:31:05 PM org.x.startx Xquartz: Starting X server: /Applications/Utilities/X11.app/Contents/MacOS/X11 -listenonly
    4/28/11 9:31:05 PM org.x.startx launch_msg("CheckIn") IPC failure: Operation not permitted

    <….and again…several dozen iterations of this….>

    4/28/11 9:31:06 PM org.x.startx Xquartz: Could not fork: Resource temporarily unavailable
    4/28/11 9:31:06 PM org.x.startx font_cache: Done
    4/28/11 9:31:06 PM org.x.startx .
    4/28/11 9:31:06 PM org.x.privileged_startx font_cache: Done
    4/28/11 9:31:07 PM org.x.startx .
    4/28/11 9:31:07 PM kernel Limiting closed port RST response from 461 to 250 packets per second
    4/28/11 9:31:08 PM org.x.startx .

    < etc. etc.>

    4/28/11 9:31:18 PM org.x.startx .
    4/28/11 9:31:18 PM kernel Limiting closed port RST response from 361 to 250 packets per second
    4/28/11 9:31:19 PM org.x.startx .
    4/28/11 9:31:20 PM org.x.startx .
    4/28/11 9:31:21 PM org.x.startx .
    4/28/11 9:31:22 PM org.x.startx .
    4/28/11 9:31:22 PM kernel Limiting closed port RST response from 304 to 250 packets per second
    4/28/11 9:31:23 PM org.x.startx .
    4/28/11 9:31:23 PM org.x.startx Xquartz: bootstrap_look_up(): Unknown service name

    <…about 20 of these…>

    4/28/11 9:31:24 PM org.x.startx Xquartz: bootstrap_look_up(): Unknown service name
    4/28/11 9:31:24 PM org.x.startx giving up.
    4/28/11 9:31:24 PM org.x.startx /usr/X11/bin/xinit:  Connection refused (errno 61):  unable to connect to X server
    4/28/11 9:31:24 PM org.x.startx waiting for X server to shut down
    4/28/11 9:31:24 PM kernel Limiting closed port RST response from 329 to 250 packets per second
    4/28/11 9:31:25 PM org.x.startx .
    4/28/11 9:31:34 PM org.x.startx .
    4/28/11 9:31:35 PM org.x.startx /usr/X11/bin/xinit:  X server slow to shut down, sending KILL signal.
    4/28/11 9:31:35 PM org.x.startx /usr/X11/bin/xinit:  No such process (errno 3):  Server error.

     
  • Rich Downey
    Rich Downey
    2011-04-29

    Sorry, forgot to mention I have deleted all the X11-related preference files I could find, and AFAIK I don't have anything xquartz-related on my system.  Also, I have the same problem on a test account on the same system.

     
  • It's very likely that you had X11 from the XQuartz project installed on your system, and by trying to delete the XQuartz version you've broken your X11 installation. I don't know how to fix this, and as you might already know, I don't give support for anything related to the XQuartz version of X11. Please ask the guys from the XQuartz project or have a look at some X11 specific mailing list or forum.

    If you want to know, why I'm so annoyed of XQuartz, here's why:

    First, X11 is a set of libraries and utilities that reside somewhere deep in your filesystem, in directories which you can't see in Finder, because they are essential to the operation system. A user should never do anything in those system directories.

    Second, X11 from XQuartz is _not_ a replacement for the X11 version Apple does ships with Snow Leopard. It's a development version, which may, from time to time, get included in the official Snow Leopard updates. So if you install XQuartz you will get two sets of X11 related tools, libraries and other stuff on your system.

    Third, if you are a developer and you want to build _any_ application on Mac OS X, you have to exactly define, what libraries your application should use, by exactly specifiying the directories where those libraries are. Since Apple's X11 and XQuartz's X11 are located in different directories (see above) I had to decide, which library set I should use for GIMP. I decide to use the Apple version, because it's hipped with the system.

    Now, if you try to delete XQuartz and don't know exactly what you're doing or don't even know, that you have two sets of X11 related stuff on your system, it's very likely that you delete libraries and other data, that are essential to Apple's X11.

    This is why I strongly recommend to never install any X11 related stuff from anywhere of the net. Never. It won't work, because GIMP uses Apple's X11.

    There are so many users out there, how see themselves as experts, they just ignore my advice and download X11 from the XQuartz project and after installing XQuartz's X11 they notice, that it won't work. As they are experts, they fix it by deleting everything they can find which has a "X" in it's filename and still wonder why it won't work. Now they know that it must be GIMP, which is blocking. They come here and try to tell me that GIMP is the cause of their problem, that they did everything I recommend and that, well, they delete a few days ago something they think was XQuartz.

    In some rare cases it might be that it's really Apple's X11 which might prevent GIMP from running, but in the last two years, I never heard of such an issue.

    So again, please try to get rid of XQaurtz's X11 by aksing the guys of the XQuartz project on how to do this without crashing your system and ask them what you have to do to get your system back up and running.
    Then install Apple's X11 from the SL installation DVD, run Software update, og out and in again. Done.

     
  • Rich Downey
    Rich Downey
    2011-04-30

    I found instructions to get rid of Xquartz at http://xquartz.macosforge.org/trac/wiki/X11-UsersFAQ.

    After logging out and back in, I had no trouble getting X11 to run, and GIMP as well.  Thanks!