[Bug 587426] Re: No GPU found (Miha Furlan)

Skip Guenter sguenter at austin.rr.com
Sat Dec 18 19:55:14 UTC 2010


Tried this today on one of my 'dedicated' BOINC crunchers.

else
sleep 9
export DISPLAY=:0.0
xhost local:boinc &> /dev/null
# /home/skip/setfan.sh
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

The ATI GPU WUs are up and running (confirmed from a remote machine) w/o 
me having signed on! Great!

Also tried it, twice, with and w/o the "export DISPLAY" command. Did not 
work w/o the "export DISPLAY" command being present.

As instructed by Miha I created /etc/gdm/custom.conf (When did this 
change from gdm-custom.conf?) as pasted below:

# to allow user "boinc" to connect prior to logon
[xdmcp]
Enable=true

I have a couple machines that were plagued by this so many thanks to Miha.


PS: Anyone feel up to the instructions to block the suggested ports?

Skip
> Today's Topics:
>
>    1. [Bug 587426] Re: No GPU found (Miha Furlan)
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 07 Dec 2010 15:34:52 -0000
> From: Miha Furlan <587426 at bugs.launchpad.net>
> Subject: [Bug 587426] Re: No GPU found
> To: pkg-boinc-devel at lists.alioth.debian.org
> Message-ID: <20101207153452.2998.90141.malone at soybean.canonical.com>
> Content-Type: text/plain; charset="utf-8"
>
> If we want to run BOINC at boot without need to login, we have to
> configure login manager (kdm/gdm/xdm/...) to accept connections. Maybe
> it's good to add firewall rule to block connections to UDP port 177 and
> TCP port 6000 afterwards (if you are on public internet) .
>
> On Ubuntu (10.10) with GDM (default) create file /etc/gdm/custom.conf with following content:
> [xdmcp]
> Enable=true
>
> On any other distribution or login manager just google for location of
> config file and proper option to allow "remote" connections (xdmcp).
>
> Then edit BOINC init script /etc/init.d/boinc-client as suggested before (add to start() function):
> sleep 20 # wait for X server to start for sure
> export DISPLAY=:0.0 # maybe not necessary..
> /usr/bin/xhost local:boinc &> /dev/null # add permisions for boinc to connect to X server
>
>   



More information about the pkg-boinc-devel mailing list