Gimp-app not responding - broken X11?

Gabriele Kahlout gabriele at mysimpatico.com
Thu Apr 21 22:48:04 PDT 2011


I tried to edit the script but I don't have read and write access to it,
only the system does. I've tried giving myself read and write access but
xcode won't still let me modify it. But through vim i modified it.

I don't know what debug_foo are you after? The line there reads:
"hostname=`hostname`".
I don't know why it says command not found from there.

$ hostname -f
Gabriele-Kahlouts-MacBook.local


$ /usr/X11/bin/startx ; exit;
font_cache: Scanning user font directories to generate X11 font caches
font_cache: Updating FC cache
xauth:  creating new authority file /Users/simpatico/.serverauth.35655

launch_msg("CheckIn") IPC failure: Operation not permitted
Xquartz: Unable to locate waiting server: org.x.X11
Xquartz: X11.app = /Applications/Utilities/X11.app/Contents/MacOS/X11
Xquartz: Starting X server:
/Applications/Utilities/X11.app/Contents/MacOS/X11 --listenonly
X11.app: main(): argc=2
    argv[0] = /Applications/Utilities/X11.app/Contents/MacOS/X11.bin
    argv[1] = --listenonly
Waiting for startup parameters via Mach IPC.
X11.app: No launchd socket handed off, unsetting DISPLAY
X11.app: do_start_x11_server(): argc=6
    argv[0] = /usr/X11/bin/X
    argv[1] = :0
    argv[2] = -nolisten
    argv[3] = tcp
    argv[4] = -auth
    argv[5] = /Users/simpatico/.serverauth.35655
Xquartz starting:
X.Org X Server 1.4.2-apple56
Build Date: 20100624
font_cache: Done
(EE) XKB: Couldn't open rules file /usr/X11/share/X11/xkb/rules/base
(EE) XKB: Couldn't open rules file /usr/X11/share/X11/xkb/rules/base



On Thu, Apr 21, 2011 at 11:09 PM, Jeremy Huddleston
<jeremyhu at macports.org>wrote:

> 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
>
>


-- 
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)).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110422/3dec8e26/attachment.html>


More information about the macports-users mailing list