Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 10
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1204 times and has 9 replies Next Thread
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
confused How to setup headless ubuntu server with Boinctask?

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?
[Mar 7, 2016 10:44:52 AM]   Link   Report threatening or abusive post: please login first  Go to top 
SekeRob
Master Cruncher
Joined: Jan 7, 2013
Post Count: 2741
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to setup headless ubuntu server with Boinctask?

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]
[Mar 7, 2016 11:09:07 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to setup headless ubuntu server with Boinctask?

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.
[Mar 7, 2016 1:39:39 PM]   Link   Report threatening or abusive post: please login first  Go to top 
PecosRiverM
Veteran Cruncher
The Great State of Texas
Joined: Apr 27, 2007
Post Count: 1052
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: How to setup headless ubuntu server with Boinctask?

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.


coffee
cowboy
----------------------------------------

[Mar 7, 2016 1:48:31 PM]   Link   Report threatening or abusive post: please login first  Go to top 
SekeRob
Master Cruncher
Joined: Jan 7, 2013
Post Count: 2741
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to setup headless ubuntu server with Boinctask?

You're sampling him the reverse... remote controlling a windows machine which has it's data-folder in \ProgramData\BOINC ;))))
[Mar 7, 2016 1:55:40 PM]   Link   Report threatening or abusive post: please login first  Go to top 
PecosRiverM
Veteran Cruncher
The Great State of Texas
Joined: Apr 27, 2007
Post Count: 1052
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: How to setup headless ubuntu server with Boinctask?

Sorry I'm getting Old biggrin

I'm runing both atm..



coffee
cowboy

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]
[Mar 7, 2016 2:13:27 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to setup headless ubuntu server with Boinctask?

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]
[Mar 7, 2016 9:29:29 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Eric_Kaiser
Veteran Cruncher
Germany (Hessen)
Joined: May 7, 2013
Post Count: 1047
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: How to setup headless ubuntu server with Boinctask?


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
----------------------------------------

[Mar 7, 2016 10:13:12 PM]   Link   Report threatening or abusive post: please login first  Go to top 
KerSamson
Master Cruncher
Switzerland
Joined: Jan 29, 2007
Post Count: 1664
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: How to setup headless ubuntu server with Boinctask?

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.
----------------------------------------
[Mar 28, 2016 9:51:52 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Eric_Kaiser
Veteran Cruncher
Germany (Hessen)
Joined: May 7, 2013
Post Count: 1047
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: How to setup headless ubuntu server with Boinctask?

Good hint! Thanks!
----------------------------------------

[Mar 28, 2016 10:15:37 AM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread