Extremely slow Thinlinc connection on fast and unobstructed internet connections

Hi all, I have been using Thinlinc successfully for a few years at different jobs.However, recently I have been struggling with occasional but extreme slowness that begin without one rebooting or restarting sessions. Here are the details.

The server runs Thinlinc 2.19 on Ubuntu 24.04 (on X11, not Wayland). The client runs Thinlinc 2.19 on Windows 11 (64 bits). Connecting to this server through Thinlinc is, most of the time, smooth and speedy. But there are days when, for many hours, using Thinlinc becomes impossibly slow. And by that I mean, slow as in the screen takes a couple of seconds to refresh. This computer server is never turned off, the session itself is rarely closed or re-initiated.

Today was one of those days, where the server became unusably slow even nothing changed - the connection quality seems the same in both sides, the server session was not restarted. So, I took the opportunity to start collecting some information. First, I installed Thinlinc 2.19 on a different client computer, which runs on Ubuntu 23.04, and tried logging in to the server from there. Same problem: server access is slow to the point of unusable. So this shows me the problem is not on the OS/computer specs side of things. Client connection: I tried from fast wifi connections in different places. All gave the same problem. But I also measured the details of the wifi connection where the client usually connects from, and that connection has ~550mps download and 250mbps upload, average latency of 35ms and jitter of 12ms. Also, I gathered all patience that I could muster and opened a web browser on the server to test the connection there. About 1Gb/s download and 1Gb/s upload, average latency of 12ms and jitter of 17ms. Clearly, the problem does not seem to be connection related. Just in case I tried doing other internet operation in both computers, downloading different sizes of files, uploading, streaming data from SSH. All good and speedy.

However, the “Connection Info” from the Thinlinc client, while connected to the server, does give us a hint: just about 3200 kbits/s of expected line speed. This is odd, though, since like I just said, connection on the server side and on the client side seems fine. I tried re-starting Thinlinc on the server. No change. I tried rebooting the client and the server. No change. I tried all possible combinations of Thinlinc client parameters in what regards compression, optimizations, etc. Nothing. Also, the server and the client both have enough CPU and RAM available (by a large margin) and the server has a dedicated Nvidia GPU.

Would you have any suggestion on how I could proceed trying to diagnose the problem?

Thanks!

It sounds very strange that only ThinLinc is affected.

Could it be that something is throttling SSH traffic? You could try running scp between the client and server when the issue appears and see what bandwidth numbers you get there. Might be worth trying transfers in both directions in case the issue isn’t symmetrical.

Did you try connecting using ThinLinc Web Access? In case only SSH traffic is affected, I would expect Web Access to work better. This is not a solution but might be a hint to help pinpoint the issue.