Thread 'Unable to connect remotely - 'Local control only allowed''

Message boards : BOINC Manager : Unable to connect remotely - 'Local control only allowed'
Message board moderation

To post messages, you must log in.

AuthorMessage
Tel29767

Send message
Joined: 2 Oct 05
Posts: 7
Message 6913 - Posted: 11 Dec 2006, 13:20:28 UTC

Firstly, I have scoured the BOINC message boards for an answer to this, as well as the BOINC Wiki, but with no luck.

My problem is that I have three computers running BOINC. One has access to one of the others to control the client, but I can't get the other to work. I've added the remote_hosts.cfg and giu_rpc_auth.cfg files with the appropriate entries, but when I restart the remote client, I get:

11/12/2006 10:55:27||General prefs: from http://bam.boincstats.com/ (last modified 2006-11-19 18:13:46)
11/12/2006 10:55:27||General prefs: no separate prefs for home; using your defaults
11/12/2006 10:55:27||Local control only allowed
11/12/2006 10:55:27||Listening on port 31416

I must have done something correct to get the working computer to connect remotely, but can't remember what it was.

Can anyone help?
ID: 6913 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15561
Netherlands
Message 6914 - Posted: 11 Dec 2006, 14:45:15 UTC

Both computers need the remote_host.cfg file. The first with the IP address of the other, the other with the IP address of the first.
ID: 6914 · Report as offensive
ProfileTrog Dog
Avatar

Send message
Joined: 6 May 06
Posts: 287
Australia
Message 6919 - Posted: 11 Dec 2006, 21:31:18 UTC - in response to Message 6913.  

Firstly, I have scoured the BOINC message boards for an answer to this, as well as the BOINC Wiki, but with no luck.

My problem is that I have three computers running BOINC. One has access to one of the others to control the client, but I can't get the other to work. I've added the remote_hosts.cfg and giu_rpc_auth.cfg files with the appropriate entries, but when I restart the remote client, I get:

11/12/2006 10:55:27||General prefs: from http://bam.boincstats.com/ (last modified 2006-11-19 18:13:46)
11/12/2006 10:55:27||General prefs: no separate prefs for home; using your defaults
11/12/2006 10:55:27||Local control only allowed
11/12/2006 10:55:27||Listening on port 31416

I must have done something correct to get the working computer to connect remotely, but can't remember what it was.

Can anyone help?


Is the one that you are giving control to on when you restart BOINC on the remote computers?

Are you seeing a message like GUI rpc from unathorised host ip:x.x.x.x - can't remember the exact wording.

Check that your controlling computers firewall is not blocking any BOINC traffic.


CIC1=CC=C(C2=N[C@@H](CC(OC(C)(C)C)=O)C3=NN=C(C)N3C4=C2C(C)=C(C)S4)C=C1
ID: 6919 · Report as offensive
ProfileTrog Dog
Avatar

Send message
Joined: 6 May 06
Posts: 287
Australia
Message 6920 - Posted: 11 Dec 2006, 21:34:15 UTC - in response to Message 6914.  

Both computers need the remote_host.cfg file. The first with the IP address of the other, the other with the IP address of the first.


Don't have to do that with my boxes. remote_host.cfg needs to be on both remote boxes with ip or name of the box that that will be accessing them.
CIC1=CC=C(C2=N[C@@H](CC(OC(C)(C)C)=O)C3=NN=C(C)N3C4=C2C(C)=C(C)S4)C=C1
ID: 6920 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15561
Netherlands
Message 6921 - Posted: 11 Dec 2006, 21:36:00 UTC - in response to Message 6920.  

remote_host.cfg needs to be on both remote boxes with ip or name of the box that that will be accessing them.

Yes, well, that's what I meant. ;)

oops.
ID: 6921 · Report as offensive
Tel29767

Send message
Joined: 2 Oct 05
Posts: 7
Message 6923 - Posted: 11 Dec 2006, 23:13:39 UTC

Thanks for everyone's help so far.

However, still no luck. The controlling PC didn't have a remote_hosts.cfg file, yet there is still one of the two remote PCs that I can access. I've added the file anyway with both remote PCs specified in it, I've checked the firewall but still nothing. I see from later posts that you actually meant each of the remote computers - not the local and remote as I first assumed.

Why does the client issue the 'Local control only allowed' message at startup?

I must admit, I don't really understand firewalls too well. I've set up a rule to allow TCP connections via port 31416 - is TCP the correct protocal to allow?

Strangely, I can access what is supposed to be the controlling PC from the PC I can't access (if you follow me)! So the remote PC can control the mast, but not the other way around.

Also, is selecting 'Exit' from the 'File' menu good enough for a restart? I'm assuming that the client will terminate when BOINC Manager does.

Do I need the -allow_remote_gui_rpc option? If so, how do I pass this to the client from thr manager (the startup is using a shortcut)?
ID: 6923 · Report as offensive
Tel29767

Send message
Joined: 2 Oct 05
Posts: 7
Message 6924 - Posted: 11 Dec 2006, 23:18:17 UTC

BTw - in case it makes a difference, I'm using Norton Internet Security 2007 with most (but not all) settings left to default.
ID: 6924 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15561
Netherlands
Message 6925 - Posted: 11 Dec 2006, 23:33:55 UTC

If you made the remote_hosts.cfg file in something like Notepad, have you made sure you saved it as a .cfg file? Make sure it didn't get an extra .txt extension!

TCP port 31416 is only used on the localhost. It's not a network/internet connection. It's only used so Boinc.exe, Boincmgr.exe and Boinc.scr can communicate with each other.

Just checking, but you don't run Boinc as a service, do you? Else you need to stop the BOINC service and restart it.
Have you tried a reboot?
ID: 6925 · Report as offensive
Tel29767

Send message
Joined: 2 Oct 05
Posts: 7
Message 6926 - Posted: 12 Dec 2006, 0:22:59 UTC

How stupid do I now feel?

I took your advice and checked the file extensions - only then did I realise that I hadn't set the option to display known extensions. Renamed the files, restarted the GUI and all is now working as it should.

Thanks very much for your help - I was about to start tearing my hair out as, as far as I could see, I was doing everything right (which I was - nearly).
ID: 6926 · Report as offensive
ProfileTrog Dog
Avatar

Send message
Joined: 6 May 06
Posts: 287
Australia
Message 6928 - Posted: 12 Dec 2006, 10:22:34 UTC - in response to Message 6926.  

I took your advice and checked the file extensions - only then did I realise that I hadn't set the option to display known extensions. Renamed the files, restarted the GUI and all is now working as it should.

Thanks very much for your help - I was about to start tearing my hair out as, as far as I could see, I was doing everything right (which I was - nearly).


Glad you got it sorted.

Well picked Jord/Ageless :)
CIC1=CC=C(C2=N[C@@H](CC(OC(C)(C)C)=O)C3=NN=C(C)N3C4=C2C(C)=C(C)S4)C=C1
ID: 6928 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15561
Netherlands
Message 6931 - Posted: 12 Dec 2006, 14:19:07 UTC

Glad I could be of help. :-)
ID: 6931 · Report as offensive

Message boards : BOINC Manager : Unable to connect remotely - 'Local control only allowed'

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.