Skip to content

The Eclectic Light Company

Macs & painting – 🦉 No AI content
Main navigation
  • Downloads
  • Freeware
  • M-series Macs
  • Mac Problems
  • Mac articles
  • Macs
  • Art
hoakley January 24, 2026 Macs, Technology

How could logging out help?

When something’s not working right, one of the most common and effective solutions is to restart your Mac. What happens next is the Mac shuts down and immediately restarts, going through the full boot process. That’s not quite the same as shutting down, leaving your Mac a minute or so, then starting up, what’s sometimes referred to as a cold boot. But neither of those may be necessary, as it may be just as effective to log out and log back in again.

Whether logging out might help is determined by the processes it would restart, something you can see in Activity Monitor. In its View menu select the My Processes command, switch to the CPU view and order those by % CPU. Those are being run on your behalf, with you as the user, they should be closed when you log out and started up again when you log back in. Change the View to All Processes, then order the list by User, and you’ll see that the majority of processes running are yours. If you need to restart processes running as root, or the likes of _windowserver, then only a restart will help.

This can sometimes fix problems with WindowServer, even though it isn’t normally shut down when you log out, neither is the troublemaker cfprefsd. Contrary to what you might expect, some user processes continue running uninterrupted even after you’ve logged out. However, in the recent past macOS itself has used user logout as a way to restart WindowServer without rebooting. In more recent versions of macOS, particularly on Apple silicon Macs, the only reliable way to fix WindowServer problems is by restarting the whole of macOS.

cfprefsd is a particular nuisance here, as there are normally both root and user copies running to handle all those preferences. You wouldn’t expect the root copy to be affected by logging out, but at least the user copy could have the decency to do so. This means that, if you’re trying to slip a manual change to a preference file past cfprefsd, a full restart is likely to be required.

Another useful clue as to what’s likely to be restarted by logging out and back in again is given in their Process ID. With Activity Monitor still showing All Processes, order them by PID.

At the top with PID 0 you’ll see kernel_task, followed by launchd with a PID of 1. Next you’re likely to see the logd service responsible for writing and maintaining the Unified log. On Intel Macs that’s likely to have a PID of around 96, while it’s higher on Apple silicon Macs at around 368. That’s because of the many hardware-related processes that are run during startup to initialise all the features built into the chip.

As these PIDs are assigned in simple numerical order, they reveal the sequence of process startup. Find WindowServer in the list, and it’ll generally have a PID of around 442 (166 on Intel). Not too far below it you should see the first user process, loginwindow, at about 445 (205 on Intel); that’s also the first process to be given its own icon at the start of the line. Processes with lower PIDs were all started before login, and those with higher PIDs, including some running as root, were started afterwards.

Many of those user processes, and many with PIDs greater than loginwindow, should be shut down when you log out, then be started up again as needed, when you log back in again. But if you try that and check PIDs again, and glance at the CPU Time column, it’s apparent that many user and other late-loading processes retain low PIDs and long CPU times. To refresh those a restart will be needed.

Normally, logging out and back in should only take a few seconds to complete. Because your Mac isn’t starting up from scratch, its Bluetooth remains working throughout, so there’s no frustrating delay before you can type your password in. With a bit of luck your Mac should then be back in fine fettle again, ready for you to resume work with the minimum of disruption.

What this doesn’t do, of course, is flush the caches and clean up any accumulated crud in your user account. For that, starting up in Safe mode remains the only solution. That’s a little less convenient on Apple silicon, where you have to shut down and start up in Recovery with the Power button held. Then select the startup disk you want your Mac to boot from, and hold the Shift key. The button underneath that disk icon then changes to read Continue in Safe Mode. Click on that and your Mac will restart into Safe mode. Although hardly onerous, if logging out and back in again does fix the problem, it will save you significant time.

Share this:

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook
  • Share on Reddit (Opens in new window) Reddit
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Threads (Opens in new window) Threads
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Email a link to a friend (Opens in new window) Email
  • Print (Opens in new window) Print
Like Loading...

Related

Posted in Macs, Technology and tagged Activity Monitor, log in, login, macOS, PID, root, users, WindowServer. Bookmark the permalink.

8Comments

Add yours
  1. 1
    Michele Galvagno's avatar
    Michele Galvagno on January 24, 2026 at 9:21 am
    Reply

    A wonderful resource, thank you!
    Would you explain — or have you already? — the difference between restarting and cold booting in real life? What advantages does that bring?

    LikeLiked by 2 people

    • 2
      Tony Collins's avatar
      Tony Collins on January 24, 2026 at 10:04 am
      Reply

      I’d like to second this question. On the surface, common sense tells me it makes no difference. But I’d really like to know if anyone knows of a material difference between the two types of restart

      LikeLiked by 2 people

      • 3
        hoakley's avatar
        hoakley on January 24, 2026 at 10:16 am
        Reply

        Hopefully I have answered that.
        Howard.

        LikeLike

    • 4
      hoakley's avatar
      hoakley on January 24, 2026 at 10:10 am
      Reply

      This is a theory, as I’ve never seen anyone demonstrate a difference in practice, that relies on the fact that memory and some components in Intel chipsets will retain some of their contents for several seconds after shutting down. So if you want to do a ‘thorough’ job, you should shut down, wait at least 10 seconds (although that’s even vaguer!), then start up.
      No one knows if that might apply to Apple silicon Macs. As pretty well all the parts of the SoC are booted afresh during normal startup, it seems hard to argue that this should make any difference there.
      Personally, I put it alongside the St Christopher charm and the lucky rabbit’s foot.
      Howard.

      LikeLiked by 2 people

  2. 5
    Enzo Vincenzo's avatar
    Enzo Vincenzo on January 24, 2026 at 9:34 am
    Reply

    Thanks, Howard. Putting myself in the shoes of a beginner attracted by your excellent article, I would like to take this opportunity to share a trick I use whenever my Mac freezes (fortunately rarely), provided I can still use the keyboard, with or without a physical connection to the Mac.
    First, I press CMD+SPACE to open the Spotlight window; then I type Terminal and press Enter.
    In the Terminal window, I type:
    sudo shutdown -h now
    I press Enter, enter my password, and the Mac shuts down immediately.
    You can also use
    sudo shutdown -r now
    if you want to restart directly instead of shutting down.
    Back in the days of Mac OS X, I also did this remotely, connecting to the locked Mac via the network, but I haven’t tried it since Yosemite and don’t know if it’s still possible using the network. I’d have to double-check because I can’t remember if I connected via SSH, TFTP, AFP or with some other method.

    LikeLiked by 2 people

    • 6
      Tony Collins's avatar
      Tony Collins on January 24, 2026 at 10:05 am
      Reply

      good tip. I think the “reboot” command does essentially the same thing and takes slightly less time to type. But I always forget about it

      LikeLiked by 2 people

    • 7
      hoakley's avatar
      hoakley on January 24, 2026 at 10:15 am
      Reply

      Thank you, Enzo.
      However, I’m not sure what you mean by ‘freezes’. It sounds like your old Macs were chilling but not quite frozen. On a frozen Mac, by definition, nothing changes on the display – not the clock, nor can you open windows or menus.
      Yes, you can remotely run over SSH the reboot or shutdown command. But to do that you have to allow others to connect to and control your Mac via SSH, and these days that’s considered unwise unless you have a very good reason.
      All recent and current Macs have a much better and more reliable way to shut them down – pressing and holding the Power button until they do so. That doesn’t involve any security risk, and is pretty well completely reliable too.
      Howard.

      LikeLiked by 2 people

      • 8
        Enzo Vincenzo's avatar
        Enzo Vincenzo on January 24, 2026 at 11:03 am
        Reply

        Thanks Howard! As always, you’re very helpful! I’ve always been afraid to shut down my Mac by holding down the power button until it turns off completely.
        I thought, in fact, this could corrupt files, important or not.
        But if you say that this is not dangerous, from now on I will use this method if necessary. Very thanks!
        Regarding freezing, I am referring to situations where I cannot do anything and the only thing possible is to do what I described in my previous post (but I repeat that this has not always been possible).

        LikeLiked by 1 person

Leave a comment Cancel reply

Quick Links

  • Free Software Menu
  • System Updates
  • M-series Macs
  • Mac Troubleshooting Summary
  • Mac problem-solving
  • Painting topics
  • Painting
  • Long Reads

Search

Monthly archives

  • January 2026 (55)
  • December 2025 (75)
  • November 2025 (74)
  • October 2025 (75)
  • September 2025 (78)
  • August 2025 (76)
  • July 2025 (77)
  • June 2025 (74)
  • May 2025 (76)
  • April 2025 (73)
  • March 2025 (78)
  • February 2025 (67)
  • January 2025 (75)
  • December 2024 (74)
  • November 2024 (73)
  • October 2024 (78)
  • September 2024 (77)
  • August 2024 (75)
  • July 2024 (77)
  • June 2024 (71)
  • May 2024 (79)
  • April 2024 (75)
  • March 2024 (81)
  • February 2024 (72)
  • January 2024 (78)
  • December 2023 (79)
  • November 2023 (74)
  • October 2023 (77)
  • September 2023 (77)
  • August 2023 (72)
  • July 2023 (79)
  • June 2023 (73)
  • May 2023 (79)
  • April 2023 (73)
  • March 2023 (76)
  • February 2023 (68)
  • January 2023 (74)
  • December 2022 (74)
  • November 2022 (72)
  • October 2022 (76)
  • September 2022 (72)
  • August 2022 (75)
  • July 2022 (76)
  • June 2022 (73)
  • May 2022 (76)
  • April 2022 (71)
  • March 2022 (77)
  • February 2022 (68)
  • January 2022 (77)
  • December 2021 (75)
  • November 2021 (72)
  • October 2021 (75)
  • September 2021 (76)
  • August 2021 (75)
  • July 2021 (75)
  • June 2021 (71)
  • May 2021 (80)
  • April 2021 (79)
  • March 2021 (77)
  • February 2021 (75)
  • January 2021 (75)
  • December 2020 (77)
  • November 2020 (84)
  • October 2020 (81)
  • September 2020 (79)
  • August 2020 (103)
  • July 2020 (81)
  • June 2020 (78)
  • May 2020 (78)
  • April 2020 (81)
  • March 2020 (86)
  • February 2020 (77)
  • January 2020 (86)
  • December 2019 (82)
  • November 2019 (74)
  • October 2019 (89)
  • September 2019 (80)
  • August 2019 (91)
  • July 2019 (95)
  • June 2019 (88)
  • May 2019 (91)
  • April 2019 (79)
  • March 2019 (78)
  • February 2019 (71)
  • January 2019 (69)
  • December 2018 (79)
  • November 2018 (71)
  • October 2018 (78)
  • September 2018 (76)
  • August 2018 (78)
  • July 2018 (76)
  • June 2018 (77)
  • May 2018 (71)
  • April 2018 (67)
  • March 2018 (73)
  • February 2018 (67)
  • January 2018 (83)
  • December 2017 (94)
  • November 2017 (73)
  • October 2017 (86)
  • September 2017 (92)
  • August 2017 (69)
  • July 2017 (81)
  • June 2017 (76)
  • May 2017 (90)
  • April 2017 (76)
  • March 2017 (79)
  • February 2017 (65)
  • January 2017 (76)
  • December 2016 (75)
  • November 2016 (68)
  • October 2016 (76)
  • September 2016 (78)
  • August 2016 (70)
  • July 2016 (74)
  • June 2016 (66)
  • May 2016 (71)
  • April 2016 (67)
  • March 2016 (71)
  • February 2016 (68)
  • January 2016 (90)
  • December 2015 (96)
  • November 2015 (103)
  • October 2015 (119)
  • September 2015 (115)
  • August 2015 (117)
  • July 2015 (117)
  • June 2015 (105)
  • May 2015 (111)
  • April 2015 (119)
  • March 2015 (69)
  • February 2015 (54)
  • January 2015 (39)

Tags

APFS Apple Apple silicon backup Big Sur Blake Bonnard bug Catalina Consolation Console Corinth Delacroix Disk Utility Doré El Capitan extended attributes Finder firmware Gatekeeper Gérôme High Sierra history of painting iCloud Impressionism landscape LockRattler log M1 Mac Mac history macOS macOS 10.12 macOS 10.13 macOS 10.14 macOS 10.15 macOS 11 macOS 12 macOS 13 macOS 14 macOS 15 malware Metamorphoses Mojave Monet Monterey Moreau myth narrative OS X Ovid painting performance Pissarro Poussin privacy Renoir riddle Rubens Sargent security Sierra SilentKnight Sonoma SSD Swift Time Machine Tintoretto Turner update upgrade Ventura xattr Xcode XProtect

Statistics

  • 21,272,930 hits
Blog at WordPress.com.
Footer navigation
  • Free Software Menu
  • About & Contact
  • Macs
  • Painting
  • Downloads
  • Mac problem-solving
  • Extended attributes (xattrs)
  • Painting topics
  • SilentKnight, Skint, SystHist, silnite, LockRattler & Scrub
  • DelightEd & Podofyllin
  • xattred, SpotTest, Providable, Spotcord, Metamer & xattr tools
  • 32-bitCheck & ArchiChect
  • XProCheck, T2M2, LogUI, Ulbow, blowhole and log utilities
  • Cirrus & Bailiff
  • Precize, Alifix, UTIutility, Sparsity, alisma, Taccy, Signet
  • Versatility & Revisionist
  • Text Utilities: Textovert, Disclipper, Nalaprop, Dystextia and others
  • PDF
  • Keychains & Permissions
  • Updates
  • Spundle, Cormorant, Stibium, DropSum, Dintch, Fintch and cintch
  • Long Reads
  • Mac Troubleshooting Summary
  • M-series Macs
  • Mints: a multifunction utility
  • VisualLookUpTest
  • Virtualisation on Apple silicon
  • System Updates
  • Saturday Mac Riddles
  • Last Week on My Mac
  • sysctl information
Secondary navigation
  • Search

Post navigation

Reading Visual Art: 241 Sculptor
Saturday Mac riddles 344

Begin typing your search above and press return to search. Press Esc to cancel.

  • Comment
  • Reblog
  • Subscribe Subscribed
    • The Eclectic Light Company
    • Join 8,956 other subscribers
    • Already have a WordPress.com account? Log in now.
    • The Eclectic Light Company
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • View post in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...
 

    %d