Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have a Mac mini running 10.6.7. I have set the screen saver to be automatically activated after 15 minutes, and the session to be locked a while after that.

But sometimes, the screen saver stops working. The screen remains on and unlocked indefinitely.

I sometimes suspend the machine manually (for example by pressing --). This will suspend it properly, but when I come back to it sometime later I will often see that it is on again and no screen saver.

This problem appears after I have been using the computer for a while, and then doesn't go away until I turn it off (or perhaps just log out). It could perhaps mean that some screensaver process has died and not restarted automatically.

Can anyone help me figure out what is going wrong, and what I can to to fix it?

Update: In the end, I found the application causing it to not suspend. It was SqueezePlayer. I didn't any really good suggestions how to find the culprit, though.

share|improve this question
add comment

2 Answers 2

I cannot tell about screensaver for sure, but you can use pmset -g to show which process is disturbing sleep (think this first appeared in 10.6.7)

# pmset -g
[cut]
sleep       0 (imposed by 1517)
[cut]

this means that pid 1517 is preventing the system from sleeping.

# ps ax |grep 1517
1517   ??  Rs     1:59.76 /System/Library/CoreServices/backupd 

This shows that this is the backup daemon running.

share|improve this answer
    
My problem is fixed, but I still see "sleep 0" imposed by Chrome, but perhaps this is still useful if you have the problem. –  dkagedal Jul 14 '11 at 11:35
add comment

I have seen this caused by some poorly behaved programs, notably Dungeon Crawl Stone Soup prevents the screen saver from working at all while it is running, whether full screen or windowed. You might record ps -ef from when it works and when it doesn't and look for any additional programs running that might be blocking the screen saver.

I've also seen some cheap mice develop "jitter" which makes the computer think it's being moved; this can also result in the machine waking up from suspend.

share|improve this answer
    
I have an Apple wireless trackpad. –  dkagedal Jun 21 '11 at 23:16
    
is the trackpad surface clean, and there is nothing metallic/conductive that could be brushing it's surface? –  Fake Name Jun 22 '11 at 0:23
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.