XQuartz after installation help, apps gone

I have installed XQuartz about 3 times today, and removed twice with these commands in Terminal.app the regular terminal that came with Mavricks OS X.


REMOVE XQuartz

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



- Now I did that twice today, I bounceing around the idea of maybe building it from source my self from a newer version than was on the website that Apple directs you to, but I installed it anyway for a third time. Yet after logging out than back in. I noticed some of my apps on my dock had question marks. I quickly looked in launchPad and in my Applications Untility folder. All of them are gone. the disutility, activity montior, the terminal, etc are all gone.


- I don't know how to bring them back! Nor know how to remove XQuartz from its own terminal with these same commands, cause it isn't working. Also you can't even copy and paste in that terminal. I am afraid if I remove XQuartz than I certainly won't have anything displayed on my desktop and fear of having to reinstall my whole OS X again, which is a major burden and I just went through that last week.


Can someone help please, thanks

Mac mini, OS X Mavericks (10.9.1), Geforce 320M

Posted on Jan 25, 2014 2:14 AM

Reply
4 replies

Jan 25, 2014 4:11 PM in response to RichardShawnFaust

The most likely scenario is that you mistyped the above command and deleted the contents of /Applications/Utilities. I suggest you reinstall the OS.


But before you do anything further than that, why did you reinstall the OS last week? And why do you keep installing and removing XQuartz. Clearly, the goal now is to restore your system. Once you have that, I suggest starting a new thread and asking about what you are trying to accomplish and what is driving you to keep reinstalling software and operating systems.

Jan 26, 2014 2:20 AM in response to etresoft

Thanks for the reply. I already managed to fix my problem. The reason why I reinstalled my OS last week is cause I installed Fink Package Manager. During setup it asks you a few questions, and instead of using defaults. I made a build directory at ~./Build .Build and after all the questions it asked the setup was installing via terminal. So ilet it do its own thing not paying attention, when I noticed at one point, applications on my Dock had question marks, I look over at terminal, and I saw was rm and such. I never saw Fink do that during install. Soon I couldn't do anything, and cut the power. Afterwards I restarted tried to log in but it would flip out some error. I logged on as guest which was limited, and try seeing if anything was on my user account. But I couldn't even access the documents or anything.


- As for typing something wrong, as I stated I just would put eactly that stuff into terminal, I actually copy and pasted. During the install of XQuartz, at the same time I was compiling Python3.3, while and still my system was using usr/bin's Python2.7 and it still is cause I having changed the path to /sw yet. Am starting to think maybe it was some sort of script ran during the compiling, but maybe not.


- Remember though that the applications were there before I logged out after the XQuartz install, and weren't after XQuartz got loaded. I found none in finder, I wonder perhaps they got hidden with .Application.app or something like that, but am unsure if you can do that with apps.


- Someone in irc XQuartz chat channel finally got back to me last night and taught me a trick which brought my applications back from the dead. Usually I would erase my partition harddrive and reformat and start over with the install. I already made a back up copy of Mavricks installer to USB drive and used that and went and ahead and install with out erasing/reformating my disk. It just rewriten over the OS, placing what ever is missing back into place; yet it left what ever I had install with files, folders, applications, etc. So I didn't loose any information.


- I ran an antivirus check and am clear from anything that is able to be detected. So I have no idea how it happened. Am behind a firewall, running in stealth mode running on a wifi connection in the forest off a router. My remote desktop is password protected as well.


- The reason why I kept uninstalling XQuartz is cause am thinking about making my own build and compiling it. Am finding alot of software on Mac OS X and else where is kinda outta date in a way. When reading up on it, they use Mesa when building and installing the X11 currently the Mesa being used in X11 when building it is all the way back from 2007 and there is a new build of it; yet the other problem Mesa isn't actually all up to date either cause it is using OpenGL3.3, OpenGL is now at 4.4. You see where I am going. It is the same with many unix items that come bundled with OS X. They are all out-dated, and even package managers aren't even staying on top of anything. Really there has to be a better way to keep a system up to date with the software being develeop.

Jan 26, 2014 6:42 AM in response to RichardShawnFaust

There are a number of issues you are encountering that need some explanation.


First, I suggest using homebrew instead. For a long time, I was known around these parts as the most anti-package-manager zealot around. The reason is that people were continually having to rebuild their systems after trying to install some package manager like Fink. I have not seen any similar catastrophes from homebrew. If you are just learning UNIX, I still think it is a good idea to build these packages yourself so you knon how they work. At some point, building them will no longer seem like a challenge, but a waste of time. That is when you are ready for a package manager.


However, don't assume there is anything special or magic about package managers. Linux people will tell you they take care of everything. They are lying. I set up a new Linux server a few months ago, with only mainstream web server software, and I still had to edit source code.


That was good advice over IRC. I didn't know you were doing a clean install every time or I would have told you the same thing. OS X is not Linux. OS X is NOT based on BSD. If you are attempting something and it seems like a royal hassle, then ask about it. There is probably a much easier Mac way that you don't know about.


Case in point - you are running antivirus. Get rid of that junk.


Now, about old software - as I said before, the Mac isn't like other systems. It is "curated". If something isn't installed, there is a good reason. Do you really need the latest Python? And if you do need the latest Python, why are you worrying about something as ancient and decrepit as X11? I don't know the details about Mesa, but around 2007 the FSF came out with GPLv3. This was an explicitly anti-Apple license because it was designed to harm Apple's business model - and only Apple's. So if you see some tool on a Mac that is from an old, 2007 version, it is probably because it was an open source package that went GPLv3 and Apple can no longer include the latest version. The free software political activists see Apple as an existential threat - and they are right.

Jan 27, 2014 10:00 PM in response to etresoft

Am just trying to set up a good developer enviroment and play ground. I like to experiment with various things. Yeah I just got done researching more about X11, and how outdated such a thing is. I learned about Wayland, and saw Ubuntu is going to Mir.


When I look at new versions of software, I think about new fuctionality, and support that can better a system.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

XQuartz after installation help, apps gone

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.