» 您尚未登录:请 登录 | 注册 | 标签 | 帮助 | 小黑屋 |


发新话题
打印

[心得] X11怎么卸载?

posted by wap, platform: MAC OS X
Uninstall (Snow Leopard or Later)

XQuartz does not replace the system X11 on Snow Leopard, so you can go back to the Apple-provided X11.app rather easily. Just launch X11.app rather than XQuartz.app to get the older server. If you want to make Apple's X11.app the default server (owning the launchd $DISPLAY socket), then you should disable the org.macosforge.xquartz.startx.plist as described in the first question. After logging out and back in, Apple's X11.app will be default. If you still want to remove XQuartz.app from your system, you can do that with these two steps:
引用:
launchctl unload /Library/LaunchAgents/org.macosforge.xquartz.startx.plist
sudo launchctl unload /Library/LaunchDaemons/org.macosforge.xquartz.privileged_startx.plist
sudo rm -rf /opt/X11* /Library/Launch*/org.macosforge.xquartz.* /Applications/Utilities/XQuartz.app /etc/*paths.d/*XQuartz
sudo pkgutil --forget org.macosforge.xquartz.pkg
Please file a bug report to let us know why you reverted to the system X11.app, so we can address the problem in a future release.


本帖最近评分记录
  • jahaman 激骚 +6 精品文章 2015-8-21 21:58

TOP

posted by wap, platform: MAC OS X
如果是用brew cask安装的则直接brew cask uninstall xquartz即可,



TOP

发新话题
     
官方公众号及微博