Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > How To Relaunch Finder from CLI?

How To Relaunch Finder from CLI?
Thread Tools
Shuh
Fresh-Faced Recruit
Join Date: Sep 2002
Location: Louisiana
Status: Offline
Reply With Quote
Oct 28, 2002, 07:25 PM
 
Anyone know how to do this? I have someone who's Finder won't come online because it barfed on a Window-ID. It looks like the rest of the Window-manager may be up, because there is a desktop and a Dock, but no menu-bar or windows.
     
Paul McCann
Mac Enthusiast
Join Date: Nov 2001
Location: Adelaide, South Australia
Status: Offline
Reply With Quote
Oct 28, 2002, 08:38 PM
 
Hi Shuh,

Not sure if this is going to work remotely, but something as simple as

% open -a "Finder"

works fine. The remote difficulty would stem from WindowServer ownership gunk. Worth a try in any case.

Cheers,
Paul
     
iownacube
Fresh-Faced Recruit
Join Date: Oct 2002
Location: Berkeley, CA
Status: Offline
Reply With Quote
Oct 28, 2002, 09:25 PM
 
hi everyone,

I'm the person Shuh is trying to assist.

Paul, I used open -a "Finder" it doesn't do anything, it doesn't give an error, doesn't say can't open, so I'm assumingit did something, but it doesn't get my finder back...

I repaired the disk using OS 9 and Tech Tool Pro, Disk Utility didn't repair the allocation problem, nor would fsck -y in single user mode....still, after rebooting, nothing worked....I also tried doing the safe boot, but that didn't do anything either....someone please tell me I'm not the only person in the world to have this happen???
     
Mactoid
Grizzled Veteran
Join Date: Sep 2000
Location: Springfield, MA
Status: Offline
Reply With Quote
Oct 28, 2002, 11:21 PM
 
What did the OP mean by the Finder barfed on a WindowID? What is meant by window ID, and how do you know that's what happened?

Just a note though, I'm not sure it's really the Finder causing your problems. The Menubar is not handled by the Finder, it is handled by the Window Server (I think).
We hope your rules and wisdom choke you / Now we are one in everlasting peace
-- Radiohead, Exit Music (for a film)
     
philzilla
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status: Offline
Reply With Quote
Oct 29, 2002, 11:48 AM
 
Originally posted by Mactoid:
Just a note though, I'm not sure it's really the Finder causing your problems. The Menubar is not handled by the Finder, it is handled by the Window Server (I think).
SystemUIServer is responsible for displaying the menubar. kill it, and it will restart automatically

type: ps ax | grep SystemUIServer

then kill the highest number
"Have sharp knives. Be creative. Cook to music" ~ maxelson
     
absmiths
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status: Offline
Reply With Quote
Oct 31, 2002, 12:37 PM
 
Is all this occurring after reboots, etc? If so, I would not expect killing and/or relaunching processes to fix anything. I would expect to do a reinstall at this point.
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 11:30 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,