Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsSpace ScienceAstronomyAmateur AstronomySpace FlightSpace StationShuttleSpace HistorySpace PolicySETI
SpaceKB.com
Contact UsLink To UsSearch & Site Map

Space Forum / SETI / March 2006



Tip: Looking for answers? Try searching our database.

S@Home and Linux

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
f/fgeorge - 19 Mar 2006 16:49 GMT
Martin how do I set up Linux to automatically start Boinc when Linux
starts? I have JUST started using Linux on a couple of boxes but must
currently be connected to them when they startup so I can manually
start Boinc. I am using PCLinuxOS 0.92 as the OS. It is fairly easy to
use, once I got thru the installation on the hard drive part, but
can't figure out how to make Boinc auto start. I am Windows guy so
please be gentle and as step by step with the directions as possible.
Klaatu - 19 Mar 2006 18:06 GMT
> Martin how do I set up Linux to automatically start Boinc when Linux
> starts? I have JUST started using Linux on a couple of boxes but must
[quoted text clipped - 3 lines]
> can't figure out how to make Boinc auto start. I am Windows guy so
> please be gentle and as step by step with the directions as possible.

One way to start it, assuming you have it running correctly, is to use
~/.kde/Autostart .  Assuming as a beginner you are probably using KDE.
Just make a simple text file in the Autostart directory named startboinc
for example, make it executable with chmod +x or via gui, and enter
following data and save.

#!/bin/sh
cd ~/boinc
./boinc&

Whenever you boot up to KDE, Boinc will start.  The ~ is short for the path
to your home directory, where I assume you have Boinc installed in a
directory named boinc and the you haven't renamed the boinc executable
file.  Not the only solution, but its an easy one.
Martin 53N 1W - 19 Mar 2006 20:52 GMT
>>Martin how do I set up Linux to automatically start Boinc when Linux
>>starts? I have JUST started using Linux on a couple of boxes but must
[...]
>>can't figure out how to make Boinc auto start. I am Windows guy so
>>please be gentle and as step by step with the directions as possible.
[quoted text clipped - 8 lines]
> cd ~/boinc
> ./boinc&

> Whenever you boot up to KDE, Boinc will start.  The ~ is short for the path
> to your home directory, where I assume you have Boinc installed in a
> directory named boinc and the you haven't renamed the boinc executable
> file.  Not the only solution, but its an easy one.

That and the suggestion from Lars are all good.

Myself, I use my own script that is started from /etc/rc.d/local.rc ...
using a very restricted user id ... And then a cron job bumps up the
nice priority so that another background task doesn't get too great a
share of the idle time... But that's for another posting. In Linux you
can sometimes have a bewildering flexibility of choice of how to do
something. There are many good ways!

You can also add a shortcut onto your desktop to run the Boinc Manager
at ~/boinc/boincmgr

Also, the "./boinc" in the above script might actually need to be
"./boinc_cmd &". (No quotes, and the space before the "&" is unimportant.)

Let us know how you get on.

Good luck,
Martin

Signature

----------   OS? What's that?!               (Martin_285 on Mandriva)
- Martin -   To most people, "Operating System" is unknown & strange.
- 53N 1W -   Mandriva 10LE GNU Linux - An OS for Supercomputers & PCs
----------   http://www1.mandrivalinux.com/en/concept.php3

Klaatu - 20 Mar 2006 16:28 GMT
>>>Martin how do I set up Linux to automatically start Boinc when Linux
>>>starts? I have JUST started using Linux on a couple of boxes but must
[quoted text clipped - 36 lines]
> Good luck,
> Martin

Believe the boinc_cmd is  for control in a non-gui environment.  Have never
used it intentionally, I always run boinc directly and access it through
Kboincspy http://kboincspy.sourceforge.net/, or boinc's boincmgr, or boinc
bash script by Jean Philippe EIMER  http://phileimer.9online.fr/

http://boinc.berkeley.edu/boinc_cmd.php
Lars Bausch - 19 Mar 2006 19:51 GMT
Hi !

> Martin how do I set up Linux to automatically start Boinc when Linux
> starts? I have JUST started using Linux on a couple of boxes but must
[quoted text clipped - 3 lines]
> can't figure out how to make Boinc auto start. I am Windows guy so
> please be gentle and as step by step with the directions as possible.
At http://boinc.berkeley.edu/download_network.php you will find some
startup scripts for starting the boinc client automaticly at boot.

Lars
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.