Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Retrieve hidden X11 apps after Finder crashes' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Retrieve hidden X11 apps after Finder crashes
Authored by: jdv on Feb 21, '06 07:55:51AM
ps -ax | grep [q]uartz-wm | awk '{print $1}' | xargs kill -KILL
As far as I can see the following should do the same thing with a bit less typing:
killall -9 quartz-wm


[ Reply to This | # ]
Retrieve hidden X11 apps after Finder crashes
Authored by: Nem on Feb 21, '06 09:41:26AM

True, 'killall' will work, but it's sometimes nice to see how to do things on the command line. Also, if you use multiple UNIX systems, 'killall' isn't always there or is under a different name (under Solaris it's called 'pkill').

---
Nem W. Schlecht
http://geekmuse.net/



[ Reply to This | # ]
Retrieve hidden X11 apps after Finder crashes
Authored by: RickoKid on Feb 21, '06 02:45:19PM

True.

But how many people are running Finder on Solaris?

;o)



[ Reply to This | # ]
Retrieve hidden X11 apps after Finder crashes
Authored by: RickoKid on Feb 21, '06 02:43:22PM
Shouldn't you be able to use
killall -HUP quartz-wm
to just restart it without having to have the code autorestarting it?

Well I tried this and it just quit X11 all together ... so maybe not!

[ Reply to This | # ]
Retrieve hidden X11 apps after Finder crashes
Authored by: Nem on Feb 21, '06 03:59:11PM

Exactly. The way X11 usually works (on any system, not just Mac) is that it will continue to run as long as the "xinitrc" is running. Running "exec quartz-wm" overlays the memory taken up by xinitrc, but in essense, X11 still thinks its running. By killing quartz-wm, X11 thinks the xinitrc ended, and thus exits.

Again, for heavy X11 users, not a nice solution to have all of your apps (not just the ones that disappeared) to suddenly go away.

---
Nem W. Schlecht
http://geekmuse.net/



[ Reply to This | # ]