Feature spotlight: Avoid conflict with graphical session

Hi everyone! I’m Madeleine from the ThinLinc development team at Cendio and I’m here to share a specific improvement that the team and I have developed for the upcoming 4.21.0 release this summer.

We have implemented a new safeguard to protect users who unintentionally attempt to start a ThinLinc session while they already have a local session running. The thinking here is that Linux systems are often designed with the assumption of a single session per user. When this assumption is broken, it often results in desktops or applications that hang, terminate, or behave unpredictably.

To solve this, ThinLinc now detects existing graphical sessions and informs the user and gives the option to “force stop” the conflicting session to allow the new one to start cleanly. Of course, if you actually need multiple sessions for a single user, this remains fully configurable, so your setup won’t be affected by this change.

Working on this has been rewarding as it tackles a practical problem that is visible for our users, and it’s been a fun technical area to dive into. I’m really keen to hear your feedback once ThinLinc 4.21.0 is out!

I’ll leave you with a photo of a lovely rainbow I spotted outside the office here in Linköping one evening last autumn.

Cheers,
Madeleine

6 Likes

Thank you for the great summary, @madni!

For cross-linking purposes, we have been talking a fair bit about the actual implementation in this thread: Upcoming solution for detecting multiple sessions?

2 Likes