Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

robert-a-hudson

macrumors regular
Original poster
Apr 11, 2006
134
0
Britain
Hi,

I have an old MacBookPro which I have screen sharing enabled on for access (over vnc). It runs 10.6.8 and seems to refuse to go to sleep. This is rather annoying as it doesn't need to be on all the time, but only when it's scheduled to be on.

I have tried using pmset-g assertions to find what the problem is...

Code:
mac1:~ r$ pmset -g assertions
17/06/2013 21:13:28 GMT+01:00 
Assertion status system-wide:
NoDisplaySleepAssertion                 1
CPUBoundAssertion                       0
ChargeInhibit                           0
EnableIdleSleep                         1
DisableLowPowerBatteryWarnings          0
ExternalMedia                           0
DisableInflow                           0
NoIdleSleepAssertion                    0

Listed by owning process:
  1442: NoDisplaySleepAssertion value=255 named: "screen sharing wake display" 
  1442: NoDisplaySleepAssertion value=255 named: "Nameless (via IOPMAssertionCreate)" 
mac1:~ r$ ps up 1442
USER     PID  %CPU %MEM      VSZ    RSS   TT  STAT STARTED      TIME COMMAND
robert  1442   0.2  0.9   397328  19788   ??  S    Wed08pm   7:33.84 /System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/MacOS/AppleVNCServer

... so it seems to be something to do with the AppleVNCServer which I assume is screen sharing. Does anyone know how I can use screensharing but also have my macbookpro go to sleep?

Thanks
Robert
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.