Message boards : BOINC Manager : BOINC in Linux
Message board moderation
Author | Message |
---|---|
Send message Joined: 9 Mar 06 Posts: 2 |
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." |
Send message Joined: 14 Dec 05 Posts: 21 |
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 |
Send message Joined: 16 Mar 06 Posts: 2 |
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. |
Send message Joined: 5 Jan 06 Posts: 23 |
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. 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) |
Send message Joined: 31 May 06 Posts: 3 |
It takes some work, and a lot of reading and of course like anything else, lots of patience. 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 |
Send message Joined: 6 Jun 06 Posts: 12 |
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' |
Send message Joined: 6 May 06 Posts: 287 |
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. 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 |
Send message Joined: 31 May 06 Posts: 3 |
It takes some work, and a lot of reading and of course like anything else, lots of patience. 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. |
Send message Joined: 20 Jul 06 Posts: 1 |
I'm running SUSE Linux 10, and have similar questions/issues. 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 |
Send message Joined: 26 Aug 05 Posts: 164 |
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 |
Send message Joined: 31 May 06 Posts: 3 |
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: |
Send message Joined: 22 Jul 06 Posts: 5 |
same problem under fresh installs of fedora core 5 boincmgr does not see the variable BROWSER |
Send message Joined: 23 Jul 06 Posts: 3 |
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... |
Send message Joined: 22 Jul 06 Posts: 5 |
got it to work in FC5 by adding the export to .bashrc [and relogin] simply adding export to a terminal was futile |
Send message Joined: 23 Jul 06 Posts: 3 |
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? |
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.