set vnc resolution to 1920x1080 using a touch screen lcd

April 13, 2024, 06:55

stocis

after losing everything due to an sd card failure i rebuilt my rpi (with the 7" touchscreen monitor). everything works fine except that when i connect via vnc i see a really small resolution of 800x480 which i guess is the screens resolution. How can I have it to use 1080p or / 4k when connecting to it via vnc ? I tried raspi-config but it didnt work. thank you

thunder07337

If I'm not completely wrong, you have to set this in the VNC itself.

k9t33n

Your aren't wrong

stocis

erm what?

stocis

in vnc its set correctly

stocis

i think something needs to be added in boot/config.txt

thunder07337

The monitor you have on it can do max. 800 x 480! You can't set it to 1920x1080.

stocis

i dont want it to do anything else

stocis

i just want to virtually connect to it to 1920x1080

stocis

for example when connecting via vnc or anydesk or teamviewer or whatever i see 1920x1200

stocis

this was working fine for years now

thunder07337

I don't use VNC, so I have no further ideas. Maybe it's the new operating system, I don't think you have the same one as before... Or something has changed in VNC itself since then...

stocis

highly doubt that cause this happend around a week ago

stocis

i basically need a virtual screen in addition to the default0

thunder07337

Then document what you do so that you can repeat it. Well, I have no idea, I manage my servers via ssh 🤷‍♂️

stocis

yeah that'd be helpful

stocis

can anyone help me?

k9t33n

What specifically do you need help with?

k9t33n

Setting vnc resolution?

stocis

for starters thanks for getting back to me

stocis

i want to set a virtual resolution without changing the tft screen of the pi.

stocis

before this happend i was able to connect to the pi in 1920x1080 and the top left portion of the desktop was shown on the tft

stocis

in short: i want to connect headless to 1920x1080 whilst having the monitor running at its default resolution.

stocis

the only temp solution i've found so far is to set the tft running at 1920x1080

oops.se

VNC is not a remote of the physical display, it is a virtual display. So forget the TFT display when you discuss VNC.

stocis

yes exactly why i only want the headless (and the tft to run at its default)

stocis

update: I tried to create a virtual display using xandr, xorg.conf, config.txt overscans etc. nothing works. all i see in screen layout editor is 'default'

stocis

this is how it used to be the tft screen was taking exactly the padd terminal window as seen in the pic

stocis

this is obviously an old screenshot