Come risolvere "xvinfo: impossibile aprire l'errore display /private/tmp/.../org.macosforge.xquartz:0"?

1

Eseguo xvinfo e ottieni

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

Non capisco. Nessun precedente match di google per questo.

Qualcosa non va con X11.

Il comando brew doctor fornisce

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

In $ HOME / .bash_profile, ho export PATH=/usr/local/bin:/usr/bin:/opt/local/sbin ma echo $PATH/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 . Esecuzione di hash ma nessuna modifica in $ PATH. Probabilmente, problema PATH.

Come posso correggere questo errore xvinfo in Yosemite 10.10.3? Il mio Macbook Air è a metà 2013.

    
posta Léo Léopold Hertz 준영 29.04.2015 - 21:26
fonte

1 risposta

2

Dall'output brew doctor che hai pubblicato ci sono due cose da fare:

  1. Installa l'ultimo XQuartz:

    Warning: Your XQuartz (2.7.5) is outdated
    Please install XQuartz 2.7.7:
      https://xquartz.macosforge.org
    
  2. Assicurati che /usr/local/bin venga visualizzato prima di /usr/bin nel tuo PATH , quindi i programmi di utilità installati in homebrew vengono trovati prima delle versioni predefinite degli strumenti:

    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
    

Puoi fare il resto delle cose raccomandate in brew doctor ma queste due cose sono al centro del tuo problema.

    
risposta data 29.04.2015 - 22:45
fonte

Leggi altre domande sui tag