How to change the Raspberry Pi Resolution for Remote Login

If you have enabled VNC in Raspberry pi and say you are accessing it with a remote VNC viwer, you might be wondering how to change its resolution.

Here is the simple trick to change it.

Login to your raspberry pi

Open the /boot/config.txt file and uncomment following line as set values as belows

hdmi_group=2
hdmi_mode=58

Reboot your Raspberry Pi. and that’s it.