If it's a virtual desktop, then the EDID file won't influence the resolution. A loaded EDID file will let the Raspberry Pi pretend that the same monitor/tv is always plugged into the Pi, even though that may not be the case. When I started my Pi without a monitor and without this file, RealVNC doesn't work for me.
I've tested two different solutions, depending on which solution you prefer:
When VNC is mirroring a real screen, you can alter the resolution with the following command in the terminal within the VNC session:
Code: Select all
xrandr --output HDMI-1 --mode 1280x720
When VNC on a virtual desktop not connected to a real monitor, add this to /home/pi/.vnc/config:
If you are using a virtual desktop, you'll connect to a different port, like 5901.
The advantage with using a virtual desktop is that your screen won't be shown on the monitor/tv.