CONFIRMED!
Thank you, now I got to log in.
But I set the resolution in raspi-config to 1920x1080 and still the screen came out at 1024x768.
But using Preferences/Screen Configuration inside the GUI I could set it to 1920x1080 and it resized OK.
I am trying to nail down a problem with VNC right now involving the handling of special chars like {}[]\$£ etc.
All of these must be entered using the AltGr key on my Swedish keyboard.
But when I am programming (using FreePascal and the Lazarus IDE) on the RPi4 via VNC on a virtual desktop (address rpi-gui:1) then whenever I hit the AltGr key the IDE switches to the
previous tab and then drops the resulting character into a different source file than intended.
It does
not happen when working directly on the RPi itself, but that is an annoyance due to the switching of HDMI cables and the lack of cut-and-paste between the Windows laptop and the RPi4. So now I wanted to check if working through VNC directly to the base GUI on the RPi4 would be any different.
I can now say that the problem does not happen when VNC mirrors the base screen, only when I use a virtual desktop created in /etc/rc.local as follows:
Code: Select all
#Start VNC server with virtual desktop
#Access via RealVNC application through address <hostname>:1
#Size of desktop can be adjusted here.
sudo -u pi /usr/bin/vncserver -randr=1680x1040
This is accessed using hostname:1 in VNC and works very well
except for the issue with the special characters....