Forum
VNC-Server configuration [RPi 4B] - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Configuration (/forum-17.html)
+--- Thread: VNC-Server configuration [RPi 4B] (/thread-4194.html)



VNC-Server configuration [RPi 4B] - dvv06 - 11th Aug, 2024 07:23 AM

Hello, friends!

Since 2019, I have been using the XBIAN 18.1 Leia on RPI 3B+ (VNC connection is successful!!!), now I have renewed to RPI 4B on the fresh Firmware Xbian 20.1.
But in any configuration, I was able to connect via VNC to Raspberry Pi, but having a black screen with a cursor.

Raspberry Pi is connected by HDMI cable to the Phillips 46 TV "1080p (TV Phillips


I have changed in the Nano/etc/default/vnc-autores file
VNCGROUP = CEA
Vncmode = 16

According to information about Phillips_edid, an OPT/VC/Bin/TVService -s
/opt/vc/bin/tvservice -s
state 0x12000a [HDMI CEA (16) RGB lim 16:9], 1920x1080 @ 60.00Hz, progressive)

The Windows 10 1709 Monitor = Dell UltraSharp 2516D 25" (2560x1440) is installed on the PC and I try to connect to the raspberry (the VNC-SERVER service is included in the atopype and operates on the RPI 4B) using the TightVNC 2.8.84 Viewer or Ultravnc 1.4.3.6 result. The result is a failure.

иIn both cases, black screen vnc-client conection
1.


Tell me who tuned it, because it is not always convenient to connect by SSH ...
I read it on the forum, but I did not find any specific instructions, everywhere there are some scraps of infromation.
-------------------------


RE: VNC-Server configuration [RPi 4B] - amorapotter - 4th Sep, 2024 12:39 PM

Sometimes the Pi doesn’t properly detect the display. You can force it to use a specific HDMI mode by editing the config.txt file slope:
Terminal
sudo nano /boot/config.txt
Add or modify the following lines:
Terminal
hdmi_force_hotplug=1
hdmi_group=1
hdmi_mode=16
Save the file and reboot your Raspberry Pi:
Terminal
sudo reboot



RE: VNC-Server configuration [RPi 4B] - alicent23 - 12th Nov, 2024 05:33 PM

You can try to force HDMI output even if there's no active HDMI connection when you connect via VNC. This can be done by editing the `/boot/config.txt` as follows:
Code:
hdmi_force_hotplug=1
hdmi_drive=2
After making these changes, reboot your Pi and try connecting again via VNC. Block Blast


RE: VNC-Server configuration [RPi 4B] - poempose - Today 08:39 PM

If you’re using TightVNC, it might not fully support the resolution or display setup you’re using. Consider switching to RealVNC, which is better integrated with Raspberry Pi and might resolve the issue out of the box.