From 6ec5acb83d755c8897419800f6973fcf0aa3b3d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Carlin?= Date: Mon, 27 Oct 2025 12:39:53 +0100 Subject: [PATCH 1/2] Enhance VNC connection instructions and mermaid diagram Added information about connecting via VNC and updated the mermaid diagram. --- README.md | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d1efbcb..5eae389 100644 --- a/README.md +++ b/README.md @@ -159,7 +159,9 @@ Welcome to astro arch! If you trust me, this should be always the preferred way to connect using VNC. noVNC goes through the browser and is less fluid and performant than a real VNC client. You can use whatever VNC client you prefer, there should be no issue. -The address is `astroarch.local` (or the IP if you prefer) and the port is 5900 +The address is `astroarch.local` (or the IP if you prefer) and the port is 5900. + +If you have started an Xorg session with Xrdp, you can connect with your VNC client on port 5910. Few VNC client suggestions (work an all platforms): - TigerVNC (https://tigervnc.org/) @@ -183,6 +185,28 @@ To connect with a VNC session: + +```mermaid +flowchart TD + A@{ shape: curv-trap, label: "Xorg Display :0" } + B[XRDP Server] + C@{ shape: curv-trap, label: "Xorg Display :10" } + D[TigerVNC server port 5900] + E[TigerVNC server port 5910] + subgraph Display :0 + A --> D + end + subgraph Display :10 + B --> C + C --> E + end + D ---> F@{ shape: stadium, label: "VNC Client"} + D --> |any-vnc| G@{ shape: stadium, label: "Xrdp Client"} + C --> G + E --> F +``` + + # Issues with VNC Beware of metal cases and USB3 hubs, which can interfere with the RPI's Wi-Fi driver. Try connecting an external Wi-Fi antenna to your Raspberry. From eb3958d555818597b1c1af99b0ab71fd95b689a6 Mon Sep 17 00:00:00 2001 From: sc74 Date: Fri, 5 Dec 2025 09:06:25 +0100 Subject: [PATCH 2/2] Synchronize the system time with the GPS if there is no Real Time Clock (RTC) or network connection to the Raspberry Pi --- astroarch_build.sh | 3 +++ scripts/2.0.5.sh | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 scripts/2.0.5.sh diff --git a/astroarch_build.sh b/astroarch_build.sh index 8e0caea..2f140d3 100644 --- a/astroarch_build.sh +++ b/astroarch_build.sh @@ -107,6 +107,9 @@ sleep 5 # Remove eventually existing systemd configs we are going to substitute rm -f /usr/lib/systemd/system/novnc.service +# Synchronize the system time with the GPS if there is no Real Time Clock (RTC) or network connection to the Raspberry Pi +sed -i '$a\refclock SHM 0 offset 0.5 delay 0.2 refid NMEA' /etc/chrony.conf + # Disable systemd-timesyncd and enable chronyd systemctl disable systemd-timesyncd systemctl enable chronyd diff --git a/scripts/2.0.5.sh b/scripts/2.0.5.sh new file mode 100644 index 0000000..a372296 --- /dev/null +++ b/scripts/2.0.5.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Synchronize the system time with the GPS if there is no Real Time Clock (RTC) or network connection to the Raspberry Pi +sed -i '$a\refclock SHM 0 offset 0.5 delay 0.2 refid NMEA' /etc/chrony.conf