Hoje descobri que o X11.app não funciona mais no meu Mac. Não tenho certeza quando isso aconteceu. Eu acho que faz várias semanas desde a última vez que usei um aplicativo X11.
Por "não funciona mais", quero dizer, absolutamente nada . Se eu tentar rodar o X11.app diretamente, nada aparece no dock e não há mensagem de erro - é como se eu não o tivesse executado.
Se eu tentar executar um aplicativo X a partir do Terminal (por exemplo: xterm), ele fica suspenso para sempre. Eu suponho que ele esteja esperando o X11 ser iniciado.
Eu tentei reinstalar o X11 do DVD de instalação do Snow Leopard, e isso parece não ter tido nenhum efeito.
Atualizar
Eu tenho o MacPorts instalado e parece que xorg-server
pode ter sido
instalado. Eu tentei desinstalá-lo ...
port -u uninstall xorg xorg-server
... e reinstalando-o ...
port install xorg xorg-server
... mas de qualquer forma as coisas não funcionam.
Veja o que o /var/log/system.log
mostra quando o xorg do MacPorts é
instalado.
Dec 1 14:28:26 Stripy org.macports.X11.stub[51551]: Xquartz: bootstrap_look_up(): Unknown service name
Dec 1 14:28:27 Stripy org.macports.startx[51470]: waiting for X server to begin accepting connections
Dec 1 14:28:27 Stripy org.macports.startx[51470]: xinit: giving up
Dec 1 14:28:27 Stripy org.macports.startx[51470]: xinit: unable to connect to X server: Operation timed out
Dec 1 14:28:27 Stripy org.macports.startx[51470]: waiting for X server to begin accepting connections xinit: server error
Dec 1 14:28:27 Stripy org.macports.startx[51470]: waiting for X server to begin accepting connections
Dec 1 14:28:27 Stripy defaults[51670]: \nThe domain/default pair of (org.macports.X11, dpi) does not exist
Dec 1 14:28:27 Stripy org.macports.startx[51638]: xauth: file /Users/laurence/.serverauth.51639 does not exist
Dec 1 14:28:28 Stripy org.macports.startx[51638]:
Dec 1 14:28:28 Stripy org.macports.X11.stub[51723]: Xquartz: Unable to locate waiting server: org.macports.X11
Dec 1 14:28:28 Stripy org.macports.X11.stub[51727]: Xquartz: Starting X server: /Applications/MacPorts/X11.app/Contents/MacOS/X11 --listenonly
Dec 1 14:28:30 Stripy org.macports.startx[51638]: ^M
Dec 1 14:28:32 Stripy org.macports.startx[51638]: waiting for X server to begin accepting connections
Dec 1 14:28:48: --- last message repeated 8 times ---
Isso é repetido várias vezes (modulos de tempo e pids).
Aqui está o que parece quando o MacPorts xorg não está instalado.
Dec 1 14:55:32 Stripy defaults[64771]: \nThe domain/default pair of (org.macports.X11, dpi) does not exist
Dec 1 14:55:32 Stripy org.macports.startx[64737]: xauth: file /Users/laurence/.serverauth.64738 does not exist
Dec 1 14:55:32 Stripy org.macports.startx[64737]:·
Dec 1 14:55:32 Stripy org.macports.startx[64737]: xinit: unable to run server "/opt/local/bin/X": No such file or directory
Dec 1 14:55:32 Stripy org.macports.startx[64737]: Use the -- option, or make sure that /opt/local/bin is in your path and
Dec 1 14:55:32 Stripy org.macports.startx[64737]: that "/opt/local/bin/X" is a program or a link to the right type of server
Dec 1 14:55:32 Stripy org.macports.startx[64737]: for your display. Possible server names include:
Dec 1 14:55:32 Stripy org.macports.startx[64737]:·
Dec 1 14:55:32 Stripy org.macports.startx[64737]: Xquartz Mac OSX Quartz displays.
Dec 1 14:55:32 Stripy org.macports.startx[64737]: Xvfb Virtual frame buffer
Dec 1 14:55:32 Stripy org.macports.startx[64737]: Xfake kdrive-based virtual frame buffer
Dec 1 14:55:32 Stripy org.macports.startx[64737]: Xnest X server nested in a window on another X server
Dec 1 14:55:32 Stripy org.macports.startx[64737]: Xephyr kdrive-based nested X server
Dec 1 14:55:32 Stripy org.macports.startx[64737]: Xvnc X server accessed over VNC's RFB protocol
Dec 1 14:55:32 Stripy org.macports.startx[64737]: Xdmx Distributed Multi-head X server
Dec 1 14:55:32 Stripy org.macports.startx[64737]:·
Dec 1 14:55:34 Stripy org.macports.startx[64737]: xinit: giving up
Dec 1 14:55:34 Stripy org.macports.startx[64737]: xinit: unable to connect to X server: Connection refused
Dec 1 14:55:34 Stripy org.macports.startx[64737]: xinit: server error
Dec 1 14:55:34: --- last message repeated 1 time ---
Mais uma vez, isso se repete várias vezes.
Eu também tentei desinstalar o macports xorg
e depois instalar
XQuartz (e novamente, reiniciado para ter certeza). Corrida
Aplicações / Utilitários / XQuartz não funciona, nem tenta rodar
xterm
do Terminal, aqui está a saída de /var/log/system.log
com
essa configuração:
Dec 1 16:13:01 Stripy org.macosforge.xquartz.startx[343]: waiting for X server to begin accepting connections
Dec 1 16:13:01 Stripy org.macosforge.xquartz.X11.stub[400]: Xquartz: bootstrap_look_up(): Unknown service name
Dec 1 16:13:02 Stripy org.macosforge.xquartz.startx[343]: waiting for X server to begin accepting connections
Dec 1 16:13:02 Stripy org.macosforge.xquartz.startx[343]: /opt/X11/bin/xinit: giving up
Dec 1 16:13:02 Stripy org.macosforge.xquartz.startx[343]: /opt/X11/bin/xinit: unable to connect to X server: Operation timed out
Dec 1 16:13:02 Stripy org.macosforge.xquartz.startx[343]: waiting for X server to begin accepting connections /opt/X11/bin/xinit: server error
Dec 1 16:13:02 Stripy org.macosforge.xquartz.startx[343]: waiting for X server to begin accepting connections
Dec 1 16:13:02 Stripy defaults[544]: \nThe domain/default pair of (org.macosforge.xquartz.X11, dpi) does not exist
Dec 1 16:13:02 Stripy org.macosforge.xquartz.startx[510]: xauth: file /Users/laurence/.serverauth.511 does not exist
Dec 1 16:13:02 Stripy org.macosforge.xquartz.startx[510]:
Dec 1 16:13:02 Stripy org.macosforge.xquartz.X11.stub[588]: Xquartz: Unable to locate waiting server: org.macosforge.xquartz.X11
Dec 1 16:13:02 Stripy org.macosforge.xquartz.X11.stub[589]: Xquartz: Starting X server: /Applications/Utilities/XQuartz.app/Contents/MacOS/X11 --listenonly
Dec 1 16:13:03 Stripy login[619]: USER_PROCESS: 619 ttys000
Dec 1 16:13:04 Stripy org.macosforge.xquartz.startx[510]: ^M
Dec 1 16:13:06 Stripy org.macosforge.xquartz.startx[510]: waiting for X server to begin accepting connections
Dec 1 16:13:22: --- last message repeated 8 times ---
(Mais uma vez, repetindo.)
Eu tentei pesquisar algumas dessas mensagens e encontrei algumas
hits, mas sem soluções concretas.