Osx Restart Spotlight


How to restart only the graphical side of OS X 14 comments Create New Account
Click here to return to the 'How to restart only the graphical side of OS X' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.

Mac devices are some of the most reliable ones on the planet. It is hard to see them crash or freeze, but as with anything, it can happen. Here we have listed a rundown of 8 common problems for Mac. Spotlight, Apple's selection-based search system, received a major facelift on Mac OS X Yosemite. Packed with dozens of new features, such as a central search window and increased app suggestions, the reworked Spotlight was a breath of fresh air. Click the menu on your Mac and select Restart. Step #2: Boot into macOS Recovery Mode Hold down Command + R on your keyboard immediately after your Mac begins to restart. Continue holding both keys until you see the Apple logo or a spinning globe.

This is silly. If the graphical side of the OS needs to be relaunched then a logout will suffice. The windowserver dies, and relaunches on logout. And your applications get quit cleanly.

This can be helpful if the GUI is locked up. How do you intend to logout when the keyboard and mouse don't respond?
If you can ssh in from another computer or your jailbroken iPhone you can restart the GUI WITHOUT rebooting.

When my GUI has died but I can still SSH in, I _want_ to reboot the whole system so I know there's no gremlins lurking. For this I use sudo reboot.

Logging out does not kill WindowServer. That's why logging out isn't sufficient to make the 'non-transparent menu bar' hint work; WindowServer lives on. (This is easy to see in Leopard's Activity Monitor when viewing all processes hierarchically: the system-wide occurrence of launchd owns windowserver, as well as one more instance of launchd for each logged-in user.) That's why we said this in MDJ/MWJ 2007.12.03, because we hadn't seen anyone else point this out.
I think you're thinking of loginwindow, which requires WindowServer to run (obviously, or it wouldn't be showing a window). Logging everyone out may relaunch loginwindow, but not WindowServer. You need to restart or, more daringly, quit WindowServer to get it to relaunch.

Maye it is true in leopard, which I do not have yet, that the windowserver lives on as a process on logout. On previous systems the logout relaunches windowserver ( with no other users logged in, of course). In which case mark this as a leopard fix. In the older systems the relaunch of the loginwindow *also* causes the windowserver to relaunch. The paradigm is : logout cleanly ( handled by loginwindow), loginwindow quits, windowserver sees the loginwindow go down, windowserver quits, launchd( or init in previous systems) relaunches loginwindow which tickles the windowserver to relaunch. Fairly clean. Similarly the loginwinodow will exit cleanly ( unlike other applications) when the windowserver dies.
The problem with killing the windowserver is that you may leave dummy processes around, as the windowserver is ( or was pre-leopard for what I know) the parent process of all applications which present GUI. A busy process writing to disk will still be writing to disk, but invisible, after the windowserver is killed. The new windowserver has it's own session which preious sessioned applications cannot connect to, so no windows.
Even *if* the windowserver can catch the interupt and kill it's process this is by no means the safest way of exiting. ( I understand there is a difference between kill -hup and kill -9 which is way more dangerous since it is a kill, not an interrupt) as the other applications will be killed, or interrupted, and may not quit correctly, if at all. Carbon applications will probably behave badly, for instance.
As for the guy who suggested I *read* the comment. The original comment about the translucent menu fix did not mention ssh, and in any case for the reasons I mention killing windowserver makes it a bad idea in all cases.

If I'm not mistaken is the same as and is two keystrokes shorter :-)
Restart

Yeah, but I find that HUP (= Hang UP) is much easier to understand and remember than some arbitrary number :). Having said that, if you know (and can remember) all the signal numbers then well done!

I've got a (mostly) unrelated comment/question. If the non-transparent menu bar stops being transparent, is there a way to make it semi-transparent again? (Not sure what happened to it, but it's solid again.)

When I used X11 window managers every day, sometimes the wm would get messed up and I didn't want to lose any windows or processes.

Within olvwm, I could send a -USR1 signal to the wm and it would restart itself (without losing anything).

Within dtwm (CDE's wm), I could send it a f.restart -noconfirm (using a little program called dtwmcmd), and the wm would restart itself (without losing anything).

Restart

Does anyone know whether OS X's wm has a restart function, like the ones that I've mentioned above, and whether we can switch consoles (or ssh in) and send it a signal/command that would gently restart it (without losing anything)?? Thanks; Larry.

I was also wondering about the hidden features of quartz-wm, I guess we only see that running when X11.app is running; Larry

All GUI client processes die when their WindowServer connection is broken.

Yes, but how do you even get to the Terminal if the GUI is completely locked up? I know in Linux we can Ctrl-Alt-F1/2/3/etc. to get a Terminal and shut down any processes, but don't see any such option in Mac OS X.

Osx Restart Spotlight Windows 7

you can always ssh from outside into your hung box.

Jitsi Meet is a fully encrypted, 100% open source video conferencing solution that you can use all day, every day, for free — with no account needed. What else can you do with Jitsi Meet? Share your desktop, presentations, and more Invite users to a conference via a simple, custom URL. Tmcnet.com @tmcnet. Italian Schools Using WeSchool Platform Based on 8×8’s Jitsi for Distance Learning. LangSciPress @LangSciPress. Somewhat unexpected, but we now run our own videoconferencing software, #Jitsi It is 100% privacy friendly, 100% open source and runs on. Jitsi on mobile – download our apps and start a meeting from anywhere. Hello, Slack fans! Very pleased to meet you! There's no need to create an account. Connect your calendar to view all your meetings in Jitsi Meet. Plus, add Jitsi meetings to your calendar and start them with one click. Connect your calendar. Jitsi as a Service. About jitsi meet.

Mac Restart Spotlight Indexing

I just now happened to find my laptop in this funky state and was able to ssh in from another machine and reset the window manager as you described. Thanks for posting this!