gui rpc?

paul milton
paul milton
Joined: 16 Sep 05
Posts: 329
Credit: 35825044
RAC: 0
Topic 194185

hello folks, im a linux newb and just installed boinc on ubuntu, i used the package manager to do so, now i want to manage boinc remotely so im attempting to "copy" a premade remote_hosts.cfg and gui_rpc_auth.cfg file in to etc/boinc-client folder, but i get an error permission denied. any idea what im doing wrong?

seeing without seeing is something the blind learn to do, and seeing beyond vision can be a gift.

Michael Karlinsky
Michael Karlinsky
Joined: 22 Jan 05
Posts: 888
Credit: 23502182
RAC: 0

gui rpc?

Hi Paul,

you have to start the client with "-allow_remote_gui_rpc" command line option.

HTH

Michael

KSMarksPsych
KSMarksPsych
Moderator
Joined: 15 Oct 05
Posts: 2702
Credit: 4090227
RAC: 0

You also need to be able to

You also need to be able to write to the BOINC directory.

Check out the bottom of this page from the Wiki.

Kathryn :o)

Einstein@Home Moderator

paul milton
paul milton
Joined: 16 Sep 05
Posts: 329
Credit: 35825044
RAC: 0

RE: You also need to be

Message 90401 in response to message 90400

Quote:

You also need to be able to write to the BOINC directory.

Check out the bottom of this page from the Wiki.

i dont wonna sound like im windows dependant here, but i really dont like running a command line / shell command with out knowing exactly what it and its options do. shame i cant just add myself to the boinc group... or can i? and why is gui_rpc_auth.cfg in two different spots? and is it the same for the remote hosts file?

seeing without seeing is something the blind learn to do, and seeing beyond vision can be a gift.

Dagorath
Dagorath
Joined: 22 Apr 06
Posts: 146
Credit: 226423
RAC: 0

RE: RE: You also need to

Message 90402 in response to message 90401

Quote:
Quote:

You also need to be able to write to the BOINC directory.

Check out the bottom of this page from the Wiki.

i dont wonna sound like im windows dependant here, but i really dont like running a command line / shell command with out knowing exactly what it and its options do. shame i cant just add myself to the boinc group... or can i? and why is gui_rpc_auth.cfg in two different spots? and is it the same for the remote hosts file?

I think you'll find there is only 1 gui_rpc_auth.cfg and the other is just a link to the real one.

If you want to know what a command does, use the man command followed by the name of the command, eg. man chown, man usermod and man man. Man is short for manual and it gives you the manual page for the command.

As far as I can tell, on Ubuntu it doesn't matter what you put in gui_rpc_auth.cfg because the BOINC client in the Ubuntu package will accept only a blank password. Probably best if you just make yourself a member of the boinc group then create and edit the files where you want them. If you move them in you'll need to change the owner on them anyway. Do sudo usermod -G boinc -a pmilton to make pmilton a member of boinc group.

paul milton
paul milton
Joined: 16 Sep 05
Posts: 329
Credit: 35825044
RAC: 0

RE: RE: RE: You also

Message 90403 in response to message 90402

Quote:
Quote:
Quote:

You also need to be able to write to the BOINC directory.

Check out the bottom of this page from the Wiki.

i dont wonna sound like im windows dependant here, but i really dont like running a command line / shell command with out knowing exactly what it and its options do. shame i cant just add myself to the boinc group... or can i? and why is gui_rpc_auth.cfg in two different spots? and is it the same for the remote hosts file?

I think you'll find there is only 1 gui_rpc_auth.cfg and the other is just a link to the real one.

If you want to know what a command does, use the man command followed by the name of the command, eg. man chown, man usermod and man man. Man is short for manual and it gives you the manual page for the command.

As far as I can tell, on Ubuntu it doesn't matter what you put in gui_rpc_auth.cfg because the BOINC client in the Ubuntu package will accept only a blank password. Probably best if you just make yourself a member of the boinc group then create and edit the files where you want them. If you move them in you'll need to change the owner on them anyway. Do sudo usermod -G boinc -a pmilton to make pmilton a member of boinc group.

thanks. sadly it didnt work, i tryd paul milton, apparantly it dosent like spaces. i went in to the GUI and saw that i am part of the "boinc" group but still cant write files to the boinc-cliant directory.

id do the man pages thing but this is on a laptop and im legally blind, the laptop was givin to me as it was gonna be scrapped, and since i cant see the screen im using it for boinc. i tryd orca but i cant find any doccumentation on its commands.

oh well, i got it attatchd atleast. tho i did have a nifty...

Mon 09 Feb 2009 03:07:14 AM EST|Einstein@Home|Task h1_0591.00_S5R4__416_S5R5a_1 exited with zero status but no 'finished' file
Mon 09 Feb 2009 03:07:14 AM EST|Einstein@Home|If this happens repeatedly you may need to reset the project.

question, if i close boinc manager will this still run in the background?

seeing without seeing is something the blind learn to do, and seeing beyond vision can be a gift.

Michael Karlinsky
Michael Karlinsky
Joined: 22 Jan 05
Posts: 888
Credit: 23502182
RAC: 0

RE: question, if i close

Quote:

question, if i close boinc manager will this still run in the background?

Yes it does, try "top" in command line and check if any projects are running.

Michael

Dagorath
Dagorath
Joined: 22 Apr 06
Posts: 146
Credit: 226423
RAC: 0

paul milton wrote:thanks.

Message 90405 in response to message 90403

paul milton wrote:
thanks. sadly it didnt work, i tryd paul milton, apparantly it dosent like spaces.

I used pmilton just as an example because I have no idea what your Linux username is. I was just guessing that it might be pmilton. It could be paul, milton or bob for all I know. The command should be like "usermod -G boinc -a " except you substitute your username for . Your username is the name of the account you login on to use the computer, in other words your Linux user account name. Linux user account names are always one word.

paul milton wrote:
i went in to the GUI and saw that i am part of the "boinc" group but still cant write files to the boinc-cliant directory.

I have no idea what you mean when you say the GUI tells you that you are part of the boinc group. Which GUI are you refering to? Anyway, it sounds like you somehow made your Ubuntu login name a member of the boinc group. If that is true and you still cannot write to directories owned by boinc, the most likely reason is that members of boinc group do not have write permission on boinc's folders. Turn on write permission for group members with the command "chmod g+w directory" where directory is the name of the directory for which members of group boinc want write permission. I am not 100% sure which folder you want write permission for but if it's /etc/boinc-client then the command would be "chmod g+w /etc/boinc-client". The "g+w" means "give write permission to the group. Using a minus sign instead of the plus sign removes the write permission.

paul milton wrote:
id do the man pages thing but this is on a laptop and im legally blind, the laptop was givin to me as it was gonna be scrapped, and since i cant see the screen im using it for boinc. i tryd orca but i cant find any doccumentation on its commands.

I don't know what orca is and I have no idea how you interface with the computer. For exmple, I have no idea how you receive this message and respond to it. Is it all via braille? Or perhaps text to speech and speech to text? Anyway I am sure it's not easy for you because it's not easy even for sighted people. I commend you on your effort and patience.

paul milton wrote:

oh well, i got it attatchd at least. tho i did have a nifty...

Mon 09 Feb 2009 03:07:14 AM EST|Einstein@Home|Task h1_0591.00_S5R4__416_S5R5a_1 exited with zero status but no 'finished' file
Mon 09 Feb 2009 03:07:14 AM EST|Einstein@Home|If this happens repeatedly you may need to reset the project.

At this point, consider that more of a warning than an error message. If you get many more then action is required but don't worry about it for now. And congratulations on getting it attached, job well done!

paul milton wrote:
question, if i close boinc manager will this still run in the background?

If you are running it as a daemon service and I suspect you are then yes, it will continue to run after you exit BOINC manager. It will start to run even before you login to the computer and will continue running even after you log off unless you halt the service or turn the computer off after you logout.

Use the command "/etc/init.d/boinc-client status" to tell if the daemon is running. There are other useful commands for working with the daemon at Stop or start BOINC daemon after boot.

Dagorath
Dagorath
Joined: 22 Apr 06
Posts: 146
Credit: 226423
RAC: 0

michael wrote:paul milton

Message 90406 in response to message 90404

michael wrote:
paul milton wrote:

question, if i close boinc manager will this still run in the background?

Yes it does, try "top" in command line and check if any projects are running.

Michael

Not to be argumentative, just to give Paul a quick Linux tutorial with thoughts and considerations for special needs of the blind...

The top command is an easy way for sighted people to check see what is running but I wonder if top is useful for blind people such as Paul, considering how often the table is updated? I mean if he's using a text to speach thing then the table could change even before the speaker gets to the end unless the speaker talks very fast. If he reads the table in braille then... well ok... maybe he can read braille faster than you and I can read text on a screen. I dunno, I've never tried it :)

The "ps aux" command may be more useful for Paul though it outputs a very long list and probably contains more info than needed. The command "ps aux | grep boinc" filters ps's output through grep which shows only lines that contain the word boinc. All other lines are discarded thereby shortening the list to just processes of interest.

If configured to run as a daemon, the command "/etc/init.d/boinc-client status" is probably the easiest way to tell if the client is running.

paul milton
paul milton
Joined: 16 Sep 05
Posts: 329
Credit: 35825044
RAC: 0

thanks for the help guys, and

Message 90407 in response to message 90406

thanks for the help guys, and thanks for being patiant with me. i ran the command and still no luck, im assuming it worked as i got no message just a new line. heres what i get when i try to cp the file i have on the desktop to the directory...

paul@linux-laptop:/etc/boinc-client$ cp /home/paul/Desktop/remote_hosts.cfg /etc/boinc-client/
cp: cannot create regular file `/etc/boinc-client/remote_hosts.cfg': Permission denied

some background, orca is the screen reader built in to gnome, tends to have a britsh accent which i actually like over microsoft sam.

by gui i mean ubuntu's gui.

dagorath, thank you, you are correct top updates too fast for orca, but ps aux | grep boinc workd perfectly.

some personl info to help, im legally blind with a visual acuaty of 20/400 the best way i can explain this is what a person with 20/20 can see at 400 feet away i have to be 20 feet from. since i primaraly use windows "jaws" (screen reader thats about $800) is out of the question, ive adapted over the years. i have a 20 inch monitor that im about 4 inches from. my specific visual problem is "astigmic myopia with nastagnus" in plain english, im farsighted, nearsighted, and my eyes jitter. im all so color blind. started doing boinc as i figured it was a hobby i could actually do with my vision.

hope this helps. as for the remote access to boinc i dont really "need" it, id just prefer it. right now im using vnc to access that system. and i just know its eating up cpu cycles big time to send over the data to this system.

seeing without seeing is something the blind learn to do, and seeing beyond vision can be a gift.

Dagorath
Dagorath
Joined: 22 Apr 06
Posts: 146
Credit: 226423
RAC: 0

RE: thanks for the help

Message 90408 in response to message 90407

Quote:

thanks for the help guys, and thanks for being patiant with me. i ran the command and still no luck, im assuming it worked as i got no message just a new line. heres what i get when i try to cp the file i have on the desktop to the directory...

paul@linux-laptop:/etc/boinc-client$ cp /home/paul/Desktop/remote_hosts.cfg /etc/boinc-client/
cp: cannot create regular file `/etc/boinc-client/remote_hosts.cfg': Permission denied

It's a just a permissions problem. Could it be /home/paul/Desktop/remote_hosts.cfg is owned by some third person (neither you nor boinc) and Ubuntu won't let you copy that into a directory owned by boinc? Or maybe after making youself a member of boinc group you need to reboot before you can actually copy files into boinc group? If reboot doesn't help then let's look at the permissions and ownerships. Note the following commands have a "minus el" in them not a "minus one".

1) do ls -l /home/paul/Desktop/remote_hosts.cfg and copy/paste the output here

2) do ls -l /etc and copy/paste the output here

Thanks for telling us more about your condition. Would it help if we put our posts to you in large font? Or do you just not even bother trying to read them and just use text to speech on forum messages?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.