I'm not sure I understand your point...
No need to piggyback, if you look at that attachment, you'll see that I
already implemented function to determine whether Xserver is loaded or not.
Problem is, when Xserver is finally ready, BOINC should restart itself. Or
BOINC shouldn't start at all until Xserver is ready.


Jussi


On Tue, Feb 18, 2014 at 9:01 PM, McLeod, John <[email protected]> wrote:

> I believe that there is a setting that can delay the startup of BOINC
> tasks for X seconds.  If this is true, then we have to be storing the BOINC
> startup time, and we could piggyback off of that somehow.
>
> -----Original Message-----
> From: boinc_dev [mailto:[email protected]] On Behalf Of
> Jussi Lahtinen
> Sent: Tuesday, February 18, 2014 1:10 PM
> To: [email protected]
> Subject: [boinc_dev] IDLE detection on Linux
>
> BOINC's IDLE detection on Linux desktops seem to have been always broken
> (only the ways have changed). There are various methods for BOINC to get
> the IDLE time on Linux, but I have focused on trying to fix the one that
> relies on Xserver. It seems that BOINC starts too soon to work properly
> with X. Because if you restart BOINC after desktop is fully loaded, it will
> work as expected. Correct assumption?
>
> So I tried to prevent BOINC to touch X related code until X is really
> ready. See attachment and from the end function named "xss_idle". This
> doesn't work for reasons I'm not aware. Anyone knows what is the problem
> with this method? Or how to fix it?
>
> Alternatively, is there function/method to make BOINC to restart itself? Or
> is there method to make BOINC start later? Sleep command doesn't work here
> and Upstart etc init scripts doesn't seem to provide needed features.
>
>
> Jussi
>
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to