Displays won't stay asleep... help!

Discussion in 'macOS' started by digitalhen, Mar 18, 2008.

  1. digitalhen macrumors regular

    Joined:
    Jan 10, 2006
    #1
    Hey,

    If i set my displays to sleep in 1 minute (say, if I leave it on overnight, and want it to sleep pretty quickly), they both come back to life after a few minutes. Since they're bright, they absolutely illuminate the room and the S/O isn't too happy with me.

    I have an Alu iMac 24", Dell 24", bluetooth mouse, external USB drive, USB keyboard. I tried switching off the bluetooth mouse, and it was no better.

    Any idea what might be making the mac come back to life, or somewhere in a log that will tell me what caused it?

    Thanks!
     
  2. Silver-Fox macrumors 65816

    Silver-Fox

    Joined:
    Jan 8, 2007
    Location:
    England
    #2
    you could just turn the dell screen off, and turn the brightness down on the imac

    but the screens normally wake when something is altered like mouse movement etc you might have a faulty connection some where keyboard maybe or your other screen connector
     
  3. sulleric macrumors newbie

    Joined:
    Apr 23, 2008
    #3
    I have had this same problem for a long time, and it's very frustrating. Unfortunately, silver-fox, iMac screen brightness doesn't actually turn off the screen on its lowest setting like it does on laptops. I don't have any idea what causes it, but I notice a very faint clicking sound coming from inside the computer after I sleep the display (ctrl+shift+eject). It usually gets turned on with one of these clicks, sometimes the first, sometimes the fourth or fifth.
    I am so sick of my screen keeping me up at night...
     
  4. digitalhen thread starter macrumors regular

    Joined:
    Jan 10, 2006
    #4
    I figured out the problem!! :)

    Not sure if this is a bug, or a 'feature', but thought I would share in case any one else is having the same problem.

    My displays have been randomly coming at all times of the day, they pop on, go to screensaver and then eventually go off again (the computer is obviously on to start with). This is a problem for two reasons, 1) it's a waste of energy, 2) it illuminates my bedroom at night rather like daylight.

    It turns out the problem is caused by having Screen Sharing enabled, and the 5900 port (VNC) being exposed to the outside world through my router. While this allows me to remote connect from another Mac without having to set up SSH, it also allows anyone else to see.

    The problem lies in the fact that the screen comes to life whenever ANYTHING connects to this port, be it another Mac, or a port scanner... before even authentication takes place. Tested this by trying to SSH to that port - bang, my monitors come to life.

    Fixed it by removing the external port forward, and just using SSH into the Mac. Apple needs to stop waking up the screens until authentication has taken place.
     
  5. rockstarjoe macrumors 6502a

    rockstarjoe

    Joined:
    Jun 2, 2006
    Location:
    washington dc
    #5

    Wow, this problem has been driving me mad the past few weeks. Thanks for the info. The weird thing is that this worked fine on Tiger. Something must have changed on Leopard to cause the screen to wake from port 5900 traffic...
     
  6. Enuratique macrumors 6502

    Joined:
    Apr 28, 2008
    #6
    SWEET JESUS! Thank you for this info!!!! I would have never thought that was it... I can't wait to go home and try this but I do have screen sharing turned on and I just thought that any time a CPU-intensive process activated, it would turn on the screen. But this makes a lot more sense. I agree - Apple should wake the screens only after authentication!
     
  7. rockstarjoe macrumors 6502a

    rockstarjoe

    Joined:
    Jun 2, 2006
    Location:
    washington dc
    #7
    Anyone with a copy of Snow Leopard care to check and see if they fixed this? I switched routers to a Time Capsule and still have this problem if port 5900 is open.
     
  8. Narrowfeather macrumors newbie

    Joined:
    Dec 25, 2010
    #8
    Not the solution for me

    I am running Snow Leopard 10.6.5 on a 27" Intel Core i7 iMac and experiencing the same problem, but I have never enabled screen sharing.
     
  9. dav macrumors 6502

    Joined:
    Jun 29, 2004
    #9
    I'm going to bump this old thread because this is the exact problem I am still experiencing. I have a 13" MBP running in clamshell with a 24" ACD. I usually leave my computer running and just sleep the display (control-shift-eject), but sometimes it would wake up in the night for no reason.

    Figured Screen Sharing was the culprit and disabled that, and now it sleeps fine. Problem is, I like screen sharing and usually try to keep that running. I had my VNC port exposed to the internet, but closed that and it will woke from time to time. Is there any way to only make VNC accept connections from localhost so only I can wake it via SSH? Thoughts?
     
  10. MBHockey macrumors 68040

    MBHockey

    Joined:
    Oct 4, 2003
    Location:
    New York
    #10
    Not to necro this thread but I suspected this was the cause after my screen would randomly come on and I started looking through the logs; tons of failed connection attempts from Korean, German, etc. IPs on the VNC port. Maybe this wake-before-authentication is a problem only in Snow Leopard? I am hesitant to upgrade my old iMac to Lion but if it fixes this problem (along with unbearably slow TM backups) then maybe it's worth it.

    In any case, thanks for your post!
     

Share This Page