OSXvnc icon indicating copy to clipboard operation
OSXvnc copied to clipboard

Turn on monitor

Open rdp opened this issue 7 years ago • 4 comments

If you VNC connect to a box that has the "display turned off" (but is still running fine) you are presented with a "black/blank" screen, the mouse works and moves around but no login window is displayed. Keyboard input doesn't wake it up.

If I also ssh in and run something like

$ caffeinate -u -t 2

then suddenly the login screen appears and all starts working as normal.

So probable suggestion: either "always wake up display" or "check and wake it up" somehow or other, at connect time. FWIW. Thanks.

rdp avatar Dec 08 '17 19:12 rdp

That sounds like a good idea. Does anybody know how to re-activate the screen programmatically?

stweil avatar Dec 14 '17 20:12 stweil

Sorry didn't see the reply. Here's how I did it: https://github.com/rdp/OSXvnc/commit/40f682712b699193bb3fe7d2fbf7300c957bb35f and https://github.com/rdp/OSXvnc/commit/797f822844cc8a0f4aaf60b7a36dde91eba99fa2 sorry I didn't know how to cleanly create a PR...

rdp avatar Jul 11 '19 23:07 rdp

though maybe unneeded now? dunno...

rdp avatar Jul 11 '19 23:07 rdp

Could you run a new test with the latest code? The last pull request #39 might have fixed this issue.

stweil avatar Jul 12 '19 15:07 stweil