Thread 'BOINC in Linux'

Message boards : BOINC Manager : BOINC in Linux
Message board moderation

To post messages, you must log in.

AuthorMessage
Myrton

Send message
Joined: 9 Mar 06
Posts: 2
United States
Message 3404 - Posted: 9 Mar 2006, 10:55:59 UTC

It takes some work, and a lot of reading and of course like anything else, lots of patience.

Ok. I have the BOINC manager running in Linux, using Ubuntu Dapper Drake v.604 (Flight 5).

There are still some things that refuse to work, they way I think they should be working within the BOINC manager.

On startup, the BOINC manager starts and does all the magic of attaching two projects, in its own window.

So just for the heck of it, after reading a number of posts, I tried the following to see if it would change some of the events within the manager.

1. I opened a terminal window, and ./run_client
2. Opened 2nd window, and ./run_manager
In that order.

In the BOINC manager window, PROJECTS, WEB SITES, I still have the same error? message if you want to call it that.

BOINC could not determine what your default browser is, no matter which of the options selected under WEB SITES.

Will keep plugging away at it as times allows.

Cheers.... ..




"Find solutions, not fault."
ID: 3404 · Report as offensive
bt1228

Send message
Joined: 14 Dec 05
Posts: 21
Canada
Message 3472 - Posted: 13 Mar 2006, 14:50:05 UTC

I'm running SUSE Linux 10, and have similar questions/issues.

Here's what I discovered.

- All I need to do to get everything working is just run the Manager (the GUI). I don't need to run the Client. The Manager does this in the background.

- The manager needs to be running all the time. If you close the Manager, the projects stop running. I just minimize the Manager.

- I don't start BOIC automatically. I leave the machine running 7x24 so it's not a big issue for me. I'll get around to setting this up later.

- I get the same error as you, when I click on the project's web site inside the manager. I'm a Linux newbie, and i'm not sure where you assign the default MIME settings.

--- bt
ID: 3472 · Report as offensive
otchie1

Send message
Joined: 16 Mar 06
Posts: 2
Cuba
Message 3520 - Posted: 16 Mar 2006, 14:53:58 UTC
Last modified: 16 Mar 2006, 15:18:57 UTC

I can solve that for you. In linux a series of environment variables are stored that relate to certain default attributes like HOSTNAME or LOCALE. One of these environment variables is called BROWSER and often it is not set by default.

You need to be root to do this.

edit the file /etc/profile with a convenient app like vi or nano and add this to the end,

BROWSER="<path/to/your/browser"

save and you're done. The simplest way for this to be read by BOINC is simply to reboot but you could try maybe export $BROWSER from the command line and just restart BOINC.

By way of example, I use mozilla and the mozilla binary's full path is /opt/mozilla/bin/mozilla so my extra line is

BROWSER="/opt/mozilla/bin/mozilla"

You can find the exact path using the whereis command,

whereis mozilla

You will also find the acroread package useful. In ArchLinux this is as simple as,

pacman -Sy acroread

but I'm sure SuSe/RH/FC/Debian have something similar
enjoy.
ID: 3520 · Report as offensive
Profiletekwyzrd
Avatar

Send message
Joined: 5 Jan 06
Posts: 23
United States
Message 3541 - Posted: 18 Mar 2006, 1:43:58 UTC - in response to Message 3520.  
Last modified: 18 Mar 2006, 1:54:09 UTC

I can solve that for you. In linux a series of environment variables are stored that relate to certain default attributes like HOSTNAME or LOCALE. One of these environment variables is called BROWSER and often it is not set by default.

You need to be root to do this.

edit the file /etc/profile with a convenient app like vi or nano and add this to the end,

BROWSER="<path/to/your/browser"

save and you're done. The simplest way for this to be read by BOINC is simply to reboot but you could try maybe export $BROWSER from the command line and just restart BOINC.

By way of example, I use mozilla and the mozilla binary's full path is /opt/mozilla/bin/mozilla so my extra line is

BROWSER="/opt/mozilla/bin/mozilla"

You can find the exact path using the whereis command,

whereis mozilla

You will also find the acroread package useful. In ArchLinux this is as simple as,

pacman -Sy acroread

but I'm sure SuSe/RH/FC/Debian have something similar
enjoy.


Sorry to disappoint you but this doesn't work on SuSE 10.0 with KDE.

It would make things so much easier if boinc referred to a config or preferences file in the boinc directory for this info. Just open the file with a text editor and type or paste the path to the user's preferred browser. Or, better yet, an Advanced\\Select Browser option with a file system browser window to select the web browser and set the necessary value in the config or preferences file.

Nothing travels faster than the speed of light with the possible exception of bad news, which obeys its own special laws.
Douglas Adams (1952 - 2001)
ID: 3541 · Report as offensive
ProfilePaul_E_T

Send message
Joined: 31 May 06
Posts: 3
United States
Message 4606 - Posted: 31 May 2006, 15:58:45 UTC - in response to Message 3404.  

It takes some work, and a lot of reading and of course like anything else, lots of patience.
Ok. I have the BOINC manager running in Linux, using Ubuntu Dapper Drake v.604 (Flight 5).
There are still some things that refuse to work, ....


BOINC in Linux message board
Ref to: Myrton ID: 959
Message 3404 - Posted 9 Mar 2006 10:55:59 UTC

Myrton I'm having the same sticky problem. Really annoying. Have you been able to figure it out yet?
From what I can analize it seems that the problem is in the BOINC manager software where a path (looks for IE MS Win) may have been hard coded in.
I'm running CENTOS 4.3 ( a Red Hat offshoot). Using Firefox 1.0.5??
I'm having trouble locating my browser's path. Really. Also cannot find reference to variable named "BROWSER".
come back please


ID: 4606 · Report as offensive
Graeme Hewson

Send message
Joined: 6 Jun 06
Posts: 12
United Kingdom
Message 4663 - Posted: 6 Jun 2006, 18:18:30 UTC

I experienced the same problem when I upgraded from Kubuntu 5.10 to 6.06. I had installed BOINC from the BOINC website, but now I've used Adept to get the boinc-client and boinc-manager packages, and it's going OK.

---

For the record, if anyone's interested, I ran strace on the problem version and found it was issuing:

execve("/usr/bin/xterm", ["xterm", "-e", "sh", "-c", "less ", "http://boinc.berkeley.edu/manage"...]

$BROWSER is set, and manually issuing "$BROWSER http://boinc.berkeley.edu/" works fine. $PAGER isn't set. Using strings on boincmgr, I saw this:

PAGER
xterm -e sh -c '%s'

ID: 4663 · Report as offensive
ProfileTrog Dog
Avatar

Send message
Joined: 6 May 06
Posts: 287
Australia
Message 4665 - Posted: 7 Jun 2006, 12:11:23 UTC - in response to Message 3520.  

I can solve that for you. In linux a series of environment variables are stored that relate to certain default attributes like HOSTNAME or LOCALE. One of these environment variables is called BROWSER and often it is not set by default.

You need to be root to do this.

edit the file /etc/profile with a convenient app like vi or nano and add this to the end,

BROWSER="/path/to/your/browser"


and

export BROWSER

then save and exit as posted by Brian over on the Rosetta boards. Works for me :)
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: 4665 · Report as offensive
ProfilePaul_E_T

Send message
Joined: 31 May 06
Posts: 3
United States
Message 5026 - Posted: 16 Jul 2006, 11:38:05 UTC - in response to Message 3404.  

It takes some work, and a lot of reading and of course like anything else, lots of patience.


There are still some things that refuse to work, they way I think they should be working within the BOINC manager.
....................clipped..................

BOINC could not determine what your default browser is, no matter which of the options selected under WEB SITES.


In my Centos 4.3 system, when one makes a new user, a user dot profile in not created for the new user. Placing a .profile in root or anywhere else will not work (BROWSER=) depending where the Boinc client and manager is located in the file system. I had to creat .profile in my user directory for the BROWSER variable to work correctly since that is where Boinc is located. Don't forget to EXPORT. Other shell variables may need the same treatment.

ID: 5026 · Report as offensive
EBSDallas

Send message
Joined: 20 Jul 06
Posts: 1
United States
Message 5064 - Posted: 20 Jul 2006, 3:11:13 UTC - in response to Message 3472.  

I'm running SUSE Linux 10, and have similar questions/issues.

Here's what I discovered.

- All I need to do to get everything working is just run the Manager (the GUI). I don't need to run the Client. The Manager does this in the background.

- The manager needs to be running all the time. If you close the Manager, the projects stop running. I just minimize the Manager.

- I don't start BOIC automatically. I leave the machine running 7x24 so it's not a big issue for me. I'll get around to setting this up later.

- I get the same error as you, when I click on the project's web site inside the manager. I'm a Linux newbie, and i'm not sure where you assign the default MIME settings.

--- bt


I could have written this post myself. I'm also using SUSE 10.1 and I've tried modifying /etc/profile by adding BROWSER="/usr/lib/firefox/firefox.sh" then BROWSER="/usr/lib/firefox/" without any luck.

I'm about to give up on it.

EBS

ID: 5064 · Report as offensive
Rom Walton
Project developer
Avatar

Send message
Joined: 26 Aug 05
Posts: 164
Message 5066 - Posted: 20 Jul 2006, 5:13:43 UTC
Last modified: 20 Jul 2006, 10:24:08 UTC

Have you all tried adding this to .bashrc:

export BROWSER="/usr/bin/firefox"


We are working on a new release, this will be the first release that is customized for the top three distro's which includes SUSE 10.1. I believe we'll have these kinks worked out for the upcoming release.

Edit: I just tried the above with a SUSE VM and it worked. You'll need to logout and then log back in to pickup the changes within the gnome/kde environment.

----- Rom
BOINC Development Team, U.C. Berkeley
My Blog
ID: 5066 · Report as offensive
ProfilePaul_E_T

Send message
Joined: 31 May 06
Posts: 3
United States
Message 5071 - Posted: 20 Jul 2006, 13:32:27 UTC - in response to Message 5066.  

Where is the ".bashrc" file located (path) in the three systems? What user did you use to create the .bashrc file (permissions)? What is the impact of a dot bashrc in different locations, i.e. /usr, /, /usr/bin, /home, etc. in Linux systems? I just used/created the dot profile in my /home/usrname that worked in Centros 4.3 as noted below (#5026).

Have you all tried adding this to .bashrc:

export BROWSER="/usr/bin/firefox"


We are working on a new release, this will be the first release that is customized for the top three distro's which includes SUSE 10.1. I believe we'll have these kinks worked out for the upcoming release.

Edit: I just tried the above with a SUSE VM and it worked. You'll need to logout and then log back in to pickup the changes within the gnome/kde environment.


ID: 5071 · Report as offensive
Profilegodfree2

Send message
Joined: 22 Jul 06
Posts: 5
Canada
Message 5095 - Posted: 22 Jul 2006, 19:44:59 UTC - in response to Message 3404.  

same problem under fresh installs of fedora core 5

boincmgr does not see the variable BROWSER
ID: 5095 · Report as offensive
Keef

Send message
Joined: 23 Jul 06
Posts: 3
United Kingdom
Message 5106 - Posted: 23 Jul 2006, 22:46:54 UTC
Last modified: 23 Jul 2006, 22:48:00 UTC

I've had this problem since forever, and finally decided to fix it.

BROWSER is set, and points correctly to Firefox.
$BROWSER http://boinc.berkeley.edu works perfectly when typed into a shell.

I'm using BOINC 5.4.9 with Fedora Core 5.

What more do I need to do?

I can live with it, but it is annoying that having - as I thought - fixed it...
ID: 5106 · Report as offensive
Profilegodfree2

Send message
Joined: 22 Jul 06
Posts: 5
Canada
Message 5109 - Posted: 24 Jul 2006, 0:39:27 UTC

got it to work in FC5 by adding the export to .bashrc [and relogin]
simply adding export to a terminal was futile

ID: 5109 · Report as offensive
Keef

Send message
Joined: 23 Jul 06
Posts: 3
United Kingdom
Message 5110 - Posted: 24 Jul 2006, 0:59:12 UTC

This is my .bashrc:
______________________________

# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

# User specific aliases and functions

# Added by Keef 23 July 2006
BROWSER=/usr/bin/firefox

_______________________________

It seems to be working, because if I type set at a command line, the BROWSER statement is there.

Is there a separate .bashrc for BOINC, hidden somewhere?
ID: 5110 · Report as offensive

Message boards : BOINC Manager : BOINC in Linux

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.