Disabling direct capture on Raspberry Pi using the command line


The "direct capture" option is not working when running RealVNC Server on Raspberry Pi OS with the KMS driver (vc4-kms-v3d). The Fake KMS driver (vc4-fkms-v3d) is not affected.

Enabling it will cause RealVNC Server to send a blank screen and you will lose remote access to the RealVNC Server. Our development team are investigating and hope to make a fix available in the near future. This issue affects all versions of RealVNC Server that include the direct capture setting.

If you have enabled direct capture with the KMS driver enabled and need to disable it, you can do so at the command line by connecting to your Raspberry Pi using SSH and running the below commands:

sudo sed -i '/CaptureTech/d' /root/.vnc/config.d/vncserver-x11
sudo vncserver-x11 -service -reload
Was this article helpful?
63 out of 70 found this helpful



Article is closed for comments.