Page 1 of 1

RealVNC on Pixel: How to change default screen size?

Posted: Thu Oct 20, 2016 4:06 pm
by battletux
Just need some help with a headless RPI3 I have running VNC. How do I change the default resolution from 640x480 to say a 720p resolution: 1280x720?

Thanks.

Re: RealVNC on Pixel: How to change default screen size?

Posted: Thu Oct 20, 2016 5:17 pm
by klricks
RealVNC uses the setting of the current attached HDMI monitor. If HDMI monitor is not present then it reverts to Composite resolution.

You need to force HDMI to stay on when unplugged.
Edit /boot/config.txt and remove the # from the line that has hdmi_force_hotplug=1

Code: Select all

sudo nano /boot/config.txt
You may also need to enable and adjust these settings to the resolution you want to use

Code: Select all

#hdmi_group=1
#hdmi_mode=1
See this for details: viewtopic.php?f=28&t=5851&p=77547#p77547

There may be other ways to do this such as through a VNC config file of some sort?

Re: RealVNC on Pixel: How to change default screen size?

Posted: Fri Oct 21, 2016 7:22 am
by battletux
Got it, thank you! Had to set the mode to 4 and I now have a 720p remote session.