I am evaluating ThinLinc for commercial use. I was able to get connected to an agent desktop when server and agent are on same VM. When I configure server with subcluster agent on separate VM the server cannot get load from agent.
sudo tail --lines 2 /var/log/vsmserver.log
2025-04-11 23:04:53 WARNING vsmserver.loadinfo: Error getting load from agent xx.xxx.x.xx: Request rejected by server: '401' 'Unauthorized'
2025-04-11 23:04:53 WARNING vsmserver.loadinfo: Marking agent xx.xxx.x.xx as down
I have tried agent public IP and private IP. I know there is not a network problem because I am able ssh from the server to the agent if I use a private key. ssh -i ~/.ssh/id_rsa ubuntu@xx.xxx.x.xx
What is the mechanism for server to connect to agent to get the the “load”? Is it over ssh or some other port directly to the agent? And what authentication does it use (private key, password, something else)?
I think there is something that I don’t understand
Thanks for the fast response. My agent /vsmagent/master_hostname setting was pointed to localhost. Fixed it with these commands using private IP of master VM.