Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save vitalymak/98a6a77fdee8928b264799c5db9dbd12 to your computer and use it in GitHub Desktop.
Save vitalymak/98a6a77fdee8928b264799c5db9dbd12 to your computer and use it in GitHub Desktop.
Uninstall XQuartz.app from OSX Yosemite
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
# Log out and log in
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment