I am using Raspberry Pi 4 through VNC server. My laptop screen dimension is set to 1366x768 resolution. In the config.txt file of raspberry pi, I do the following changes.
I played with overscan values and it does not change anything. Still, the screen size is small compare to my laptop screen. I want it to be exactly equal to my laptop screen. When I maximize vnc server windows, it gets black borders on the left and right sides of the screen.
This has created a lot of problems for me because I have a GUI app which has is 1366x768, which runs fine on the laptop screen, but when I switch to vnc server to run it inside RPi, then a small portion of that GUI app always miss out.
Is there any solution to fix this issue?
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
overscan_left=60
overscan_right=60
overscan_top=60
overscan_bottom=60
# uncomment to force a console size. By default it will be display's size minus
# overscan.
framebuffer_width=1366
framebuffer_height=768
