All X11 apps are not available on Mac OSX Yosemite

Overview

All X11 applications were not available without my understanding. Since there are no Time Machine backups, I still need to fix this issue.

Environment

  • X11 newer than the system X11 is set to /opt

    .
  • Since some applications require symbolic links from /usr

    , I did this. (like Wireshark)
  • Since the stable 2.7.7 has forwarding bugs , I am currently using the unstable 2.7.8.

enter image description here enter image description here enter image description here

Trial

I tried to dump system calls with dtruss

. The following example is presented sudo dtruss xclock

. Other X11 application behaviors are similar to this. All X11 applications freeze after recvfrom

.

enter image description here

I tried it too ...

  • rm ~/.Xauthority

  • Reinstall the same version of X11

But it has nothing to do with it.

Sorry for the crossposting here in Japanese; no answers yet ...
Thank you.

+3


source to share


2 answers


The OS X installer removes symbolic links in / usr. The simplest solution is to simply reinstall XQuartz. This should cause them to be restored for things like Wireshark and the like that use an earlier system layout.

You can also run sudo /usr/libexec/x11-select /opt/X11

I recall a problem in poll (2) that we stumbled upon in libX11 and libxcb maybe 5 years ago that it reminds me. The rest of them are in libxcb configure.ac where we use select (2) instead of poll (2) for older OS X versions. The problem was they didn't support calling poll (2) on char devices, d just get EAGAIN ...



In your case, this doesn't seem like the case, but something is getting EAGAIN in recvfrom and apparently ignoring it instead of trying again. If you can figure out what the calling point for this recvfrom is (maybe in libxcb?) What would be a good next step.

To get some more data, can you feed the radar to http://bugreport.apple.com and enable xclock targeted sysdiagnose?

+2


source


Solved by setting DISPLAY=:0.0



0


source







All Articles