I just set up a Raspberry Pi Zero to be a little breadboard computer. Running a headless machine only through SSH gets a bit dull at times, so the inclusion of VNC Connect in Raspbian is handy.
Only problem was that the default screen size â€” something like 720Ã—480 â€” was too small for most dialogue windows. Here’s how to enable a more useful resolution of 1024 Ã— 768.
All of these are enabled from the raspi-config tool, so open a terminal and start it with:
Enable Boot to Desktop
Select 3 Boot Options â†’ B1 Desktop / CLI â†’ B4 Desktop Autologin:
Enable VNC on Startup
Select 5 Interfacing Options â†’ P3 VNC, and answer Yes to Would you like the VNC Server to be enabled?:
Set Screen Resolution
Select 7 Advanced Options â†’ A5 Resolution â†’ DMT Mode 16 (1024Ã—768) â€¦:
Once you’ve enabled all of these, raspi-config will ask if you wish to reboot your Raspberry Pi. Once it has rebooted, you should have a usable remote desktop.
(All of the above screenshots were taken from a headless Raspberry Pi Zero via VNC.)
Before & After
These were taken later on a Raspberry Pi 2 I’m setting up for a maker festival booth: