<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><blockquote type="cite" class="">Em 28/05/2015, à(s) 00:00, Brandon Allbery <<a href="mailto:allbery.b@gmail.com" class="">allbery.b@gmail.com</a>> escreveu:<br class=""><br class=""></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><blockquote type="cite" class="">On Wed, May 27, 2015 at 10:57 PM, Gustavo Seabra <<a href="mailto:gustavo.seabra@gmail.com" class="">gustavo.seabra@gmail.com</a>> wrote:</blockquote><blockquote type="cite" class="">OK, now I (think) I get it. One more question: What if I want Apple’s XQuartz instead? Which would be the appropriate command?</blockquote></blockquote><blockquote type="cite" class=""><br class="">The only way to do that is to reinstall the XQuartz package, since Apple's Installer stuff isn't very smart. (It doesn't even support uninstall, and attempts to use the Installer metadata to create uninstallers always run into problems because there isn't enough information saved to uninstall things properly.)<br class=""></blockquote><br class=""><div class="">OK, I tried that: </div><div class=""><br class=""></div><div class="">1. <span style="background-color: rgb(247, 247, 247);" class="">launchctl unload -w /Library/LaunchAgents/org.macosforge.xquartz.startx.plist</span></div><div class="">2. Reinstall XQuartz from <a href="http://xquartz.macosforge.org/landing/" class="">http://xquartz.macosforge.org/landing/</a></div><div class="">3. Reboot</div><div class=""><br class=""></div><div class="">I still get the same behavior:</div><div class=""><br class=""></div><div class="">From terminal.app:</div><div class=""><div style="margin: 0px; font-size: 14px; font-family: Menlo;" class="">~]$ xmgrace</div><div style="margin: 0px; font-size: 14px; font-family: Menlo;" class="">Can't open display</div><div style="margin: 0px; font-size: 14px; font-family: Menlo;" class="">Failed initializing GUI, exiting</div></div><div style="margin: 0px;" class=""><div style="font-size: 14px; font-family: Menlo; margin: 0px;" class="">$ echo $DISPLAY</div><div style="font-size: 14px; font-family: Menlo; margin: 0px; min-height: 16px;" class=""> (==> just a blank line)</div><div style="margin: 0px; min-height: 16px;" class=""><div style="font-size: 14px; font-family: Menlo; margin: 0px;" class="">~]$</div><div style="font-size: 14px; font-family: Menlo; margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class="">From XQuartz xterm application:</div><div style="margin: 0px;" class=""><div style="margin: 0px;" class=""><font face="Menlo" style="font-size: 14px;" class="">~]$ echo $DISPLAY</font></div><div style="margin: 0px;" class=""><font face="Menlo" style="font-size: 14px;" class="">:0</font></div><div class=""><font face="Menlo" style="font-size: 14px;" class="">~]$ xmgrace</font></div><div class=""><font face="Menlo" style="font-size: 14px;" class="">(opens Grace normally)</font></div><div class=""><br class=""></div><div class="">Did I miss any step?</div><div class="">Thanks,</div><div class="">Gustavo.</div><div class=""><br class=""></div></div></div></div></body></html>