Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3546

Raspberry Pi OS • Re: How to change vnc resolution in trixie?

$
0
0
Apparently this is still not straight forward, nor properly documented.
Anyone has an idea how to achieve this?

Configuration:
Raspberry Pi 5 headless
OS: Debian 13.3 (trixie)
$XDG_SESSION_TYPE: wayland
Starting desktop: sudo systemctl start display-manager
VNC: RealVNC Viewer

Dynamic Resolution of RealVNC Viewer
--> does not change the resolution, only scaling

$ sudo nano /boot/firmware/config.txt

Code:

hdmi_group=2hdmi_mode=82   # 1920x1080 @ 60Hz
--> worked once for upscaling to 1920x1080, but I cannot change it to another value anymore.

/boot/firmware/cmdline.txt adding

Code:

 video=HDMI-A-1:1600x900@60
--> is ignored

sudo raspi-config
--> no option to change the display resolution

sudo raspi-config nonint do_vnc_resolution <width>x<height>
sudo reboot
--> is ignored

xrandr
-->
Screen 0: minimum 16 x 16, current 1920 x 1080, maximum 32767 x 32767
NOOP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 0mm x 0mm

xrandr --fb 1600x900
--> error message
xrandr --size 1280x1024
xrandr --size 1280x720
--> is ignored

wlr-randr
-->
NOOP-1 "Headless output 2"
Enabled: yes
Modes:
1920x1080 px (current)

Statistics: Posted by hollys — Mon Feb 09, 2026 9:22 pm



Viewing all articles
Browse latest Browse all 3546

Trending Articles