Posts by wynx
log in
1) Message boards : Unix/Linux : Gentoo & ATI HD4650 GPU (Message 11153)
Posted 2554 days ago by wynx
The problem with the current boinc release (from distro presumably) is that the boinc-client is started too early in the boot process (without X-server started).
Also, the x-server is not even started with the normal etc/init.d/boinc-client.

For that last problem; to be able to use X-server, the /etc/init.d/boinc-client needs to be modded:

Around line 92, look for snippet:
------------
start()
{
log_begin_msg "Starting $DESC: $NAME"
if is_running; then
log_progress_msg "already running"
else
start-stop-daemon --start --quiet --background --pidfile $PIDFILE \
--make-pidfile --user $BOINC_USER --chuid $BOINC_USER \
--chdir $BOINC_DIR --exec $BOINC_CLIENT -- $BOINC_OPTS
fi
log_end_msg 0

if [ "$SCHEDULE" = "1" ]; then
schedule
fi
}
---------
add lines:
---------
start()
{
log_begin_msg "Starting $DESC: $NAME"
if is_running; then
log_progress_msg "already running"
else
sleep 10
xhost local:boinc
start-stop-daemon --start --quiet --background --pidfile $PIDFILE \
--make-pidfile --user $BOINC_USER --chuid $BOINC_USER \
--chdir $BOINC_DIR --exec $BOINC_CLIENT -- $BOINC_OPTS
fi
log_end_msg 0

if [ "$SCHEDULE" = "1" ]; then
schedule
fi
}
---------

You should now be able to start boinc manually by executing /etc/init.d/boinc-client as root (or sudo).
Note that the process can only be started when an xterm is running, so if you want to automate the process you need to script it in a way that it runs after for example a user login (havent tested this myself).

Good luck.




Main page · Your account · Message boards


Copyright © 2018 Jon Sonntag; All rights reserved.