Bug 8401 - Sessions often fail to start if logged in locally
Summary: Sessions often fail to start if logged in locally
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Desktop environment (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-25 16:48 CEST by Pierre Ossman
Modified: 2025-01-24 09:40 CET (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments
gdm warning dialog (127.75 KB, image/png)
2025-01-21 12:56 CET, Pierre Ossman
Details

Description Pierre Ossman cendio 2024-07-25 16:48:56 CEST
Modern Linux systems are designed with the assumption of a single session per user, and can misbehave to varying degree when you break this assumption. There is unfortunately no coordination or enforcement of this assumption.

The common case we see this with ThinLinc is that users are logged in locally on the server, and then try to log in using ThinLinc using the same user. The ThinLinc session will then often hang, or immediately terminate, or behave strangely in various ways.

The issue can also appear for users that enable multiple ThinLinc sessions per user. But as that is not the default, we do not see many reports about that. Users are also more likely to realise the reason for the issue in that case, as they actively changed a setting.
Comment 1 Pierre Ossman cendio 2024-07-25 16:49:52 CEST
We do not consider this a ThinLinc issue, as the problem lies in the desktop environment, the applications and the base system. However, since it is much more frequently encountered with ThinLinc, we should consider mitigations for the problem.
Comment 11 Pierre Ossman cendio 2025-01-21 12:56:01 CET
Created attachment 1258 [details]
gdm warning dialog

For reference, modern GNOME detects and blocks if you attempt to log in both locally and remotely. See attached screenshot.

No idea what mechanism it uses, though. However, it is compatible with ThinLinc. If I log in via ThinLinc, GDM will block both a local login, and via their headless RDP.

I guess they added this to solve this specific problem when using their new headless feature.

Note You need to log in before you can comment on or make changes to this bug.