If anyone has this issue and different results for who or in X11-unix please let me know. going to try to find a smaller fix to better learn how it works. Also afaict, this tries every option available for idle detection - maybe a bigger picture fix is needed. Of course, then might as well re-implement it to just use systemd reported idle. The other option is to try to use systemd's loginctl. Srwxrwxr-x 1 gdm gdm 0 Aug 30 22:49 X1024 (this is actually gdm's wayland?) Srwxrwxrwx 1 bryan bryan 0 Aug 30 22:52 X0 The big cause in my tests was GDM sessions, but they aren't consistent (even though both are Ubuntu 18.04).: ![]() Then use that instead of /tmp/.X11/* to find non-GDM sessions. Use utmp to basically pull, the second field from 'who': Nov 23 10:16:40 desktop boinc: 2 10:16:40 Suspending computation - CPU is busy Nov 23 10:15:11 desktop boinc: 2 10:15:11 Suspending GPU computation - computer is in use Nov 23 10:15:10 desktop boinc: No protocol specified Nov 23 10:15:09 desktop boinc: No protocol specified Nov 23 10:15:08 desktop boinc: No protocol specified Nov 23 10:15:07 desktop boinc: No protocol specified Nov 23 10:15:06 desktop boinc: No protocol specified Nov 23 10:15:05 desktop boinc: No protocol specified Nov 23 10:15:04 desktop boinc: No protocol specified Process: 14960 ExecReload=/usr/bin/boinccmd -read_cc_config (code=exited, status=0/SUCCESS)ĬGroup: /system.slice/rvice Process: 14971 ExecStop=/usr/bin/boinccmd -quit (code=exited, status=0/SUCCESS) Process: 14972 ExecStopPost=/bin/rm -f /var/lib/boinc-client/lockfile (code=exited, status=0/SUCCESS) Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Wed 14:33:35 EST 19h ago rvice - Berkeley Open Infrastructure Network Computing Client.Nov 22 15:57:38 desktop boinc: No protocol specified Nov 22 15:57:37 desktop boinc: No protocol specified Nov 22 15:57:36 desktop boinc: dir_open: Could not open directory '/dev/input/mice' from '/var/lib/boinc-client'. Nov 22 15:57:36 desktop boinc: No protocol specified ![]() ![]() The first occurrence is sometimes followed by this dir_open fail. I've also had it actually stop boinc from running, but that could be a separate issue. This also happens if redirected to boinc error log (but then it has no timestamps.) - the default in Ubuntu/Debian. I'm using my systemd unit file from #2255. Doesn't seem to be 100% reproducible, but most of the time. I seem to get an error "No protocol specified" when I'm not logged into them machine- locked or logged off.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |