Bug 7887 - Idle disconnect/logout isn't inhibited by video playback
Summary: Idle disconnect/logout isn't inhibited by video playback
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VNC (show other bugs)
Target Milestone: MediumPrio
Assignee: Bugzilla mail exporter
Depends on:
Reported: 2022-04-11 08:45 CEST by Pierre Ossman
Modified: 2022-04-12 12:50 CEST (History)
0 users

See Also:
Acceptance Criteria:


Description Pierre Ossman cendio 2022-04-11 08:45:04 CEST
The idle timeouts currently look at keyboard and mouse events to determine if a user is idle or not. However if the user is doing something like watching a video then the session is in active use, even if there are no input events.

Locally there are various mechanism for applications to inform the desktop environment that they should pause idle timeouts. Unfortunately ThinLinc doesn't respect those.

As an example, here is how Chromium handles it:


A technical hurdle is that the applications talk to some desktop component, not the display server, when doing this. So we need to find out what signals are sent to the display server (e.g. DPMS?), or if we can intercept this somehow.
Comment 1 Pierre Ossman cendio 2022-04-11 08:46:01 CEST
We should probably also propagate this signal to the client so that the local screensaver there doesn't trigger.
Comment 3 Pierre Ossman cendio 2022-04-11 08:47:20 CEST
A mitigation could also be to warn the user that the idle timer is about to kick in. E.g. GNOME slowly fades the screen to black before the screensaver, giving the user a chance to move the mouse or press a key.

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