Wie behebt man den Fehler „xvinfo: Anzeige /private/tmp/.../org.macosforge.xquartz:0 kann nicht geöffnet werden“?

Ich laufe xvinfound bekomme

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

Ich verstehe nicht. Kein vorheriger Google-Match dafür.

Etwas stimmt nicht mit X11.

Der Befehl brew doctorgibt

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 habe ich export PATH=/usr/local/bin:/usr/bin:/opt/local/sbinaber . Wird ausgeführt , aber keine Änderung in $PATH. Wahrscheinlich PATH-Problem.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/texbinhash

Wie kann ich diesen xvinfo-Fehler in Yosemite 10.10.3 beheben? Mein MacBook Air ist Mitte 2013.

hast du brew doctornach der Installation die Formel ausgeführt?
Ich würde dem guten brew doctorRat folgen und zuerst XQuartz aktualisieren.
Hier ist mein $PATHStand in meinem .bash_profile, laufenden Homebrew (ich habe meinen eigenen Behälter bei ~/bin, daher die angehängte Endung).export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:$HOME/bin
Entschuldigung, aber ich verstehe die Frage nicht. xvinfoist Teil von XQuartz. Es hat nichts damit zu tun xvid. xvidist nur eine Bibliothek zum Komprimieren und Dekomprimieren von Video- und Audiodateien. Was versuchst du zu erreichen? Nach allem, was Sie hier gepostet haben, sieht es so aus, als ob xvid erfolgreich installiert wird.
Problem jetzt gelöst! Das Beheben der Ratschläge des Brauarztes löste das Problem. Trotzdem habe ich es nicht geschafft, das PATH-Problem zu lösen. Ich habe Dateien .bashrc, .bash_profile und .profile, in denen Inhalte von .bashrc nach .bash_profile geleitet werden, wenn eine solche Datei existiert (und dies der Fall ist). Die Datei .profile ist fast leer.
@Masi Nein, Problem nicht gelöst. xvidund xvinfosind nicht verwandt. :) Außerdem ist es höflich, wenn dir jemand in einem Kommentar eine Lösung nennt, ihn zu bitten, seine Lösung als richtige Antwort zu posten, damit er Anerkennung dafür bekommt.
@IanC. Kann es, wenn er will. Ich wollte ihn nicht stören, weil er es zunächst nur als Kommentar schickt. Ich habe die Antwort gelöscht.

Antworten (1)

Von der brew doctorAusgabe, die Sie gepostet haben, gibt es zwei Dinge, die Sie tun sollten:

  1. Installieren Sie das neueste XQuartz:

    Warning: Your XQuartz (2.7.5) is outdated
    Please install XQuartz 2.7.7:
      https://xquartz.macosforge.org
    
  2. Stellen Sie sicher, /usr/local/bindass zuvor /usr/binin Ihrem PATHHomebrew installierte Dienstprogramme vor den Standardversionen der Tools gefunden werden:

    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
    

Sie können den Rest der in empfohlenen Dinge tun, brew doctoraber diese beiden Dinge sind der Kern Ihres Problems.

Ich würde auch /opt/local/sbin aus Ihrem Pfad entfernen, da dies Macports ist und das und Homebre nicht einfach zusammenarbeiten