Index | Recent Threads | Unanswered Threads | Who's Active | Guidelines | Search |
World Community Grid Forums
Category: Community Forum: Hardware Chat Room Thread: How to setup headless ubuntu server with Boinctask? |
No member browsing this thread |
Thread Status: Active Total posts in this thread: 10
|
Author |
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Hello everyone
I tried to setup Boinctask to control my headless ubuntu servers but I can't get it to work with the tutorials I found (they all imply that I have a graphical interface). Can anyone help me? |
||
|
SekeRob
Master Cruncher Joined: Jan 7, 2013 Post Count: 2741 Status: Offline |
Think all you need to do is add the line
----------------------------------------<allow_remote_gui_rpc>1</allow_remote_gui_rpc> to the <options> section of the cc_config.xml file Alternate, you set up the allowed IPs in the remote_hosts.cfg Trouble is, with the latter you have to specify the IPs, where with the first you don't have to. (And vaguely remember following the BOINCTasks instruction on all my remote hosts and it worked fine). Edit: Of course it speaks for itself you need to allow RPC traffic through your Ubuntu firewall, port 31416, or things might not get through. Depends if it is on or off... [Edit 1 times, last edit by SekeRob* at Mar 7, 2016 11:10:42 AM] |
||
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Thank you, will try that tonight.
Working with Ubuntu Headless on those servers i'm now considering running ubuntu on my PC in general. Will start with dual boot and see how we get along. |
||
|
PecosRiverM
Veteran Cruncher The Great State of Texas Joined: Apr 27, 2007 Post Count: 1052 Status: Offline Project Badges: |
I'm just learning Ubuntu but, when I setup mine there were 2 files.
----------------------------------------remote_hosts.cfg - with the IP of computer running Boinctask gui_rpc_auth.cfg - with the password you want to use (I changed this) both go into the \ProgramData\BOINC folder where ever that is located I then went to Boinctask and entered the IP and password and it showed up. I forget the sudo commands I used have to see where I wrote them down. |
||
|
SekeRob
Master Cruncher Joined: Jan 7, 2013 Post Count: 2741 Status: Offline |
You're sampling him the reverse... remote controlling a windows machine which has it's data-folder in \ProgramData\BOINC ;))))
|
||
|
PecosRiverM
Veteran Cruncher The Great State of Texas Joined: Apr 27, 2007 Post Count: 1052 Status: Offline Project Badges: |
Sorry I'm getting Old
----------------------------------------I'm runing both atm.. After another cup of coffee and blood now flowing to brain. Try this: Boinctask on Ubuntu [Edit 1 times, last edit by PecosRiverM at Mar 7, 2016 2:25:57 PM] |
||
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
wohoo I got it, thanks guys
----------------------------------------2 things that made it work: <allow_remote_gui_rpc>1</allow_remote_gui_rpc> to the <options> section of the cc_config.xml file and adjust Port in BoincTasks to 31416 so if someone else is a noob like me, on the headless ubuntu server (as root): cd /etc/boinc-client nano cc_config.xml - add the following line in the options (green in putty): <allow_remote_gui_rpc>1</allow_remote_gui_rpc> safe and close: ctrl-o [enter] ctlx-x restart client (Thank you, Eric!) sudo /etc/init.d/boinc-client restart add server in BoincTasks with server IP and port 31416 wait a few seconds - tadaaaaa [Edit 2 times, last edit by Former Member at Mar 8, 2016 5:26:49 AM] |
||
|
Eric_Kaiser
Veteran Cruncher Germany (Hessen) Joined: May 7, 2013 Post Count: 1047 Status: Offline Project Badges: |
restart client, or if you don't know how, like me, reboot :D I'm glad you made it. :) And the command you might be looking for to restart boinc is: sudo /etc/init.d/boinc-client restart |
||
|
KerSamson
Master Cruncher Switzerland Joined: Jan 29, 2007 Post Count: 1664 Status: Offline Project Badges: |
If you maintain an up-to-date hosts table (/etc/hosts), you can put the hostname of the allowed remote hosts into remote_hosts.cfg instead of the IP address.
---------------------------------------- |
||
|
Eric_Kaiser
Veteran Cruncher Germany (Hessen) Joined: May 7, 2013 Post Count: 1047 Status: Offline Project Badges: |
Good hint! Thanks!
---------------------------------------- |
||
|
|