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.
RealVNC on Pixel: How to change default screen size?
http://about.me/andy_mc
-
- Posts: 7546
- Joined: Sat Jan 12, 2013 3:01 am
- Location: Grants Pass, OR, USA
- Contact: Website
Re: RealVNC on Pixel: How to change default screen size?
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
You may also need to enable and adjust these settings to the resolution you want to use
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?
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
Code: Select all
#hdmi_group=1
#hdmi_mode=1
There may be other ways to do this such as through a VNC config file of some sort?
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.
Re: RealVNC on Pixel: How to change default screen size?
Got it, thank you! Had to set the mode to 4 and I now have a 720p remote session.
http://about.me/andy_mc