Question about how to take video in headless mode / VNC

Thank you @HelioGuilherme66 so much for the rapid response and idea ! :confounded:

Yap~ ScreenCap seems working fine for taking a screenshot in VNC.!!~

Unfortunately, when I try to take the video , the script will still take video on my physical machine only , rather than the VNC. May refer the below screenshot for your reference ~

My coding is like this:

Open Browser    https://robotframework.org/   chrome          remote_url=http://127.0.0.1:4444/wd/hub
Start Video Recording
Sleep   3s
Stop Video Recording 

But seems it cannot directly take the video from the VNC. /_____\