Hello, On Wed, Oct 30, 2013 at 08:14:24PM -0500, Preston Maness wrote: > > Could you check if you have libxcb-dpms0 package installed? I > > suspect that this is related to the idle-time function in boinc, > > and this library didn't end up into boinc-client's dependency > > because it functions as a plugin... > > > Try to run boinc-client without those constant-updating-terminal > > programs, and see if there's any difference. > > I did have terminals that were updating regularly. And I didn't have > the libxcb-dpms0 package installed. I've turned off the terminals and > installed the package. I set the idle time to 0.5 minutes, and > restarted boinc-client. After several minutes, the program still > claims to detect user activity. > > Thanks for listing the relevant code. I'm going to have a look at it > over the weekend and see if I can't at least figure out a way to log > what precisely is being detected. I suspect that attempting to > live-debug with gdb could get hairy, though I could always dive into > that if I had to. > > Cheers, > Preston Maness
A way of non-intrusive debugging is to use printf. I've used msg_printf(), which can print message to stdoutdae.txt in stdoutdae.txt, or the event log in boincmgr. (Therefore I am able to debug even if boinc is in the normal daemon mode.) Cheers, Yixuan
signature.asc
Description: Digital signature