# Tlclient says "server refused connection. is this a tl server?" but admintool has session entry?

**URL:** <https://community.thinlinc.com/t/tlclient-says-server-refused-connection-is-this-a-tl-server-but-admintool-has-session-entry/183>\
**Category:** Community Support\
**Tags:** tlclient, linux, tlserver, thinlinc\
**Created:** [17 June 2021 08:16 UTC](https://community.thinlinc.com/t/tlclient-says-server-refused-connection-is-this-a-tl-server-but-admintool-has-session-entry/183 "2021-06-17T08:16:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nanas](https://avatars.discourse-cdn.com/v4/letter/n/c89c15/32.png) [@nanas](https://community.thinlinc.com/u/nanas)\
**Post date:** [17 June 2021 08:16 UTC](https://community.thinlinc.com/t/tlclient-says-server-refused-connection-is-this-a-tl-server-but-admintool-has-session-entry/183/1 "2021-06-17T08:16:13Z")

</div>

I’m trying to connect to my tlserver, the tlclient tries to connect and then displays the error message “Server refused the connection. Is this a ThinLinc server?”. When opening the webadministration under status \> sessions an entry for the user is present, disconnected but still there.  
What could be the cause of this? How do I solve this?

Edit:  
In /var/log/vsmserver.log I get the entries:  
User with uid \<uid\> (\<name\>) requested a new session  
Session 127.0.0.1:10 created for user \<name\>  
So the client is able to connect with the server. But still the question remains, why is the client asking if the server is a ThinLinc server?

---

<div class="post-metadata">

**Author:** ![martin](https://dub1.discourse-cdn.com/flex005/user_avatar/community.thinlinc.com/martin/32/41_2.png) [@martin](https://community.thinlinc.com/u/martin)\
**Post date:** [18 June 2021 07:21 UTC](https://community.thinlinc.com/t/tlclient-says-server-refused-connection-is-this-a-tl-server-but-admintool-has-session-entry/183/2 "2021-06-18T07:21:23Z")

</div>

Hello @nanas

This could happen if the service ‘vsmserver’ is not running.  
You can verify this either in the web admin under “System Health” and look for  
" The vsmserver service is **stopped**".  
Or you can do a systemctl status vsmserver

Another thing that can cause this is if there’s some limitation on how many ssh logins a user can have, or something else on the system causing SSH logins to fail.

Are you able to login with normal SSH to your Thinlinc master?

Regards,  
Martin

---

<div class="post-metadata">

**Author:** ![aaron](https://dub1.discourse-cdn.com/flex005/user_avatar/community.thinlinc.com/aaron/32/13_2.png) [@aaron](https://community.thinlinc.com/u/aaron)\
**Post date:** [22 June 2021 06:55 UTC](https://community.thinlinc.com/t/tlclient-says-server-refused-connection-is-this-a-tl-server-but-admintool-has-session-entry/183/3 "2021-06-22T06:55:19Z")

</div>

@nanas please see the following topic, where a user had a similar issue and solved it. Perhaps it might be helpful:

[“Is this a thinlinc server?” error message despite running vsmserver & possible ssh connection?](https://community.thinlinc.com/t/is-this-a-thinlinc-server-error-message-despite-running-vsmserver-possible-ssh-connection/188)
