2 votes

Comment corriger l'erreur "xvinfo : Unable to open display /private/tmp/.../org.macosforge.xquartz:0" ?

Je cours xvinfo et obtenir

xvinfo:  Unable to open display /private/tmp/com.apple.launchd.D2FFj2I3es/org.macosforge.xquartz:0

Je ne comprends pas. Il n'y a pas de correspondance précédente sur Google.

Quelque chose ne va pas avec X11.

La commande brew doctor donne

Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: Some directories in /usr/local/share/man aren't writable.
This can happen if you "sudo make install" software that isn't managed
by Homebrew. If a brew tries to add locale information to one of these
directories, then the install will fail during the link step.
You should probably `chown` them:

    /usr/local/share/man/de
    /usr/local/share/man/de/man1
    /usr/local/share/man/mann

Warning: Broken symlinks were found. Remove them with `brew prune`:
  /usr/local/share/ghostscript/9.07/Resource/Font/logo10.pfb
  /usr/local/share/ghostscript/9.07/Resource/Font/logo8.pfb
  /usr/local/share/ghostscript/9.07/Resource/Font/logo9.pfb
  /usr/local/share/ghostscript/9.07/Resource/Font/logobf10.pfb
  /usr/local/share/ghostscript/9.07/Resource/Font/logod10.pfb
  /usr/local/share/ghostscript/9.07/Resource/Font/logosl10.pfb
  /usr/local/share/ghostscript/9.07/Resource/Font/logosl8.pfb
  /usr/local/share/ghostscript/9.07/Resource/Font/logosl9.pfb
  /usr/local/share/ghostscript/9.07/Resource/Font/manfnt.pfb
  /usr/local/share/ghostscript/9.07/Resource/Font/wasy10.pfb
  /usr/local/share/ghostscript/9.07/Resource/Font/wasy5.pfb
  /usr/local/share/ghostscript/9.07/Resource/Font/wasy6.pfb
  /usr/local/share/ghostscript/9.07/Resource/Font/wasy7.pfb
  /usr/local/share/ghostscript/9.07/Resource/Font/wasy8.pfb
  /usr/local/share/ghostscript/9.07/Resource/Font/wasy9.pfb
  /usr/local/share/ghostscript/9.07/Resource/Font/wasyb10.pfb
  /usr/local/share/ghostscript/9.10/Resource/Font/logo10.pfb
  /usr/local/share/ghostscript/9.10/Resource/Font/logo8.pfb
  /usr/local/share/ghostscript/9.10/Resource/Font/logo9.pfb
  /usr/local/share/ghostscript/9.10/Resource/Font/logobf10.pfb
  /usr/local/share/ghostscript/9.10/Resource/Font/logod10.pfb
  /usr/local/share/ghostscript/9.10/Resource/Font/logosl10.pfb
  /usr/local/share/ghostscript/9.10/Resource/Font/logosl8.pfb
  /usr/local/share/ghostscript/9.10/Resource/Font/logosl9.pfb
  /usr/local/share/ghostscript/9.10/Resource/Font/manfnt.pfb
  /usr/local/share/ghostscript/9.10/Resource/Font/wasy10.pfb
  /usr/local/share/ghostscript/9.10/Resource/Font/wasy5.pfb
  /usr/local/share/ghostscript/9.10/Resource/Font/wasy6.pfb
  /usr/local/share/ghostscript/9.10/Resource/Font/wasy7.pfb
  /usr/local/share/ghostscript/9.10/Resource/Font/wasy8.pfb
  /usr/local/share/ghostscript/9.10/Resource/Font/wasy9.pfb
  /usr/local/share/ghostscript/9.10/Resource/Font/wasyb10.pfb

Warning: Your XQuartz (2.7.5) is outdated
Please install XQuartz 2.7.7:
  https://xquartz.macosforge.org

Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
    /usr/local/lib/libtcl8.6.dylib
    /usr/local/lib/libtk8.6.dylib

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected header files:
    /usr/local/include/fakemysql.h
    /usr/local/include/fakepq.h
    /usr/local/include/fakesql.h
    /usr/local/include/itcl.h
    /usr/local/include/itcl2TclOO.h
    /usr/local/include/itclDecls.h
    /usr/local/include/itclInt.h
    /usr/local/include/itclIntDecls.h
    /usr/local/include/itclMigrate2TclCore.h
    /usr/local/include/itclTclIntStubsFcn.h
    /usr/local/include/mysqlStubs.h
    /usr/local/include/node/ares.h
    /usr/local/include/node/ares_version.h
    /usr/local/include/node/nameser.h
    /usr/local/include/node/node.h
    /usr/local/include/node/node_buffer.h
    /usr/local/include/node/node_internals.h
    /usr/local/include/node/node_object_wrap.h
    /usr/local/include/node/node_version.h
    /usr/local/include/node/openssl/opensslconf.h
    /usr/local/include/node/uv-private/ngx-queue.h
    /usr/local/include/node/uv-private/stdint-msvc2008.h
    /usr/local/include/node/uv-private/tree.h
    /usr/local/include/node/uv-private/uv-bsd.h
    /usr/local/include/node/uv-private/uv-darwin.h
    /usr/local/include/node/uv-private/uv-linux.h
    /usr/local/include/node/uv-private/uv-sunos.h
    /usr/local/include/node/uv-private/uv-unix.h
    /usr/local/include/node/uv-private/uv-win.h
    /usr/local/include/node/uv.h
    /usr/local/include/node/v8-debug.h
    /usr/local/include/node/v8-preparser.h
    /usr/local/include/node/v8-profiler.h
    /usr/local/include/node/v8-testing.h
    /usr/local/include/node/v8.h
    /usr/local/include/node/v8stdint.h
    /usr/local/include/node/zconf.h
    /usr/local/include/node/zlib.h
    /usr/local/include/odbcStubs.h
    /usr/local/include/pqStubs.h
    /usr/local/include/tcl.h
    /usr/local/include/tclDecls.h
    /usr/local/include/tclOO.h
    /usr/local/include/tclOODecls.h
    /usr/local/include/tclPlatDecls.h
    /usr/local/include/tclThread.h
    /usr/local/include/tclTomMath.h
    /usr/local/include/tclTomMathDecls.h
    /usr/local/include/tdbc.h
    /usr/local/include/tdbcDecls.h
    /usr/local/include/tdbcInt.h
    /usr/local/include/tk.h
    /usr/local/include/tkDecls.h
    /usr/local/include/tkPlatDecls.h

Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .pc files:
    /usr/local/lib/pkgconfig/tcl.pc
    /usr/local/lib/pkgconfig/tk.pc
    /usr/local/lib/pkgconfig/xml2po.pc

Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected static libraries:
    /usr/local/lib/libtclstub8.6.a
    /usr/local/lib/libtkstub8.6.a

Warning: Some installed formula are missing dependencies.
You should `brew install` the missing dependencies:

    brew install pcre

Run `brew missing` for more details.

Warning: /usr/bin occurs before /usr/local/bin
This means that system-provided programs will be used instead of those
provided by Homebrew. The following tools exist at both paths:

    2to3
    2to3-2.7
    easy_install
    easy_install-2.7
    idle
    idle2.7
    pydoc
    pydoc2.7
    python
    python-config
    python2.7
    python2.7-config
    pythonw
    pythonw2.7
    R
    Rscript
    smtpd.py
    smtpd2.7.py

Consider setting your PATH so that /usr/local/bin
occurs before /usr/bin. Here is a one-liner:
    echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.bash_profile

Dans $HOME/.bash_profile, j'ai export PATH=/usr/local/bin:/usr/bin:/opt/local/sbin mais echo $PATH donne /usr/bin:/usr/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/git/bin:/usr/texbin . Exécuter hash mais aucun changement dans $PATH. Probablement un problème de PATH.

Comment puis-je corriger cette erreur xvinfo dans Yosemite 10.10.3 ? Mon Macbook Air date de mi-2013.

2voto

shsteimer Points 8749

De la brew doctor sortie que vous avez postée, il y a deux choses que vous devez faire :

  1. Installez la dernière version de XQuartz :

    Warning: Your XQuartz (2.7.5) is outdated
    Please install XQuartz 2.7.7:
      https://xquartz.macosforge.org
  2. Assurez-vous que /usr/local/bin apparaît avant /usr/bin dans votre PATH pour que les utilitaires installés par Homebrew soient trouvés avant les versions par défaut des outils :

    Warning: /usr/bin occurs before /usr/local/bin
    This means that system-provided programs will be used instead of those
    provided by Homebrew. The following tools exist at both paths:
    
        2to3
        2to3-2.7
        easy_install
        easy_install-2.7
        idle
        idle2.7
        pydoc
        pydoc2.7
        python
        python-config
        python2.7
        python2.7-config
        pythonw
        pythonw2.7
        R
        Rscript
        smtpd.py
        smtpd2.7.py
    
    Consider setting your PATH so that /usr/local/bin
    occurs before /usr/bin. Here is a one-liner:
        echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.bash_profile

Vous pouvez faire le reste des choses recommandées dans brew doctor mais ces deux choses sont au coeur de votre problème.

LesApples.com

LesApples est une communauté de Apple où vous pouvez résoudre vos problèmes et vos doutes. Vous pouvez consulter les questions des autres utilisateurs d'appareils Apple, poser vos propres questions ou résoudre celles des autres.

Powered by:

X