Increase the VNC's screen resolution

After viewing the RPi's display output in the VNC Viewer, you will notice that the screen resolution of the VNC Viewer is small and it does not cover the entire screen. To increase the screen resolution, we need to edit the config.txt file:

  1. Enter the following command in the terminal window:
sudo nano /boot/config.txt
  1. Next, below the #hdmi_mode=1 code, enter the following three lines:
hdmi_ignore_edid=0xa5000080
hdmi_group=2
hdmi_mode=85
  1. After this, press Ctrl + O and then press Enter to save the file. Press Ctrl + X to exit:

  1. Next, reboot your RPi to apply these changes:
sudo reboot

Once rebooted, you will notice that the VNC's screen resolution has increased and it now covers the entire screen.