On Thu, Feb 02, 2012 at 07:08:34AM -0800, Don deJuan wrote: > pgrep -P `pidof openbox` | xargs kill -s SIGTERM > sleep 5 > > it throws an error in regards to pgrep, I believe but it goes by so > quickly I can not read the whole thing. > > So not really sure whats going on but even though it does not work > 100% properly it gets passed locking up with a red screen or just > with a cursor. If I can sort this out further I will post back the > results and mark this solved. > > Thanks again for the help I have gotten so far. Actually it should be unrelated because afaict you're executing this command from a terminal emulator which is a child process of the process tree you're attempting to kill, which leads to a self-reference, which the kernel should handle okay. So, it likely says "broken pipe" or something that way? cheers! mar77i