Terminal session when minimized\disconnected returns a blank screen upon capturing desktop snapshot

前端 未结 5 1342
陌清茗
陌清茗 2020-12-15 06:51

I am using the below JAVA code to capture the desktop of a remote machine

    Robot robot = new Robot();
    BufferedImage screenShot = robot.createScreenCap         


        
5条回答
  •  心在旅途
    2020-12-15 07:31

    I just configured the clients to auto logon, disabled the screen saver and installed a VNC server on each client.

    Basically, make sure the screen is always on, and don't RDP into them.

    This worked on both physical PCs and on virtual machines hosted on a Hyper-V server.

    I even wrote a small .NET desktop client that ran multiple VNC clients inside a single window, so we could see what was happening on all the clients. We had an old PC running this with it's monitor on top of a cupboard to (a) let the developers see if any client had hung, had hundreds of browser windows open, etc. and (b) to look impressive for any non-developers walking past.

提交回复
热议问题