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

Beginners • How to NOT use attached monitor resolution in WayVNC?

$
0
0
I set up a new Pi5 at a remote location and plugged it into an old DVI monitor + kbd + mouse in case anyone needs watch the boot process. Now that I'm away, RealVNC Viewer (on Windows 10) only allows me to connect at the 1280x1024 resolution of the monitor attached to the Pi, rather than the 1920x1080 resolution of my local monitor. How can I fix this?

I've tried:
  1. In /boot/firmware/config.txt, set display_auto_detect=0 -> this just gives me a blank screen when connecting VNC
  2. In ~/.config/wayfire.ini, added \[output:headless-1\] section with headless_width|height values
  3. In ~/.config/wayfire.ini, added \[output:headless-2\] section with mode = 1920x1080
  4. Tried restarting wayvnc specifying --output=headless-1|2 but first it complained that WAYLAND_DISPLAY was not set in the environment
  5. So I tried setting the variable with export WAYLAND_DISPLAY=headless-1 (and also headless=2) but then I get...
    ERROR: ../src/main.c: 529: Failed to connect to WAYLAND_DISPLAY="headless-1"
    ERROR: ../src/main.c: 530: Ensure wayland is running with that display name
    ERROR: ../src/main.c: 1876: Failed to initialise wayland
  6. I noticed at some point (maybe after display_auto_detect=0 was set) raspi-config gave me the option to select VNC resolution, but once connected, I was still stuck at 1280x1024
I'm at a loss. What do I need to do to have BOTH a working display on the Pi-attached monitor AND a higher resolution display for VNC connections?

In case it matters, wlr-randr returns:
HDMI-A-2 "Dell Inc. DELL 1704FPT Y429954JBEU6 (HDMI-A-2)"
Physical size: 340x270 mm
Enabled: yes
Modes:
720x400 px, 70.082001 Hz
640x480 px, 59.939999 Hz
640x480 px, 75.000000 Hz
800x600 px, 60.317001 Hz
800x600 px, 75.000000 Hz
1024x768 px, 60.004002 Hz
1024x768 px, 75.028999 Hz
1152x864 px, 75.000000 Hz
1280x1024 px, 75.025002 Hz
1280x1024 px, 60.020000 Hz (preferred, current)
Position: 0,0
Transform: normal
Scale: 1.000000
I'm at the point where I'm ready to try a different VNC client or just switch back to X11, but I'd rather get familiar with Wayland.

Statistics: Posted by CaptOnPi — Fri Jun 07, 2024 8:57 pm — Replies 1 — Views 34



Viewing all articles
Browse latest Browse all 4497

Trending Articles