Gimp-app not responding - broken X11?

Jeremy Huddleston jeremyhu at macports.org
Thu Apr 21 14:09:48 PDT 2011


Well startx isn't finding it (based on your syslog output).  You should investigate why this is:

4/21/11 8:50:45 PM    org.x.startx[50477]    /usr/X11/bin/startx: line 228: hostname: command not found

edit /usr/X11/bin/startx and put in some debug-foo around line 228...

On Apr 21, 2011, at 1:16 PM, Gabriele Kahlout wrote:

> $ which hostname
> /bin/hostname
> 
> $ echo $PATH
> /sw/bin:/sw/sbin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/Current/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/lib/:/usr/local/git/bin:/Applications/NetBeans/sges-v3/javadb/lib/derbytools.jar:/Applications/NetBeans/sges-v3/javadb/bin:/Applications/NetBeans/NetBeans
> Dev 201011100000.app/Contents/Resources/NetBeans/java/:/usr/X11R6/bin
> 
> 
> On Thu, Apr 21, 2011 at 10:08 PM, Kok-Yong Tan <ktan at realityartisans.com>wrote:
> 
>> What does "which hostname" return?  And what does "echo $PATH" return?
>> 
>> On Thu, Apr 21, 2011, at 15:54, Gabriele Kahlout wrote:
>> 
>> I had installed X11.
>> 
>> On Thu, Apr 21, 2011 at 9:47 PM, Kok-Yong Tan <ktan at realityartisans.com>wrote:
>> 
>>> Did you install X11 at all?  You didn't specify whether you did or not and
>>> it's usually an optional install when MacOS X is installed.  If you didn't,
>>> then your problems will likely be solved after you do.
>>> 
>>> On Thu, Apr 21, 2011, at 14:56, Gabriele Kahlout wrote:
>>> 
>>> $ sudo port install gimp-app
>>> Then I launch GIMP but it doesn't respond. Looking at the console logs
>>> I've the following. I suspect there's something wrong with X11 since the
>>> Window of it doesn't open.
>>> 
>>> Logs:
>>> 4/21/11 8:50:45 PM    defaults[50502]
>>> The domain/default pair of (org.x.X11, dpi) does not exist
>>> 4/21/11 8:50:45 PM    org.x.startx[50477]    /usr/X11/bin/startx: line
>>> 228: hostname: command not found
>>> 4/21/11 8:50:45 PM    org.x.startx[50477]    Couldn't create cookie
>>> 4/21/11 8:50:45 PM    com.apple.launchd.peruser.501[230]
>>> (org.x.startx[50477]) Exited with exit code: 1
>>> 4/21/11 8:50:45 PM    com.apple.launchd.peruser.501[230]    (org.x.startx)
>>> Throttling respawn: Will start in 10 seconds
>>> 4/21/11 8:50:45 PM    org.x.privileged_startx[471]    font_cache: Updating
>>> FC cache
>>> 4/21/11 8:50:48 PM    org.x.privileged_startx[471]    font_cache: Done
>>> 4/21/11 8:50:55 PM    org.x.startx[50605]    font_cache: Scanning user
>>> font directories to generate X11 font caches
>>> 4/21/11 8:50:55 PM    org.x.startx[50605]    font_cache: Updating FC cache
>>> 4/21/11 8:50:55 PM    org.x.privileged_startx[471]    font_cache: Scanning
>>> system font directories to generate X11 font caches
>>> 4/21/11 8:50:55 PM    defaults[50629]
>>> The domain/default pair of (org.x.X11, dpi) does not exist
>>> 4/21/11 8:50:55 PM    org.x.startx[50605]    /usr/X11/bin/startx: line
>>> 228: hostname: command not found
>>> 4/21/11 8:50:55 PM    org.x.startx[50605]    Couldn't create cookie
>>> 4/21/11 8:50:55 PM    com.apple.launchd.peruser.501[230]
>>> (org.x.startx[50605]) Exited with exit code: 1
>>> 4/21/11 8:50:55 PM    com.apple.launchd.peruser.501[230]    (org.x.startx)
>>> Throttling respawn: Will start in 10 seconds
>>> 4/21/11 8:50:56 PM    org.x.privileged_startx[471]    font_cache: Updating
>>> FC cache
>>> 4/21/11 8:50:58 PM    org.x.privileged_startx[471]    font_cache: Done
>>> 4/21/11 8:51:05 PM    org.x.startx[50733]    font_cache: Scanning user
>>> font directories to generate X11 font caches
>>> 4/21/11 8:51:05 PM    org.x.startx[50733]    font_cache: Updating FC cache
>>> 4/21/11 8:51:05 PM    org.x.privileged_startx[471]    font_cache: Scanning
>>> system font directories to generate X11 font caches
>>> 4/21/11 8:51:05 PM    defaults[50757]
>>> The domain/default pair of (org.x.X11, dpi) does not exist
>>> 
>>> --
>>> Regards,
>>> K. Gabriele
>>> 
>>> P.S. I'm not sure this is where I should seek help with this.
>>> 
>>> --- unchanged since 20/9/10 ---
>>> P.S. If the subject contains "[LON]" or the addressee acknowledges the
>>> receipt within 48 hours then I don't resend the email.
>>> subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧
>>> time(x) < Now + 48h) ⇒ ¬resend(I, this).
>>> 
>>> If an email is sent by a sender that is not a trusted contact or the email
>>> does not contain a valid code then the email is not received. A valid code
>>> starts with a hyphen and ends with "X".
>>> ∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈
>>> L(-[a-z]+[0-9]X)).
>>> 
>>> _______________________________________________
>>> macports-users mailing list
>>> macports-users at lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>>> 
>>> 
>>>     --
>>> Reality Artisans, Inc.             #   Network Wrangling and Delousing
>>> P.O. Box 565, Gracie Station       #   Apple Certified Consultant
>>> New York, NY 10028-0019            #   Apple Consultants Network member
>>> <http://www.realityartisans.com>   #   Apple Developer Connection member
>>> (212) 369-4876 (Voice)             #   My PGP public key can be found at <
>>> https://keyserver.pgp.com>
>>> 
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> macports-users mailing list
>>> macports-users at lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>>> 
>>> 
>> 
>> 
>> --
>> Regards,
>> K. Gabriele
>> 
>> --- unchanged since 20/9/10 ---
>> P.S. If the subject contains "[LON]" or the addressee acknowledges the
>> receipt within 48 hours then I don't resend the email.
>> subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧
>> time(x) < Now + 48h) ⇒ ¬resend(I, this).
>> 
>> If an email is sent by a sender that is not a trusted contact or the email
>> does not contain a valid code then the email is not received. A valid code
>> starts with a hyphen and ends with "X".
>> ∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈
>> L(-[a-z]+[0-9]X)).
>> 
>> 
>> --
>> Reality Artisans, Inc.             #   Network Wrangling and Delousing
>> P.O. Box 565, Gracie Station       #   Apple Certified Consultant
>> New York, NY 10028-0019            #   Apple Consultants Network member
>> <http://www.realityartisans.com>   #   Apple Developer Connection member
>> (212) 369-4876 (Voice)             #   My PGP public key can be found at <
>> https://keyserver.pgp.com>
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>> 
>> 
> 
> 
> -- 
> Regards,
> K. Gabriele
> 
> --- unchanged since 20/9/10 ---
> P.S. If the subject contains "[LON]" or the addressee acknowledges the
> receipt within 48 hours then I don't resend the email.
> subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧ time(x)
> < Now + 48h) ⇒ ¬resend(I, this).
> 
> If an email is sent by a sender that is not a trusted contact or the email
> does not contain a valid code then the email is not received. A valid code
> starts with a hyphen and ends with "X".
> ∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈
> L(-[a-z]+[0-9]X)).
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users



More information about the macports-users mailing list