¿Cómo se corrige el error "xvinfo: No se puede abrir la pantalla /private/tmp/…/org.macosforge.xquartz:0"?

1

Ejecuto xvinfo y obtengo

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

No entiendo. No hay coincidencia de google anterior para ello.

Algo está mal con X11.

El comando brew doctor da

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

En $ HOME / .bash_profile, tengo export PATH=/usr/local/bin:/usr/bin:/opt/local/sbin pero echo $PATH da /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 . Ejecutando hash pero sin cambio en $ PATH. Probablemente, el problema de PATH.

¿Cómo puedo corregir este error xvinfo en Yosemite 10.10.3? El aire de mi Macbook es a mediados de 2013.

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

1 respuesta

2

De la salida brew doctor que publicaste hay dos cosas que debes hacer:

  1. Instala el último XQuartz:

    Warning: Your XQuartz (2.7.5) is outdated
    Please install XQuartz 2.7.7:
      https://xquartz.macosforge.org
    
  2. Asegúrese de que /usr/local/bin aparezca antes de /usr/bin en su PATH para que las utils instaladas en Homebrew se encuentren antes de las versiones predeterminadas de las herramientas:

    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
    

Puedes hacer el resto de las cosas recomendadas en brew doctor , pero esas dos cosas están en el corazón de tu problema.

    
respondido por el Ian C. 29.04.2015 - 22:45

Lea otras preguntas en las etiquetas