running boinc.exe from registry without window

Message boards : Questions and problems : running boinc.exe from registry without window
Message board moderation

To post messages, you must log in.

AuthorMessage
Holger Zantl

Send message
Joined: 20 Mar 09
Posts: 8
Germany
Message 23802 - Posted: 20 Mar 2009, 12:11:43 UTC

Is there a way to start boinc.exe without BOINC Manager.

I want this because i try to start boinc with command line arguments (-allow_remote_gui_rpc -gui_rpc_port #)

I can't start it as service, where i can set the arguments, as i run MilkyWay on a ATI card which won't run when installed as service.

when enter the right information in the registry boinc will start as expected but always with a command window.

I use windows vista 64 and BOINC 6.6.17, but i don't think this makes any difference for this problem.

Holger
ID: 23802 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15481
Netherlands
Message 23804 - Posted: 20 Mar 2009, 12:36:51 UTC - in response to Message 23802.  

Is there a way to start boinc.exe without BOINC Manager.

Make a shortcut to boinc.exe and put it in your Startup folder. Change the properties of the shortcut and add the command line arguments to the end of the executable it is linking to.
ID: 23804 · Report as offensive
Holger Zantl

Send message
Joined: 20 Mar 09
Posts: 8
Germany
Message 23805 - Posted: 20 Mar 2009, 13:10:31 UTC

But this way i still have the cmd-window.

how does the BOINC Manager start boinc.exe that it doesn't have a window?

Holger
ID: 23805 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15481
Netherlands
Message 23806 - Posted: 20 Mar 2009, 13:30:53 UTC - in response to Message 23805.  

By magic. :-)

I don't know, but do know you can't run boinc.exe at that time with command line args.

As for not installing as a service, are you sure about that? I run my BOINC as a service and can run on MW on my ATI card. I have WinXP though. BOINC does not detect the ATI cards yet, so all the detection of those cards is done by the Brook.dll that you get with Cluster PhysiX's program.
ID: 23806 · Report as offensive
Profile Leopoldo

Send message
Joined: 11 Feb 09
Posts: 8
Russia
Message 23809 - Posted: 20 Mar 2009, 14:04:36 UTC - in response to Message 23805.  
Last modified: 20 Mar 2009, 14:04:55 UTC

But this way i still have the cmd-window.
how does the BOINC Manager start boinc.exe that it doesn't have a window?

boinc.exe --detach
ID: 23809 · Report as offensive
Holger Zantl

Send message
Joined: 20 Mar 09
Posts: 8
Germany
Message 23810 - Posted: 20 Mar 2009, 14:28:30 UTC - in response to Message 23809.  

@Leopoldo Thnx that's what i was looking for

@Ageless i use optimized apps and the readme says it wouldn't work as service. My first tests didn't work so i run it not as service. But if you run optimized apps too, i'll give the service another try as it is my preferred way to run boinc on all none-ati-rigs

My System is Vista 64


Now i have the problem that BOINC Manager hangs on startup. Does boincmgr.exe have some command-line argument that prevents it from starting boinc.exe as it seems this is the point where it hangs

Holger
ID: 23810 · Report as offensive
-ShEm-

Send message
Joined: 14 Feb 08
Posts: 28
Message 23835 - Posted: 21 Mar 2009, 20:26:53 UTC - in response to Message 23810.  
Last modified: 21 Mar 2009, 20:31:04 UTC

Now i have the problem that BOINC Manager hangs on startup. Does boincmgr.exe have some command-line argument that prevents it from starting boinc.exe as it seems this is the point where it hangs

boincmgr /h or boincmgr --help gives a short list of options.
[Edit]Deleted wrong advice[/Edit]
ID: 23835 · Report as offensive
Holger Zantl

Send message
Joined: 20 Mar 09
Posts: 8
Germany
Message 23843 - Posted: 22 Mar 2009, 12:02:27 UTC - in response to Message 23835.  

i tried all the options in boincmgr already but i couldn't get it to work - /b doesn't work at all

i can't start boinc using arguments when started by BOINC Manager
i can't start BOINC Manager when i started the core client with the appropriate arguments
i can't use service mode, as it doesn't work with the Milkyway optimized ATI app

all i want to do is run BOINC using another port and to allow remote control without service mode where i could get it to work easily
ID: 23843 · Report as offensive
dgnuff

Send message
Joined: 1 Nov 05
Posts: 9
United States
Message 23925 - Posted: 26 Mar 2009, 7:10:12 UTC - in response to Message 23843.  
Last modified: 26 Mar 2009, 7:28:23 UTC

I'm doing *exactly* what it appears you want to do:

I start boinc.exe from a "startup" shortcut, using the -detach option, so it starts on its own without a window. I can connect to it and administer it just fine using boincmgr, simply by starting boincmgr from its shortcut.

The one notable difference is that I haven't changed the port number, it still uses the default 31416.

Why do you need to change the port number? I've never found a need to use anything other than the default.
ID: 23925 · Report as offensive
Holger Zantl

Send message
Joined: 20 Mar 09
Posts: 8
Germany
Message 23938 - Posted: 26 Mar 2009, 21:14:26 UTC - in response to Message 23925.  

I need it to monitor my PCs at work from home and vice versa. As i use a nat network i only can route every port to only one PC. 31416 to the first PC, 31417 to the second and so on...

if i could use the standard port i would start boinc using boinc manager.

I'm actually learning Python and i'll try to do a proxy for boinc which would let me use all the standard settings.
ID: 23938 · Report as offensive
Nicolas

Send message
Joined: 19 Jan 07
Posts: 1179
Argentina
Message 24258 - Posted: 13 Apr 2009, 13:38:34 UTC - in response to Message 23938.  

I need it to monitor my PCs at work from home and vice versa. As i use a nat network i only can route every port to only one PC. 31416 to the first PC, 31417 to the second and so on...

I'm actually learning Python and i'll try to do a proxy for boinc which would let me use all the standard settings.

Many NAT routers have a way to "forward outside port X to port Y on local computer Z", which would let you do what you want. See if yours can do that.
ID: 24258 · Report as offensive

Message boards : Questions and problems : running boinc.exe from registry without window

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.