[boinc] 01/03: Fix xhost syntax (841665)
Gianfranco Costamagna
locutusofborg at moszumanska.debian.org
Sat Oct 22 10:31:43 UTC 2016
This is an automated email from the git hooks/post-receive script.
locutusofborg pushed a commit to branch master
in repository boinc.
commit d6fea5e95c858786cf64777fe48813f43800aaa0
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date: Sat Oct 22 12:28:48 2016 +0200
Fix xhost syntax (841665)
---
debian/boinc-client.init | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/boinc-client.init b/debian/boinc-client.init
index 3ed8ceb..8e2d4e4 100644
--- a/debian/boinc-client.init
+++ b/debian/boinc-client.init
@@ -107,7 +107,7 @@ start()
else
if [ -n "$DISPLAY" -a -x /usr/bin/xhost ]; then
# grant the boinc client to perform GPU computing
- xhost local:boinc || echo -n "xhost error ignored, GPU computing may not be possible"
+ xhost +si:localuser:$BOINC_USER || echo -n "xhost error ignored, GPU computing may not be possible"
fi
if [ -n "$VALGRIND_OPTIONS" ]; then
start-stop-daemon --start --quiet --background --pidfile $PIDFILE \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-boinc/boinc.git
More information about the pkg-boinc-commits
mailing list