Can't logout.

Discussion in 'OS X Mavericks (10.9)' started by Intelligent, Aug 26, 2014.

  1. Intelligent macrumors 6502a

    Intelligent

    Joined:
    Aug 7, 2013
    #1
    I can't log out, so whenever i switch user or just log out for some other reason, my computer freezes and i have to hold the power button to shut down my computer and then log in to another user/or just log in to mine again.

    Has anyone else had this issue and what did you to do fix it? Its only on my user.
     
  2. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #2
    Have you tried quitting all your apps before logging out? Also check Activity Monitor to see if a process is hanging, preventing logout. You may have to force quit something.
     
  3. Intelligent thread starter macrumors 6502a

    Intelligent

    Joined:
    Aug 7, 2013
    #3

    Yeah, i have tried quitting everything. I think its a process, but when ever i log out the computer freezes so i can't check activity monitor/terminal.
     
  4. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #4
    Have you tried having Activity Monitor open while logging out? Or does it close it before it hangs?

    One other thing: I seem to recall experiencing something like this years ago, either on logging in or logging out. I just left the computer and walked away for a few hours and when I came back, not only was it logged in (or out), but the problem disappeared after that.
     
  5. Intelligent thread starter macrumors 6502a

    Intelligent

    Joined:
    Aug 7, 2013
    #5
    Logging out quits all applications, :confused:
     
  6. DeltaMac macrumors 604

    DeltaMac

    Joined:
    Jul 30, 2003
    Location:
    Delaware
    #6
    That would be what you want! :D
    If you open the Force Quit window (Option-Command-esc), are there any apps, other than Finder in your Force Quit window? If you Force Quit (Relaunch) Finder, does that then let you shut down?
    If you open your Console, then watch the system.log, you may see what the holdup may be, such as some process that is in a loop (and might show line after identical line in the console.)
     
  7. Intelligent thread starter macrumors 6502a

    Intelligent

    Joined:
    Aug 7, 2013
    #7

    There are no applications open. In the console i have this error at least every minute.

    Code:
    2014-08-26 23:09:00,166 com.apple.IconServicesAgent[232]: main Failed to composit image for binding VariantBinding [0x6eb] flags: 0x8 binding: FileInfoBinding [0x2e5] - extension: PHP, UTI: public.php-script, fileType: TEXT.
    
     
  8. h9826790 macrumors 604

    h9826790

    Joined:
    Apr 3, 2014
    Location:
    Hong Kong
    #8
    The computer freeze for how long (of course I mean before you perform the hard reset)? Is it freeze at with the pure grey screen?

    For your info, Apple recommend perform a force restart before you try the force shut down. To do that, press "Command + Control + power button", you don't need to hold the buttons, and it may take few seconds for the computer to react.
     
  9. Intelligent thread starter macrumors 6502a

    Intelligent

    Joined:
    Aug 7, 2013
    #9
    It freezes on the grey screen, where does it say that apple recommends that?
     
  10. h9826790 macrumors 604

    h9826790

    Joined:
    Apr 3, 2014
    Location:
    Hong Kong
    #10
    It's from the Apple Technician Guide, General Troubleshooting section -> common reset procedures.
     
  11. DeltaMac macrumors 604

    DeltaMac

    Joined:
    Jul 30, 2003
    Location:
    Delaware
    #11
    I would not expect that Force-Quit, or forcing a restart will work from a plain grey screen.

    @Intelligent - when you next are ready to log out or shut down, Open the Force Quit menu, and make sure that's clear, except for Finder. Then, also Relaunch the Finder from that window.
    That procedure may help you log out normally.
    Give the grey screen some time - maybe just let it sit for 10 minutes or so, just to see if your Mac eventually continues on its own.
    If there's no help with that - boot to your recovery partition (Command-R), and launch Disk Utility. Run a Repair Disk (different from Repair Disk Permissions) on your hard drive.
    Restart into Safe boot mode ( hold Shift until you see the rotating gear under the Apple icon, then log in at the login window). Safe boot will take much longer than a normal boot. It does some minor maintenance on some system cache files during that boot. After you get to the desktop, do a normal restart.
    After it completes a restart, then try a log out.
     
  12. Intelligent, Aug 28, 2014
    Last edited: Aug 28, 2014

    Intelligent thread starter macrumors 6502a

    Intelligent

    Joined:
    Aug 7, 2013
    #12
    And now i have more problems. I can't open AppleScript Editor or Disk Utility.

    If i restart into (whats it called, restore mode? i don't remember) and run Disk Utility it reports no problems at all.

    I have also reset SMC and NVRAM. I have a test user and i don't see these problems there so it's a user problem. I tried resetting the ACL permissions for my user but no luck there either.

    I also repaired permissions using

    Code:
    diskutil repairpermissions /dev/disk0s2
    But it only reports "ignorable" (according to Apple) errors.

    Anyone know what this means?

    Code:
    2014-08-28 15:35:15,000 kernel[0]: disk1s2: general error.
    and disk1s2 is my SD card.

    After plugging out my SD card i can open Disk Utility and AppleScript Editor.
    What?!?
     
  13. DeltaMac macrumors 604

    DeltaMac

    Joined:
    Jul 30, 2003
    Location:
    Delaware
    #13
    Can you successfully log out, and your other problems are gone, if you leave the SD card out?

    If so, then I can recommend a good next step!
     
  14. Intelligent thread starter macrumors 6502a

    Intelligent

    Joined:
    Aug 7, 2013
    #14
    Yep, erasing my SD-card? :(

    Disk utility won't repair it.
     
  15. DeltaMac macrumors 604

    DeltaMac

    Joined:
    Jul 30, 2003
    Location:
    Delaware
    #15
    Well, no, that's not what I was thinking.
    And, now that you have found that erasing doesn't help -
     
  16. Intelligent thread starter macrumors 6502a

    Intelligent

    Joined:
    Aug 7, 2013
    #16
    How come that a SD card can cause so many problems?
     
  17. DeltaMac macrumors 604

    DeltaMac

    Joined:
    Jul 30, 2003
    Location:
    Delaware
    #17
    Does removing your card FIX all your issues?

    Don't know for sure why, but your issues are not really surprising.
    The SD card is on the USB bus, and is a storage device.
    Yours has some kind of error that likely prevents the storage device from dismounting/releasing when you log out or shut down.
    That could give a variety of potential issues, including lockups, severe system slowdowns, or even kernel panics/resets.
    Try a different SD card.
    If you still have the same problems, even with a different card, then there's likely a problem with your hardware (the internal SD card slot)
    If you do buy another card - you might try a different brand, although that's your choice!
     
  18. Intelligent thread starter macrumors 6502a

    Intelligent

    Joined:
    Aug 7, 2013
    #18
    Yes, taking out the card simply unfreezes the computer.
     
  19. DeltaMac macrumors 604

    DeltaMac

    Joined:
    Jul 30, 2003
    Location:
    Delaware
    #19
    Good!
    Trash that card... :D
     

Share This Page