Message boards :
Number crunching :
Windows XP Service -allow_remote_gui_rpc
Message board moderation
Previous · 1 · 2
Author | Message |
---|---|
Paul D. Buck Send message Joined: 19 Jul 00 Posts: 3898 Credit: 1,158,042 RAC: 0 |
> I do have exactly the same problem as "cheese"... > How can I persuade Win XP to start the BOINC service with that > "-allow_remote_gui_rpc" switch all the time (e.g. automatically)? 1) Right click on the "Start" button 2)Select "Open All Users" from the menu. 3) Navigate to the folder with the name "Startup" (double click on Programs). 4) Right click on the icon named "BOINC" and select "Properties" in the pop-up menu. 5) Click on the "Shortcut" tab 6) In the line named "Target" add the "-allow_remote_gui_rpc" to the line after the "-min" value (add a space for paranoia's sake) so you have: -min -allow_remote_gui_rpc In that after then name of the BOINC executable program. 7) Close all windows and files clicking OK where appropriate. 8) Reboot 9) Test to see if this works. If it does not work, send me $100.00 as a refund ... :) |
Geek@Play Send message Joined: 31 Jul 01 Posts: 2467 Credit: 86,146,931 RAC: 0 |
An easier way is to create a file named Remote_Hosts.cfg which contains ONLY the name of the computer you are monitoring from. Place the file in the boinc directory of each computer running boinc. Then reboot each PC. Boinc....Boinc....Boinc....Boinc.... |
Johnny B Richman Send message Joined: 22 Jun 04 Posts: 14 Credit: 16,672 RAC: 0 |
Thank you for the response. >Paul D. Buck I suppose you are talking about automatic start of BOINC applicattion (Programs->Startup) but I had Windows "service" in my mind... >Geek@Play I tried. It works for my own PC but for other 2 (home network of 3 PCs) not. In BoincView when I try to setup those PCs, I get error message "There seems to be no boinc client behind port 31416. Use port anyway?". The service on those PCs is running, I can "see" those in network. What is wrong? |
Paul D. Buck Send message Joined: 19 Jul 00 Posts: 3898 Credit: 1,158,042 RAC: 0 |
> Thank you for the response. > > >Paul D. Buck > I suppose you are talking about automatic start of BOINC applicattion > (Programs->Startup) but I had Windows "service" in my mind... Ok, :) Control Panel => Administrative tools => services => select BOINC with right click, then select properties, add the parameter in the "Start Parameters". > >Geek@Play > I tried. It works for my own PC but for other 2 (home network of 3 PCs) not. > In BoincView when I try to setup those PCs, I get error message "There seems > to be no boinc client behind port 31416. Use port anyway?". The service on > those PCs is running, I can "see" those in network. What is wrong? You have to add the file with the name or IP address for external viewing too. Both changes are required. One tells BOINC to allow the connections, the other tells BOINC which are authorized. If it is not picking up the name, try the IP addresses or both the IP address and the name (on separate lines). Usually, BOINCView works fine, but at times it has problems with it being started AFTER the other computers. |
Johnny B Richman Send message Joined: 22 Jun 04 Posts: 14 Credit: 16,672 RAC: 0 |
> Control Panel => Administrative tools => services => select BOINC > with right click, then select properties, add the parameter in the "Start > Parameters". Again - I think you do not understand what my problem is. As I wrote I have exactly the same problem as "cheesebyproduct" describes in the very first post in this thread. What you propose works fine but only once at the time. If you reboot, service is started with no parameter again. Therefore here is my question again: How can I persuade Win XP to start the BOINC service with that "-allow_remote_gui_rpc" parameter every time automatically? (I hope I am explaining it clearly) |
Johnny B Richman Send message Joined: 22 Jun 04 Posts: 14 Credit: 16,672 RAC: 0 |
BTW I got impression (by reading this http://boinc.berkeley.edu/gui_rpc_control.php) that in order to run RPC correctly it is necessary either use "-allow_remote_gui_rpc" parameter OR "remote_hosts.cfg" file... And as I wrote my PC (running service with no parameter) is RPC positive; I created "remote_hosts.cfg" file in my BOINC directory and BoincView shows everything properly (well except Messages). I did the same on other 2 PCs but for those it does not work... |
John McLeod VII Send message Joined: 15 Jul 99 Posts: 24806 Credit: 790,712 RAC: 0 |
> BTW I got impression (by reading this > http://boinc.berkeley.edu/gui_rpc_control.php) that in order to run RPC > correctly it is necessary either use "-allow_remote_gui_rpc" parameter OR > "remote_hosts.cfg" file... > And as I wrote my PC (running service with no parameter) is RPC positive; I > created "remote_hosts.cfg" file in my BOINC directory and BoincView shows > everything properly (well except Messages). I did the same on other 2 PCs but > for those it does not work... > Do these machines have a firewall? Are they XP machines that have recently been upgraded to SP2? If so, you need to make certain that the firewall lets these through. BOINC WIKI |
gregh Send message Joined: 10 Jun 99 Posts: 220 Credit: 4,292,549 RAC: 0 |
> > Control Panel => Administrative tools => services => select > BOINC > > with right click, then select properties, add the parameter in the > "Start > > Parameters". > > Again - I think you do not understand what my problem is. As I wrote I have > exactly the same problem as "cheesebyproduct" describes in the very first post > in this thread. What you propose works fine but only once at the time. If you > reboot, service is started with no parameter again. > Therefore here is my question again: How can I persuade Win XP to start the > BOINC service with that "-allow_remote_gui_rpc" parameter every time > automatically? > (I hope I am explaining it clearly) > I dont know what the big deal is, really. I edited the Boinc icon properties thus: "C:\Program Files\BOINC\boinc_gui.exe" -min -allow_remote_gui_rpc -return_results_immediately ....on each machine I have on my home lan running Boinc. Boincview then sees and communicates with every machine day after day after day. The only time that it all falls apart is when Boinc is manually updated by me. The install routine for Boinc ignores any parameters and returns it to just "-min" and I have to go change it back to the way I want on every machine. I dont start it as a service at all. Just add the line above to your Boinc icon in Startup and you'll be OK all the time until you manually update Boinc, at which time you have to reenter it all. Greg. |
texasfit Send message Joined: 11 May 03 Posts: 223 Credit: 500,626 RAC: 0 |
> I know this has been mentioned before in <a> href="http://setiweb.ssl.berkeley.edu/forum_thread.php?id=127">http://setiweb.ssl.berkeley.edu/forum_thread.php?id=127[/url], > but I am unsure of what posters meant when they said that a regedit worked for > them in making this option stick whenever the service started. I am not sure > of what registry key they are referring to, or what they changed. Simply > adding "-allow_remote_gui_rpc" to the end of ImagePath right after > "-win_service" doesn't seem to work, and the client starts without this option > enabled. Placing "-allow_remote_gui_rpc" in the "Start Parameters" works > fine, but this is only a one time thing and doesn't stick when you exit the > properties window. I am curious as to how other people got the service to > start with this option every time. It would definitely help me because I have > many computers running BOINC on my network that it is very inconvenient to > physically walk to, and it would be nice to be able to use BoincView to > control these clients. > I am not running the service but I thought that I would remind everyone of his original guestion. He wants to know how to get the '-allow_remote_gui_rpc' to start when the service starts without having to manually enter that switch. ----------<br> <img src=\"http://boinc.mundayweb.com/seti2/stats.php?userID=924&trans=off\"><br> <a href=\"http://setiweb.ssl.berkeley.edu/team_join_form.php?id=30199\">Join</a> the <a href=\"http://ocforums.com\">Overclockers.com</a> SETI Team! |
Johnny B Richman Send message Joined: 22 Jun 04 Posts: 14 Credit: 16,672 RAC: 0 |
>John McLeod VII You were right. Newly installed SP2 updates. I added port 31416 in the firewall of those PCs and now everything works well. >Gregh You obviously "dont know what the big deal is, really." There are good reasons why to run BOINC as a service. If it's OK for you to run it as an application, then it's OK for you but I needed to run it as a service... >texasfit Good point. It seems that to ask a simple question several times is not enough... So the result is this. If you have several PCs in network and you want to run BOINC on them as a service and you want to watch the results of those PCs, you only need to install the services on each PC ("-install boinc_cli.exe") AND create file "remote_hosts.cfg" in BOINC directory (on each PC) and write the name or IP address of your PC into that file AND enable port 31416 on every PC. That's all and it works well... |
CJOrtega Send message Joined: 15 May 99 Posts: 186 Credit: 1,126,273 RAC: 0 |
If you are running WinXpHome-SP2 with the Windows firewall enabled, check the 'exceptions' table - Boinc_cli - ( edit selection ). I found that it was set for UDP, and when I changed it to TCP, BoincView was able to get data from that system. I didn't create the exception. ?? -- Claude |
©2024 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.