FS#59185 - [boinc] idle detection is broken

Attached to Project: Community Packages
Opened by Ruben Kelevra (RubenKelevra) - Friday, 29 June 2018, 20:53 GMT
Last edited by Toolybird (Toolybird) - Sunday, 16 April 2023, 08:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
currently, idle detection does not work - the work continues even if the computer is in use. When idle detection debugging for logging is activated, it shows an access error, which blocks the detection.

Additional info:
* package version(s)
7.8.6
* config and/or log files etc.

Fr 29 Jun 2018 22:51:27 CEST | | [idle_detection] DISPLAY ':1' not found or insufficient access.
Fr 29 Jun 2018 22:51:27 CEST | | [idle_detection] DISPLAY ':0' not found or insufficient access.
Fr 29 Jun 2018 22:51:27 CEST | | [idle_detection] Could not connect to any DISPLAYs. XSS idle determination impossible.
Fr 29 Jun 2018 22:51:28 CEST | | [idle_detection] DISPLAY ':1' not found or insufficient access.
Fr 29 Jun 2018 22:51:28 CEST | | [idle_detection] DISPLAY ':0' not found or insufficient access.
Fr 29 Jun 2018 22:51:28 CEST | | [idle_detection] Could not connect to any DISPLAYs. XSS idle determination impossible.
Fr 29 Jun 2018 22:51:29 CEST | | [idle_detection] DISPLAY ':1' not found or insufficient access.
Fr 29 Jun 2018 22:51:29 CEST | | [idle_detection] DISPLAY ':0' not found or insufficient access.
Fr 29 Jun 2018 22:51:29 CEST | | [idle_detection] Could not connect to any DISPLAYs. XSS idle determination impossible.
Fr 29 Jun 2018 22:51:30 CEST | | [idle_detection] DISPLAY ':1' not found or insufficient access.
Fr 29 Jun 2018 22:51:30 CEST | | [idle_detection] DISPLAY ':0' not found or insufficient access.
Fr 29 Jun 2018 22:51:30 CEST | | [idle_detection] Could not connect to any DISPLAYs. XSS idle determination impossible.
Fr 29 Jun 2018 22:51:31 CEST | | [idle_detection] DISPLAY ':1' not found or insufficient access.
Fr 29 Jun 2018 22:51:31 CEST | | [idle_detection] DISPLAY ':0' not found or insufficient access.
Fr 29 Jun 2018 22:51:31 CEST | | [idle_detection] Could not connect to any DISPLAYs. XSS idle determination impossible.

This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 16 April 2023, 08:03 GMT
Reason for closing:  Upstream
Comment by Ruben Kelevra (RubenKelevra) - Friday, 29 June 2018, 20:56 GMT
7.6.23 seems to have had some changes which might explain this issue:

"Revamped the idle detection after pouring over documentation. This new code should be able to handle all local Xservers as they come and go. Issue with permitting access to Xservers from boinc user resolved (see comments; package managers may include appropriate file in /etc/X11/Xsession.d/, otherwise boinc ignores inaccessible DISPLAYs). Pushing for CI checks. Not finished though. This commit has generic debug output that would clutter the event log. I want to add a debug flag and only dump this (noisy, once-per-second) output if the user explicitly asks for it via configuration file."

https://boinc.berkeley.edu/dev/forum_thread.php?id=10204&postid=67990
Comment by CubeTheThird (CubeTheThird) - Tuesday, 09 February 2021, 03:29 GMT
I too am experiencing issues with idle detection, though my log appears differently:

Mon 08 Feb 2021 09:33:40 PM | | [idle_detection] Error (2) opening /tmp/.X11-unix/.
Mon 08 Feb 2021 09:33:40 PM | | [idle_detection] Could not connect to any DISPLAYs. XSS idle determination impossible.


Here is the link to the report I made on GitHub about this issue: https://github.com/BOINC/boinc/issues/4084

This is occurring with package version: 7.16.12
Comment by Toolybird (Toolybird) - Sunday, 16 April 2023, 08:03 GMT
If this is still happening, it's an upstream issue. The relevant upstream ticket is here [1].

[1] https://github.com/BOINC/boinc/issues/1187

Loading...