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: 7
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1472 times and has 6 replies Next Thread
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
[RESOLVED] Manager not launching browser

Stupid newbi questions, I know, but I'm at a loss.

I'm now running Ubuntu Natty 11.04, and downloaded the Linux version of BOINC. Got it installed just fine, but have a few questions.

It's my understanding that I need to run the "run_client" script at system startup. No problem there. But when I run the "run_manager" script in gnome, it seems that the manager restarts all running processes when it initializes? Am I seeing that correctly. I guess that's not too much of an issue, I just want to make sure I'm doing this right.

An annoyance here.... When I was running BOINC under WIN XP, and I was in the advanced view, on the first page where you can click on stats and stuff, my browser would launch and take me to the World Community Grid website.

Now under Linux, no browser is launched. I'm using Chrome on this machine. Any ideas there?

Thanks for any ideas you might have,
Kevin
----------------------------------------
[Edit 1 times, last edit by Former Member at Aug 31, 2011 8:53:58 PM]
[Aug 23, 2011 4:55:01 AM]   Link   Report threatening or abusive post: please login first  Go to top 
marvey11
Advanced Cruncher
Germany
Joined: Apr 2, 2011
Post Count: 89
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Manager not launching browser

I have two questions myself first: Is it correct that you manually downloaded and installed a BOINC client? If that is the case, is there any special reason why you're not using one of the clients directly supplied by Ubuntu/Debian?

Installing a BOINC client on Ubuntu is as easy as:
sudo apt-get install boinc
You can, of course, also use a graphical package manager to install the boinc package.

If you had done this, then there would be no playing around with any run_client or run_manager scripts. The client will then simply start when booting your computer and stop when shutting down your computer.

Since for that reason I don't have these scripts you mentioned I can only guess what your problem is. I think the run_client script does more or less what the init/startup script does on my machine. The BOINC client can also be started by running the BOINC Manager. And that's probably what the run_manager script does. If you want to run the Manager with no strings attached then you would have to execute boincmgr (or click the appropriate button in KDE/Gnome/Unity/whatever if you install the apt version).

Concerning the browser: I don't know whether a correctly installed boinc package would also start Chrome but I think so. Just make sure that Chrome is the default browser. I am using Firefox myself and here it works.
----------------------------------------

[Aug 23, 2011 10:49:18 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: Manager not launching browser

Hi Gents and Anafiel, welcome to the WCG forums.

I think the latest run_manager actually launches the client too, so that may explain the reinitialization. Installing BOINC from Synaptic or the Software Center gives the best / most reliable result and also adds a BOINC Manager button in the menus, somewhere hidden under other/system, so create a button on the panel bar for quick access or put it on the desktop.

I'd thought by now that going into Chrome and choosing the option from preferences to tell Linux what the default browser is would work. I've flipped it a few times with Firefox, and never appeared to fail.

There's the occasional report on the BOINC Manager buttons not launching the correct browser, or no browser at all and as marvey11 notes, it's something in the system settings that point to the default browser. Here an old BOINC FAQ service article on setting it up on Linux: http://boincfaq.mundayweb.com/index.php?view=236 There are similar articles on how to repair this for Windows and Mac.

Hope it helps to fix the issue.

--//--

P.S. when wanting to start / stop the client under Natty from a terminal window done with the Synaptic installed package:

sudo service boinc-client stop
sudo service boinc-client start
[Aug 23, 2011 11:07:36 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: Manager not launching browser

OK, so I installed the official Ubuntu package from the Software Manager, and the manager now spawns my Chrome browser.

Great!

But there is still one issue left. The appropriate URL is not passed to the browser, so all I get is my default home page.

Also, a whole new browser session is started, instead of opening a new tab in an already running instance of the browser. I guess this is ok...at least the browser is being called, but how do I get the manager to pass the World Community Grid URL to the browser?
[Aug 29, 2011 7:29:06 PM]   Link   Report threatening or abusive post: please login first  Go to top 
marvey11
Advanced Cruncher
Germany
Joined: Apr 2, 2011
Post Count: 89
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Manager not launching browser

Well, I just installed Chromium to have a quick look at the problem. But there really isn't a problem here. I only did a
sudo aptitude install chromium-browser
and after the installation completed I went to to the Chromium settings and clicked the "Make Chromium My Default Browser" button. That was all. Then, opening any WCG link from the Manager opened the link in Chromium. What's more, clicking another link did not open a new browser window but a new tab in the existing window instead. All as it should be, IMHO.
You could perhaps try to execute
xdg-open http://www.worldcommunitygrid.org/
from a terminal and see what happens. If all is well, then calling xdg-open with a web-link should open the link in the default browser (in general xdg-open opens the file or URL passed as the argument in the user's preferred application). That's probably the way it's done in the Manager anyway.
----------------------------------------

[Aug 29, 2011 8:17:57 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: Manager not launching browser

OK, it's fixed.

What I had to do, after installing the Ubuntu package of Boinc, was remove the browser environment statement from my etc/profile file.

Now a browser session is started with the correct URL if no browser session is running, or open a new tab if a session IS running.

Perfect! Thanks guys.
[Aug 30, 2011 10:20:30 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: Manager not launching browser [RESOLVED]

OK, please insert [RESOLVED] in the opening post title just as I did, so all readers know there's a solution to the problem. We'll keep this one in mind for next time.

Thanks for crunching at WCG

--//--
[Aug 30, 2011 10:52:04 PM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread