How to Adjust Screen Resolution when using VNC to Access a Raspberry Pi

Edit /boot/config.txt

framebuffer_width=1366
framebuffer_height=768
hdmi_group=2
hdmi_mode=86