Linux Remote Desktop w/ Thinlinc & Tailscale
How to install and Setup Thinlinc
Troubleshooting
Question
- Remote access from my Laptop "only" to my home machine with Thinlinc through Tailscale from external network...
-
I tried to gain remote access from my laptop to my home machine via Thinlinc through Tailscale. It works fine on local network. But when I move to an external network, I can’t access my home machine using Thinlinc. SSH works fine because I have accessed my machine from external network via SSH.
-
Note that ThinLinc connections are a two-step process. First the client establishes a connection to the ssh address you state in the connection form. But once connected, the ThinLinc server replies with the address where the client should actually connect to. In a simple setup this is the address the ThinLinc server itself thinks it has. So it is important to make them match up.
** /vsmagent/master_hostname*# >
==This parameter specifies the hostname of the master machine==
i.e. the machine that runs the VSM server. In a HA setup, this should be the hostname of the IP address that is on the machine that is currently the active node, to ensure that services on the agents that need to access the VSM Server always connects to the machine that is up and running.
Steps to Do
- open the terminal (master machine) and go from root to directory conf.d
cd //opt/thinlinc/etc/conf.d
- edit file: vsmagent.hconf
sudo nano vsmagent.hconf
-
edit "master_hostname" with ip adress (master machine) from tailscale *
-
edit "allowed_clients" with ip adress (client machine) from tailscale **
-
edit "agent_hostname" with ip adress (master machine) from tailscale ***
The host that runs the VSM server (master machine)
master_hostname=*
Only allow connections from the VSM servers
in this space-separated list. localhost, hostname, IP and master_hostname are always allowed. NOTE: Do not - change this parameter unless you know what you are doing.*
allowed_clients=**
Public hostname; the hostname that clients are redirected to.
If not defined, the agent will use the computer's IP address.
agent_hostname=***
- restart service vsmagent
systemctl restart vsmagent
-
https://github.com/webdevigner/github-desk/blob/main/notes/thinlinc-tailscale-remote-access.md
-
(https://www.cendio.com/resources/docs/tag/config_vsmserver.html#std-server-config-folder-vsmserver)
-
https://www.cendio.com/resources/docs/tag/man/tl-config.1.html
-
https://community.thinlinc.com/t/thinlinc-and-tailscale/644/2