smasherprog / screen_capture_lite

cross platform screen/window capturing library
MIT License
638 stars 156 forks source link

GetMonitors in a virtual machine #161

Closed Berets closed 9 months ago

Berets commented 1 year ago

Hi, if i try to get frames from a virtual machine i can't the monitor, it works only if i connect before on RDP

There's not a way to make it work without?

smasherprog commented 1 year ago

The reason it would work is because there is NO desktop before you log in. If you want it to work, you have to stay logged into the VM.

smasherprog commented 1 year ago

There is nothing to capture until you log in, then when you log out, the desktop session ends. Not sure how to keep your session active