Created
August 9, 2022 18:17
-
-
Save ewquon/38e35253fb20616af93ab41e1a03a4f1 to your computer and use it in GitHub Desktop.
uninstall XQuartz.app (OSX Catalina)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# based on https://gist.github.com/pwnsdx/d127873e24cef159d4d603accaf37ee4#file-gistfile1-txt | |
# | |
launchctl unload /Library/LaunchAgents/org.xquartz.startx.plist | |
sudo launchctl unload /Library/LaunchDaemons/org.xquartz.privileged_startx.plist | |
sudo rm -rf /opt/X11* /Library/Launch*/org.xquartz.* /Applications/Utilities/XQuartz.app /etc/*paths.d/*XQuartz | |
sudo pkgutil --forget org.xquartz.X11 | |
rm -rf ~/.serverauth* | |
rm -rf ~/.Xauthorit* | |
rm -rf ~/Library/Caches/org.xquartz.X11 | |
rm -rf ~/Library/Logs/X11 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment