• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: X11 does not launch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: X11 does not launch


  • Subject: Re: X11 does not launch
  • From: Jeremy Huddleston <email@hidden>
  • Date: Sun, 13 Sep 2009 18:10:21 -0700

Please respond on the list so others can see this info and jump in.

It looks to me like something's messed up with your login shell environment. Are you *SURE* you don't have something in ~/.login or / etc/csh.login that starts X11? That is the only thing diffrent between executing X11 and X11.bin...


On Sep 13, 2009, at 17:53, Florian Schmitzberger wrote:

Hi Jeremy,

Thank you.

Moving the .tcshrc file out of the way did not do anything obvious and I could not launch X11.

Following your suggestion, I did manage to start X11 2.4.0 from / Applications/Utilities/X11.app/Contents/MacOS/X11.bin from a terminal shell.

(but NOT from /Applications/Utilities/X11.app/Contents/MacOS/X11; again no messages are returned in the console for the latter).

Here are the messages I get:

---- Console system log file:
Sep 13 20:51:27 sch-schmitzberger-macbook org.x.startx[10474]: font_cache: Scanning user font directories to generate X11 font caches
Sep 13 20:51:27 sch-schmitzberger-macbook org.x.startx[10474]: font_cache: Updating FC cache
Sep 13 20:51:27 sch-schmitzberger-macbook org.x.privileged_startx [10209]: font_cache: Scanning system font directories to generate X11 font caches
Sep 13 20:51:27 sch-schmitzberger-macbook kernel[0]: encodings.dir/ rsrc: file access by '/rsrc' was deprecated in 10.4
Sep 13 20:51:27 sch-schmitzberger-macbook defaults[10504]: \nThe domain/default pair of (org.x.X11, dpi) does not exist
Sep 13 20:51:27 sch-schmitzberger-macbook org.x.startx[10474]: xauth: creating new authority file /Users/flo/.serverauth.10474
Sep 13 20:51:27 sch-schmitzberger-macbook org.x.startx[10474]: Xquartz: Handoff connection established (try 1 of 5) on fd 4, "/var/ tmp/tmp.0.9KKvMu". Sending message.
Sep 13 20:51:27 sch-schmitzberger-macbook org.x.startx[10474]: Xquartz: Message sent. Closing handoff fd.
Sep 13 20:51:27 sch-schmitzberger-macbook org.x.privileged_startx [10209]: font_cache: Updating FC cache
Sep 13 20:51:29 sch-schmitzberger-macbook org.x.startx[10474]: font_cache: Done
Sep 13 20:51:29 sch-schmitzberger-macbook org.x.privileged_startx [10209]: font_cache: Done
Sep 13 20:51:39 sch-schmitzberger-macbook Console[8930]: Error loading /Users/flo/Library/Contextual Menu Items/ GraphicConverterCMI.plugin/Contents/MacOS/GraphicConverterCMI: dlopen(/Users/flo/Library/Contextual Menu Items/ GraphicConverterCMI.plugin/Contents/MacOS/GraphicConverterCMI, 262): no suitable image found. Did find:\n /Users/flo/Library/Contextual Menu Items/GraphicConverterCMI.plugin/Contents/MacOS/ GraphicConverterCMI: mach-o, but wrong architecture
Sep 13 20:51:39 sch-schmitzberger-macbook Console[8930]: Cannot find function pointer GraphicConverterCMIFactory for factory E3F3BEA1-3194-11D9-87A7-000A95874F98 in CFBundle/CFPlugIn 0x1cc660 </ Users/flo/Library/Contextual Menu Items/GraphicConverterCMI.plugin> (bundle, not loaded)


---- message in the terminal shell

X11.app: main(): argc=1
argv[0] = ./X11.bin
Waiting for startup parameters via Mach IPC.
X11.app: Listening on socket for fd handoff: (3) /var/tmp/tmp. 0.FhdcN0
X11.app: Thread created for handoff. Returning success to tell caller to connect and push the fd.
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/flo/.serverauth.9206
X11.app: Received new $DISPLAY fd: 7 ... sleeping to allow xinitrc to catchup.
Xquartz starting:
X.Org X Server 1.5.3-apple14
Build Date: 20090812
(EE) XKB: Couldn't open rules file /usr/X11/share/X11/xkb/rules/base
(EE) XKB: No components provided for device Virtual core keyboard
(EE) XKB: Couldn't open rules file /usr/X11/share/X11/xkb/rules/base
(EE) XKB: No components provided for device keyboard
X11.app Handing off fd to server thread via DarwinListenOnOpenFD(7)
DarwinListenOnOpenFD: 7
Calling ListenOnOpenFD() for new fd: 7
X11.app: Launching /usr/X11/bin/xterm:
argv[0] = /bin/sh
argv[1] = -c
argv[2] = /usr/X11/bin/xterm
Warning: locale not supported by Xlib, locale set to C
Quitting Xquartz...
[sch-schmitzberger-macbook:X11.app/Contents/MacOS] flo% ./X11.bin
X11.app: main(): argc=1
argv[0] = ./X11.bin
Waiting for startup parameters via Mach IPC.
X11.app: Listening on socket for fd handoff: (3) /var/tmp/tmp. 0.fsxL6N
X11.app: Thread created for handoff. Returning success to tell caller to connect and push the fd.
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/flo/.serverauth.9928
X11.app: Received new $DISPLAY fd: 5 ... sleeping to allow xinitrc to catchup.
Xquartz starting:
X.Org X Server 1.5.3-apple14
Build Date: 20090812
(EE) XKB: Couldn't open rules file /usr/X11/share/X11/xkb/rules/base
(EE) XKB: No components provided for device Virtual core keyboard
(EE) XKB: Couldn't open rules file /usr/X11/share/X11/xkb/rules/base
(EE) XKB: No components provided for device keyboard
X11.app Handing off fd to server thread via DarwinListenOnOpenFD(5)
DarwinListenOnOpenFD: 5
Calling ListenOnOpenFD() for new fd: 5
X11.app: Launching /usr/X11/bin/xterm:
argv[0] = /bin/sh
argv[1] = -c
argv[2] = /usr/X11/bin/xterm
Warning: locale not supported by Xlib, locale set to C




On Sep 13, 2009, at 7:04 PM, Jeremy Huddleston wrote:


On Sep 13, 2009, at 11:34, Florian Schmitzberger wrote:

Dear Jeremy,

I just realized the systems log-file I pasted in must have been from corresponding to X11 launched from the new user account.

When I try to launch X11 from my user account nothing comes up at all in the systems log or console.app log. As I mentioned, this seems to happen with any X11 after version 2.3.1.

Any thoughts on this?

my guess is that you have something in your ~/.tschrc or ~/.login that uses X11. That's preventing X11 from starting. Try moving aside ~/.cshrc, ~/.login, and ~/.tcshrc ...


If nothing comes up in the system log, then X11.bin isn't even running. There should always be something printed when you start X11. One of the first things in main() is:

  fprintf(stderr, "X11.app: main(): argc=%d\n", argc);

so if nothing is printed to the system log, then something is very wrong. Please recheck your log.

If you still can't find something, run it from Terminal.app by executing:

/Applications/Utilities/X11.app/Contents/MacOS/X11

if that doesn't work, run:
/Applications/Utilities/X11.app/Contents/MacOS/X11.bin


----------------------------------------------------------- Florian Schmitzberger Biological Chemistry and Molecular Pharmacology Harvard Medical school 250 Longwood Avenue Boston, MA 02115, US Tel: 001 617 432 5602









_______________________________________________ Do not post admin requests to the list. They will be ignored. X11-users mailing list (email@hidden) This email sent to email@hidden
References: 
 >X11 does not launch (From: Florian Schmitzberger <email@hidden>)
 >Re: X11 does not launch (From: Jeremy Huddleston <email@hidden>)

  • Prev by Date: Re: X11 window appearance
  • Next by Date: Re: $SHELL
  • Previous by thread: Re: X11 does not launch
  • Next by thread: Fink problems on Mac 10.4
  • Index(es):
    • Date
    • Thread