Possible xhost error in boinc-client script

Gianfranco Costamagna costamagnagianfranco at yahoo.it
Mon Jan 4 11:10:12 UTC 2016


>I figured that the "35x11-common_xhost-local" file came from another
>package (or is otherwise a base file with Debian). I just used it as
>the baseline/template for a new "36x11-common_xhost-boinc" file that
>permits access to the boinc user. Keeping the files separate is just a
>useful way to make package separation easier.
>And yeah, looks like the 35 file comes from x11-common:
>I'm not sure if having the file be provided by two different packages
>would lead to conflicts upon attempting to upgrade/install boinc or
>not. Granted, the version that was pushed with boinc is identical to
>what's in the x11-common package right now, so maybe there wouldn't be
>any issues. In any case I think only the 36 file is needed in the
>boinc package.

nack, this was leading to an impossibility to install the client package :S

I removed the 35 file and reuploaded on experimental :)

>Nah I'm patient :) Looks like it's already up in any case. Good job
>keeping up with the packaging!

thanks for caring and fixing!



On 01/03/2016 09:38 AM, Gianfranco Costamagna wrote:
> Hi Preston!
>> Whelp, my pull request reinstating and improving the XSS idle 
>> detection was accepted and merged upstream a few days ago:
>> https://github.com/BOINC/boinc/pull/1453
>> I don't know which point release it'll end up in, but the code
>> is there now, along with a debug flag I added to the code for
>> inclusion in the cc_config.xml file named "idle_detection_debug".
>> An example configuration file:
> will be there in the next 7.6.x release, I see the fix has
> cherry-picked from master into 7.6 branch 
> https://github.com/BOINC/boinc/tree/client_release/7/7.6
>> The PR link also has my eventual discovery of a simple,
>> programmatic way to handle running the appropriate xhost commands
>> that addresses all of these concerns. As usual, perusal of the
>> documentation is the best cure for ignorance. From "man 5
>> xsession":
> wonderful!
>> Because the order in which the various scripts in 
>> /etc/X11/Xsession.d are executed is important, files to be added
>> to this directory should have a well-formed name.  The following
>> format is recommended:
>> $ cat /etc/X11/Xsession.d/35x11-common_xhost-local $ cat
>> /etc/X11/Xsession.d/36x11-common_xhost-boinc
> do we really need two files?
> This works for me. Logging in as other users --and logging out/back
> in as my normal user-- shows the boinc user in the acl list when
> just running "xhost".
>> (Fedora and other distributions seem to have a similar setup in 
>> /etc/X11/xinitrc/xinitrc.d/.)
> ok
>> This gives boinc access to DISPLAYs as they come and go. My PR
>> just polls the displays found in /tmp/.X11-unix/ periodically, so
>> there's no need for bouncing the boinc client. And finally, since
>> it polls periodically, boot order (for idle detection at least,
>> can't speak for other issues) isn't a problem.
> yes, no problem for this
> I think I committed it right here 
> http://anonscm.debian.org/cgit/pkg-boinc/boinc.git/commit/?id=a854682b
> +1
> I'm really happy this old old problem seems to be finally fixed! 
> thanks a lot!!! It is committed and I'll upload on
> debian/experimental shortly.
> cheers!
> (unstable upload will be performed as soon as a new tarball is out,
> to avoid having too many patches on our packaging. let me know if
> you want an unstable upload right now)
> Gianfranco



pkg-boinc-devel mailing list
pkg-boinc-devel at lists.alioth.debian.org

More information about the pkg-boinc-devel mailing list