Thinlink was working fine on SuSe Leap 15. However when I moved to Suse Leap 16.1 it stopped working. I get the message “No agent server was available”
vsmagent.log
2026-06-13 16:03:33 INFO vsmagent: Got SIGTERM, signaling process to quit
2026-06-13 16:03:33 INFO vsmagent: Terminating. Have a nice day!
2026-06-13 18:00:29 INFO vsmagent: VSM Agent version 4.17.0 build 3647 started
2026-06-13 18:00:29 INFO vsmagent: My public hostname is xxxxx.net
2026-06-13 18:00:59 INFO vsmagent: Got SIGTERM, signaling process to quit
2026-06-13 18:00:59 INFO vsmagent: Terminating. Have a nice day!
2026-06-13 18:02:56 INFO vsmagent: VSM agent version 4.20.1 build 4529 started
2026-06-13 18:02:56 INFO vsmagent: My public hostname is rhodos.heron-arcturus.ts.net
2026-06-13 18:03:20 WARNING tl-session: pam_open_session failed: 14 (Cannot make/remove an entry for the specified session)
2026-06-13 18:25:31 WARNING tl-session: pam_open_session failed: 14 (Cannot make/remove an entry for the specified session)
2026-06-13 22:50:49 WARNING tl-session: pam_open_session failed: 14 (Cannot make/remove an entry for the specified session)
2026-06-13 22:59:31 WARNING tl-session: pam_open_session failed: 14 (Cannot make/remove an entry for the specified session)
2026-06-13 23:11:03 WARNING tl-session: pam_open_session failed: 14 (Cannot make/remove an entry for the specified session)
It sounds like the following issue (see heading “Configuring and starting ThinLinc services and timers… failed”):
In short, SuSE moved the location of the PAM configuration files in SLE 16 to a non-standard location. Copying them back to /etc/pam.d should fix things.
@aaron Thanks for the hint. Unfortunately copying /usr/lib/pam.d/sshd back to /etc/pam.d did not fix the issue. In even re-installed Thinlinc could not help.
I am now getting the following messages in /var/log/vsmagent.log
tl-xinit: Unable to open xinit.log for writing: Permission denied 2026-06-15 19:42:03 WARNING tl-session: tl-xinit exited with status=1 tl-xinit: Unable to open xinit.log for writing: Permission denied 2026-06-15 19:46:25 WARNING tl-session: tl-xinit exited with status=1 tl-xinit: Unable to open xinit.log for writing: Permission denied 2026-06-15 19:57:23 WARNING tl-session: tl-xinit exited with status=1
I have checked and updated ownership and permissions of /var/opt/thinlinc/sessions/
@aaron After running the commands you provided, the client get stucks in a loop with the message “connecting to graphical session”.
The server log reports the connection attempt
2026-06-17 07:14:51 INFO vsmserver.session: User with uid 1000 requested a reconnection to 127.0.0.1:11 2026-06-17 07:14:51 INFO vsmserver: Verifying session 127.0.0.1:11 for gkamendje 2026-06-17 07:14:51 INFO vsmserver: Session 127.0.0.1:11 for gkamendje is alive and ready for reconnection
However the agent log does not report any connection attempt. The content of the log is from 2 days ago.
2026-06-15 19:57:23 WARNING tl-session: tl-xinit exited with status=1 tl-xinit: Unable to open xinit.log for writing: Permission denied 2026-06-15 20:04:36 WARNING tl-session: tl-xinit exited with status=1 2026-06-15 21:36:35 INFO vsmagent.session: Verified connectivity to newly started Xvnc for gkamendje
Is the system fully updated? There was a bug in the SLE 16 SELinux policy that was fixed in an update. It doesn’t give this exact error, but a similar one. So it might be the same underlying problem.
@CendioOssman I migrated from Suse Leap 15 to Suse Leap 16.1 10 days ago. Not sure if the lastest update was picked up by the migration process. Do you know which version of SELinux I should be looking at?
@CendioOssman@aaron I don’t know if this could help debugging the issue. I get the following out of the audit log right after a fail connection attempt.
This looks like a different denial. Did you install selinux-policy-devel as per the platform specific note linked above? If so, you’ll need to re-run tl-setup afterwards in order to make sure the SELinux policies are applied properly.
I re-installed selinux-policy-devel and ran sudo restorecon -Rv /var/opt/thinlinc /opt/thinlinc but unfortunately it does not help. I still have the same “denied” messages in the audit trail.
No idea. Something is very oddly amiss with the SELinux policy on that system. We can see that something has loaded, as we’re getting the ThinLinc specific types. But for some very odd reason the rules in the same SELinux module seems to have failed to load. E.g. Xvnc should not be running under the thinlinc_session_t type.
Someone would need to pick apart the policy in detail on this system to see what’s going on. We likely need to be able to reproduce it here first.