Runing Boinc without GUI on Windows

Message boards : Questions and problems : Runing Boinc without GUI on Windows
Message board moderation

To post messages, you must log in.

AuthorMessage
Lorne

Send message
Joined: 16 Jun 17
Posts: 1
Message 79061 - Posted: 16 Jun 2017, 9:23:55 UTC

Hello,
I need to start Boinc client without any GUI, only run process in background. I've searched in wiki, FAQ, but i didn't see anything.

I'm runing Windows machines. ¿Is there any way to do it?

Thanks and greetings.
ID: 79061 · Report as offensive
robsmith
Volunteer tester
Help desk expert

Send message
Joined: 25 May 09
Posts: 1283
United Kingdom
Message 79063 - Posted: 16 Jun 2017, 13:43:34 UTC

Not all projects support BOINC running as a service, and many will fail to make use of any installed GPU due to the way Windows handles drivers in service mode vs. "normal" mode.
Another way (and a slightly messy way):
Start in the normal (GUI) manner, exit the GUI, but when presented with the "Stop all processing" nag window untick the "stop processing on exit" box.

However, on my old headless windows machine, once installed I was able to run without the GUI, and BOINC was not running as a service, sorry I can't remember how and since that machine is now running Linux I can't get at it to see how.
ID: 79063 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15478
Netherlands
Message 79066 - Posted: 16 Jun 2017, 14:18:57 UTC
Last modified: 16 Jun 2017, 14:19:39 UTC

When you want to run BOINC as not a service so you can use your GPU, you can just start the client (boinc.exe) via a desktop shortcut: To automate that when starting Windows, do:
- right click an open space on the desktop
- New
- Shortcut
- Browse to the BOINC programs directory, e.g. C:\Program Files\BOINC and choose boinc.exe
- add behind it on the line --detach_console, make sure it falls outside the quotation marks if these are around the path.
-- the path should look like this: <code>"C:\Program Files\BOINC\boinc.exe" --detach_console</code> with the quotation marks there because of the space in the path. --detach_console closes the Windows command-line window but leaves BOINC running.
- click Next
- fill in a name for your link, e.g. BOINC client
- click Finish

You can add this link to your C:\Users\{username}AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup directory to have it start up at Windows login.
Logging off will stop these calculations again.
ID: 79066 · Report as offensive

Message boards : Questions and problems : Runing Boinc without GUI on Windows

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.