OSXvnc
OSXvnc copied to clipboard
Turn on monitor
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.
That sounds like a good idea. Does anybody know how to re-activate the screen programmatically?
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...
though maybe unneeded now? dunno...
Could you run a new test with the latest code? The last pull request #39 might have fixed this issue.