From 0fb23d068ce1b29ca1d9803b204a249094ded3b8 Mon Sep 17 00:00:00 2001 From: Stavros Date: Mon, 14 Oct 2024 15:55:19 +0300 Subject: [PATCH 1/2] Add documentation for using Raspberry Pi Connect with Tailscale --- .../services/connect/troubleshooting.adoc | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/documentation/asciidoc/services/connect/troubleshooting.adoc b/documentation/asciidoc/services/connect/troubleshooting.adoc index 2a3398bef..a0173a0c4 100644 --- a/documentation/asciidoc/services/connect/troubleshooting.adoc +++ b/documentation/asciidoc/services/connect/troubleshooting.adoc @@ -52,6 +52,37 @@ Finally, restart the service with the following command: $ systemctl --user restart rpi-connect ---- +==== Use Raspberry Pi Connect with Tailscale ==== + +Due to how Tailscale affects networking, if you use both Raspberry Pi Connect and Tailscale, you may face issues using screen sharing, chances are you will see an empty screen. To fix this you can use Raspberry Pi Connect in mDNS mode. This can be accomplished by editing Raspberry Pi Connect's systemd unit file. + +Open the `rpi-connect` configuration file for editing with the following command: + +[source,console] +---- +$ systemctl --user edit rpi-connect-wayvnc +---- + +Enter the following lines of configuration between the comments: + +[source,bash] +---- +[Service] +ExecStart= +ExecStart=/usr/bin/rpi-connectd -socket %t/rpi-connect-wayvnc.sock -mdns +---- + +NOTE: You need **both** lines that begin with `ExecStart=`. + +Finally, restart the service with the following command: + +[source,console] +---- +$ systemctl --user restart rpi-connect-wayvnc +---- + +Now Screen Sharing should be working perfectly with Tailscale running. + ==== Enable enhanced logging in the dedicated `wayvnc` server Open the configuration file for the dedicated WayVNC server associated with Connect: From 65cf5c49de32ebc298ce502b7ea5082788d38005 Mon Sep 17 00:00:00 2001 From: Stavros Date: Mon, 14 Oct 2024 15:57:50 +0300 Subject: [PATCH 2/2] Add missing comma --- documentation/asciidoc/services/connect/troubleshooting.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/asciidoc/services/connect/troubleshooting.adoc b/documentation/asciidoc/services/connect/troubleshooting.adoc index a0173a0c4..945ff9244 100644 --- a/documentation/asciidoc/services/connect/troubleshooting.adoc +++ b/documentation/asciidoc/services/connect/troubleshooting.adoc @@ -54,9 +54,9 @@ $ systemctl --user restart rpi-connect ==== Use Raspberry Pi Connect with Tailscale ==== -Due to how Tailscale affects networking, if you use both Raspberry Pi Connect and Tailscale, you may face issues using screen sharing, chances are you will see an empty screen. To fix this you can use Raspberry Pi Connect in mDNS mode. This can be accomplished by editing Raspberry Pi Connect's systemd unit file. +Due to how Tailscale affects networking, if you use both Raspberry Pi Connect and Tailscale, you may face issues using screen sharing, chances are you will see an empty screen. To fix this, you can use Raspberry Pi Connect in mDNS mode. This can be accomplished by editing Raspberry Pi Connect's systemd unit file. -Open the `rpi-connect` configuration file for editing with the following command: +To do this, open the `rpi-connect` configuration file for editing with the following command: [source,console] ----