PDA

View Full Version : Ubuntu instruction



Duke of Buckingham
02-21-13, 06:12 PM
To include Boinc after the download the Linux - Ubuntu instruction is "sudo boinc" and what else?

Thanks in advance for the help. I only need to install Boinc to start using it on Linux.

Fire$torm
02-21-13, 09:18 PM
Hey Duke.

If you are ok woth using BOINC version 5.10.58 then you can install it from Synaptic Package Manager.

If you need a version more recent then it becomes harder. Below are instructions I got from Mumps during an IRC chat. I haven't tried it yet, I haven't had the time to play with it.

Anyhoot here they are....





Mumps: So yes, download that package from the berkeley site and drop it in your home directory.
Mumps: Personally, I create that BOINC folder in my home dir myself and drop all the stuff in it ahead of time.
Mumps: Then I have a script that I run.
Mumps: From within that BOINC directory:
Mumps: chmod 750 boinc_7*
Mumps: sudo apt-get -y update
Mumps: sudo apt-get -y install openssh-server+
Mumps: sudo apt-get -y install gdebi+
Mumps: sudo apt-get -y install libwxgtk2.8-0+
Mumps: sudo apt-get -y install libXss1+
Mumps: sudo apt-get -y install freeglut3+
Mumps: sudo apt-get -y install cpufrequtils+
Mumps: sudo mv boinc /etc/init.d/
Mumps: sudo update-rc.d boinc defaults 90 01
Mumps: sudo usermod -G `id -nG | sed 's/ /,/g'`,sudo boinc
Mumps: echo "%sudo ALL=NOPASSWD: ALL"
Mumps: read ans
Mumps: sudo visudo
Mumps: I've got a copy of some SSH keys from the systems I normally remote from, so I copy that into place
Mumps: /usr/bin/ssh-keygen -t dsa
Mumps: to set up a public/private key on the new host...
Mumps: cd ..
Mumps: v64bit=`egrep "flags(.*) lm " /proc/cpuinfo`
Mumps: [ -n "$v64bit" ] &&{
Mumps: sudo apt-get -y install ia32-libs+
Mumps: BOINC/boinc_7*x86_64-pc*; }
Mumps: [ -n "$v64bit" ] || BOINC/boinc_7*i686-pc*
Mumps: So the 32-bit libs get installed on a 64bit build. Some projects need 'em...
Mumps: And that last line installs the boinc package you had downloaded.
Mumps: Presuming you grabbed a 7.anything version for 64bit...

Mumps: sudo mv boinc /etc/init.d/
Mumps: sudo update-rc.d boinc defaults 90 01
Mumps: Yeah, init.d is where most start-up/shut-down scripts get placed.
Mumps: That update-rc.d command sets it to run the boinc script at the right times for starting and just as importantly cleanly stopping boinc as part off a reboot process.
Mumps: mv = Move
Mumps: So I've got a copy in my pile I always start out with.
Mumps: My normal setup goes something like this.
Mumps: Install Ubuntu.
Mumps: Log in and launch the terminal (command) prompt.
Mumps: # mkdir BOINC
Mumps: # cd BOINC
Mumps: # ftp ftp-host
Mumps: # prompt; cd setup; mget *; quit
Mumps: chmod *sh
Mumps: ./lnx.sh
Mumps: and it pretty much does the rest.

kmanley57
02-21-13, 09:19 PM
I have to ask! Are you using the package from the repository, or the 'tarball' from the Boinc site?

I use the tarball, so that I can use the latest version. =P~

But depending on which you use, the steps are different in some ways.

Duke of Buckingham
02-21-13, 11:19 PM
Hey Duke.

If you are ok woth using BOINC version 5.10.58 then you can install it from Synaptic Package Manager.

If you need a version more recent then it becomes harder. Below are instructions I got from Mumps during an IRC chat. I haven't tried it yet, I haven't had the time to play with it.

Anyhoot here they are....


I have to ask! Are you using the package from the repository, or the 'tarball' from the Boinc site?

I use the tarball, so that I can use the latest version. =P~

But depending on which you use, the steps are different in some ways.

Oh my. I used Ubuntu 11.04 "Natty Narwhal" - Release amd64 already and had installed Boinc only with one instruction, that would be something like:

sudo apt-get install Boinc

Only one instruction and the system created the directory and make the others setups, I didn't needed all those instructions, like the mkdir to create the directory, I can understand most of them since it is very seemed with DOS and I used DOS for a lot of time. The problem was that I was writing app instead of apt, I would like to let the computer ready and in use before I go to the hospital this time.

I don't know so much about hardware to make this configuration ( I don't know my computer so well ) that is why I am using Ubuntu that is much more user friendly and capable of assuming some instructions. I didn't updated the Ubuntu also to make this (more simple installation) and would updated it later and the system has to assume the previous configuration.

Anyway I am not ready or have a good head to do this for now, in face of the complexity, I need to be much more logic that I am not this last few days but I can understand most of the instructions. I don't know much of Linux but this Install seems to be for Debian that is much more complex than this version of Ubuntu.

Thank you both for the help and the patience. I will try tomorrow with that instruction and if doesn't work, I will let it for a later time. I will be back to this problem, more rational, I am sure.

Duke of Buckingham
02-21-13, 11:29 PM
Well I remembered now the instruction:

sudo aptitude install boinc-client boinc-manager

Nice, it is written here for me to not forget.

zombie67
02-21-13, 11:42 PM
I recommend *never* installing the BOINC package.

Better to D/L it from Berkeley and run it from a personal folder or desktop.

Mumps
02-21-13, 11:51 PM
Hey Duke.

If you are ok woth using BOINC version 5.10.58 then you can install it from Synaptic Package Manager.

If you need a version more recent then it becomes harder. Below are instructions I got from Mumps during an IRC chat. I haven't tried it yet, I haven't had the time to play with it.

Anyhoot here they are....

Those instructions are more difficult, but they include all the things I've learned as I went along. Those packages are ones I've found are required along the way, so I include them whenever I build a new host so I don't have to re-learn which packages are needed as I move around to other projects. The simplest steps would be

download whichever version of the tarball from http://boinc.berkeley.edu/dl/ and drop it in your "home" directory. (Where you end up by default when you simply run a terminal, command-line, prompt.) Say for example the latest bleeding edge boinc_7.0.52_x86_64-pc-linux-gnu.sh for a 64 bit Ubuntu.
run the sudo apt-get -y install ia32-libs+ if you installed a 64bit Ubuntu. Many projects require the 32bit libs to run.
run your downloaded boinc installer using bash boinc_7.0.52_x86_64-pc-linux-gnu.sh (That way you don't have to worry about the chmod to make it executable)
Start it by typing BOINC/run_manager

Caveats explaining some of what Fire$storm posted:

The above set of commands won't automatically start boinc after a reboot, but the script for doing that wasn't included in what Fire$torm posted. It's a bit long to just include here. And without that, the bits about the update-rc.d won't work.
The bits about openssh-server, gdebi, libwxgtk, ssh-keygen and libXss1 are just extra tools. If you don't use another Linux box to run the manager remotely using ssh, you wouldn't need any of those.
freeglut3 is required by a project, but I've forgotten which one. :)
cpufrequtils would be required if you have power management enabled in the BIOS. BOINC runs at low priority, so it's common for CPUs to be allowed to run at the very lowest speed when BOINC is the only thing running. With cpufrequtils you can have Ubuntu force the CPU into "Performance" mode and it will run at its full speed all the time.
The usermod and visudo allow you to use sudo to run commands as the Super-User using your "boinc" user account without having to provide the password each time.

Duke of Buckingham
02-22-13, 12:06 AM
I recommend *never* installing the BOINC package.

Better to D/L it from Berkeley and run it from a personal folder or desktop.

I can understand that Z but that was I was trying to say the other day, we are not far to make a doctor degree to crunch Boinc. The projects must understand how all this started. Give your spare time from your computer for us to use. It was a sentence like that more or less.

Not everyone has the knowledge or the means to keep boincing that is another reason for people to go, if the projects keep putting distance between themselves and the users, they will be alone in a flash.

There are some that try for simple words to keep the information flowing and the users interested that is why I like so much Bok's and FreeDC work.

It is only for about a week if everything goes OK, not to lose the crunching time. And crunch some NFS with Carlos, I will let the computer running hope everything is according to plan.

zombie67
02-22-13, 12:47 AM
Not everyone has the knowledge or the means to keep boincing that is another reason for people to go, if the projects keep putting distance between themselves and the users, they will be alone in a flash.

But it is not the projects that keep putting distance, in this case. The problem here is purely BOINC/DA, with a touch of linux complexity, to blame. BOINC works just fine, and simply, if not installed via pkg.

Fire$torm
02-22-13, 02:34 AM
@Mumps: Can't all of that be done with a script? Including DL'ing?

kmanley57
02-22-13, 07:45 AM
I have to agree with zombie67, that most of the installable packages are 'broken' in some manner. But I think the tarball from Boinc will run with little console work on your part.

I will say I have never gone to the lengths Mumps has to make it work, but he has more Linux machines to deal with, while ! have only a couple. :cool:

Duke of Buckingham
02-22-13, 08:45 AM
But it is not the projects that keep putting distance, in this case. The problem here is purely BOINC/DA, with a touch of linux complexity, to blame. BOINC works just fine, and simply, if not installed via pkg.

I can't comply with that Z. To join to the complexity of Linux, there is my state of mind, however Ubuntu is much more friendly than other Linux systems much more complex. It was good however that more limited people will start with Ubuntu and go step by step learning the system, that takes so less memory and is faster on a general way.

I am not ready to give up fighting, I will keep stubborn as I am, my dear friend.

@Kmanley and F$ it is always good to listen to all experts, on computation and on Linux or any other system. Till tomorrow is the day for getting ready for RL, not that being here is not very real ... IS ONLY ANOTHER REALITY.

Mumps
02-22-13, 09:22 AM
@Mumps: Can't all of that be done with a script? Including DL'ing?

Yes. That's what it says in what you transcribed there...


Mumps: Then I have a script that I run.
...
Mumps: My normal setup goes something like this.
Mumps: Install Ubuntu.
Mumps: Log in and launch the terminal (command) prompt.
Mumps: # mkdir BOINC
Mumps: # cd BOINC
Mumps: # ftp ftp-host
Mumps: # prompt; cd setup; mget *; quit
Mumps: chmod *sh
Mumps: ./lnx.sh
The rest of what you posted was a copy of a portion of that "./lnx.sh" script. :) That's the "bootstrap load" kind of process I go through for now, because I'm still installing Ubuntu from the standard Desktop ISO Distro. If I ever bother to get PXE booting under control, I'll be able to have the setup folder replicated automatically as part of the build and have the script run automatically as well.

On my "ftp-host" I have a folder named "setup" that includes the following:

my standard boinc installer
my standard install package for virtualbox (which is what uses gdebi)
some default local preferences, cc_config and gui_rpc password and hosts files
default settings for X-Windows
the public keys for my normal management machines for remote controlling
scripts to take care of setting the cpu-freq to perfomance
the script (I lifted from Dotsch-UX) for auto-starting boinc on reboot

Also in my script, I include attaching to my (currently) favorite projects. (Which includes checking if the script is running in a VM and attaching to a different list of projects if so.) So by the time the script is done running, boinc is downloading and running work.

A pared down version to just install boinc (without the autostart feature) would go something like this:

Mumps: Install Ubuntu.
Mumps: Log in and launch the terminal (command) prompt.
Mumps: # firefox "http://boinc.berkeley.edu/dl/?C=M;O=D"
Download the most recent version of the x86_64-pc-linux (for 64 bit) or i686-pc-linux (for 32 bit) package that you can stomach. (I'm currently using 7.0.42.) By default it should land in your "Desktop" folder.
Mumps: # bash Desktop/boinc_7.*
Mumps: # BOINC/run_manager

You should now have boinc installed and running, ready for you to attach to any projects via the GUI. If you have problems running some of the projects later on, one of the first troubleshooting steps would be to install the 32-bit libraries if you installed a 64-bit O/S. Some people don't like having the 32-bit libraries installed because they can cause some confusion with some 64-bit apps that may make them run slower, but because I'm only running Linux to boinc, it's fine for me.

# sudo apt-get -y install ia32-libs+

Fire$torm
02-22-13, 03:11 PM
@Mumps: Going through your commands on a VM. Goes well until...

root@Osiris:/home/chani/BOINC# sudo usermod -G `id -nG | sed 's/ /,/g'`,sudo boinc
usermod: user 'boinc' does not exist

What is needed here?

Mumps
02-22-13, 04:53 PM
@Mumps: Going through your commands on a VM. Goes well until...

root@Osiris:/home/chani/BOINC# sudo usermod -G `id -nG | sed 's/ /,/g'`,sudo boinc
usermod: user 'boinc' does not exist

What is needed here?

When I build my hosts, I always use the username of "boinc" So just replace that with whatever username you created and will be running boinc with.

All that command is for is to give that user the ability to use the sudo command for running things as the Super-User. Running locally, that won't be required. But if you want to use another Linux machine to ssh commands on this one with sudo, you'll need it.

Duke of Buckingham
02-22-13, 05:14 PM
Try boinc-client on that line or boinc-manager or even both F$

The system assumes one of the both or both for a GPU-Linux.

Sorry if I didn't understood the question.

kmanley57
02-22-13, 07:25 PM
When I build my hosts, I always use the username of "boinc" So just replace that with whatever username you created and will be running boinc with.

All that command is for is to give that user the ability to use the sudo command for running things as the Super-User. Running locally, that won't be required. But if you want to use another Linux machine to ssh commands on this one with sudo, you'll need it.

Looking at his prompt line he is running as the SuperUser already. :p

Fire$torm
02-22-13, 07:35 PM
When I build my hosts, I always use the username of "boinc" So just replace that with whatever username you created and will be running boinc with.

All that command is for is to give that user the ability to use the sudo command for running things as the Super-User. Running locally, that won't be required. But if you want to use another Linux machine to ssh commands on this one with sudo, you'll need it.

OK thx Mumps. Obviously I'm still fumbling my way around Linux..... :P

@Duke: Roger and Thx.

Fire$torm
02-22-13, 07:37 PM
Looking at his prompt line he is running as the SuperUser already. :p

Yep, I set up most of my important icons with gksudo in the command line.

Fire$torm
02-22-13, 07:54 PM
@Mumps: In a bash script can I use $USER ?

Example: sudo usermod -G `id -nG | sed 's/ /,/g'`,sudo "$USER"

Mumps
02-22-13, 08:58 PM
Looking at his prompt line he is running as the SuperUser already. :p

Not really. It's just shorter to type that than the full prompt I normally see. :) Sorry to confuse those that are knowledgeable. :rolleyes:

kmanley57
02-22-13, 09:21 PM
Not really. It's just shorter to type that than the full prompt I normally see. :) Sorry to confuse those that are knowledgeable. :rolleyes:

I was commenting on Fire$torms 'root@' prompt. I do the same thing as you on my prompts when giving command line help.

Mumps
02-22-13, 10:34 PM
I was commenting on Fire$torms 'root@' prompt. I do the same thing as you on my prompts when giving command line help.

But truthfully we should both use the "$" which is a true non-admin user prompt. It just doesn't come across quite right all the time that way. :)

Duke of Buckingham
02-22-13, 11:13 PM
But truthfully we should both use the "$" which is a true non-admin user prompt. It just doesn't come across quite right all the time that way. :)

:p If I had a lot of $, I could use them either.$-)

In Ubuntu when admin powers are needed the system asks for a password and there is one instruction for being a super user but always with password.

Fire$torm
02-23-13, 01:29 AM
OK, I think I fubar'd the install. Not sure what I did so I'm not bothering with it. I'm going to create a new VM and start from scratch. Once I learn something here then I'll go back and try to fix the old VM.

STE\/E
02-23-13, 09:50 AM
I hate Linux with a passion :p:p:p ... :D

I haven't used Linux in quit awhile but figure I'm going to have to suffer the Pain & use it if I want to get to 100 App's for the WUProp Badge. I'm in a Linux OS right now (Ubuntu 12.10) that I installed on a Bare Drive so I don't mess up a Windows Drive. Anywho I can't even find the freakin Terminal, I've been searching for it for an hour now but it's no where to be found, and I wonder why I hate Linux ... :p:p:p

EDIT: I found it by Goggling, or found how to get it to show anyway

Al
02-23-13, 10:17 AM
I hate Linux with a passion :p:p:p ... :D

I haven't used Linux in quit awhile but figure I'm going to have to suffer the Pain & use it if I want to get to 100 App's for the WUProp Badge. I'm in a Linux OS right now (Ubuntu 12.10) that I installed on a Bare Drive so I don't mess up a Windows Drive. Anywho I can't even find the freakin Terminal, I've been searching for it for an hour now but it's no where to be found, and I wonder why I hate Linux ... :p:p:p

EDIT: I found it by Goggling, or found how to get it to show anyway

No expert either, but go to the top of the taskbar and look for the icon marked Dash Home. Open it and type Terminal in the search bar. It should magically appear. Then just drag and drop it to the taskbar and it should be there whenever you need it.

STE\/E
02-23-13, 10:34 AM
Okay I'll try that later, I unhooked the Linux Drive & re-hooked up the Windows Drive because Berkley is down right now & I can't download the latest Linux BOINC Manager. I could install the one in the software package but I want to go with the latest one available if possible. When I can get it downloaded I'll run the Linux Drive again ...

Mumps
02-23-13, 10:38 AM
I hate Linux with a passion :p:p:p ... :D

I haven't used Linux in quit awhile but figure I'm going to have to suffer the Pain & use it if I want to get to 100 App's for the WUProp Badge. I'm in a Linux OS right now (Ubuntu 12.10) that I installed on a Bare Drive so I don't mess up a Windows Drive. Anywho I can't even find the freakin Terminal, I've been searching for it for an hour now but it's no where to be found, and I wonder why I hate Linux ... :p:p:p

EDIT: I found it by Goggling, or found how to get it to show anyway

Yup. Unity sucks for novice users.

Ubuntu: It'll be real clean to hide *everything* and just have the user type what they want in this "Dash Home" search tool.
User: But what If I don't know what you *named* the crap??!!??!?!

Dash Home does also have a "browse" kinda mode. Just click on Dash Home and then look at the icons along the bottom. The second one from the left will show you "Recently Used" but more importantly "Installed" App lists. Just click on the "See more results" next to the "Installed" one to see everything you have installed. That at least gets you the full list, although most folks won't like that it can't be organized into folders in there.

STE\/E
02-23-13, 04:08 PM
Okay I'm back in the Linux OS, I found an alternate site for the Linux BOINC Client Download. No Dash Home to be found, I know I seen that some where but can't find it again ... :rolleyes:

It looks like BOINC 7.052 is installed in the Home poorboy Directory but I'm getting this when trying to start the Manager:

poorboy@PBOYZTOY18L:~$ sudo
usage: sudo [-D level] -h | -K | -k | -V
usage: sudo -v [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-u user
name|#uid]
usage: sudo -l[l] [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-U user
name] [-u user name|#uid] [-g groupname|#gid] [command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C fd] [-D level] [-g
groupname|#gid] [-p prompt] [-u user name|#uid] [-g groupname|#gid]
[VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-r role] [-t type] [-C fd] [-D level] [-g
groupname|#gid] [-p prompt] [-u user name|#uid] file ...
poorboy@PBOYZTOY18L:~$ bash boinc_7.0.52_x86_64-pc-linux-gnu.sh
use /home/poorboy/BOINC/run_manager to start BOINC
poorboy@PBOYZTOY18L:~$ BOINC/run_manager
./boincmgr: error while loading shared libraries: libwx_gtk2u_html-2.8.so.0: cannot open shared object file: No such file or directory
poorboy@PBOYZTOY18L:~$ /home/poorboy/BOINC/run_manager
./boincmgr: error while loading shared libraries: libwx_gtk2u_html-2.8.so.0: cannot open shared object file: No such file or directory
poorboy@PBOYZTOY18L:~$ sudo /home/poorboy/BOINC/run_manager
[sudo] password for poorboy:
./boincmgr: error while loading shared libraries: libwx_gtk2u_html-2.8.so.0: cannot open shared object file: No such file or directory
poorboy@PBOYZTOY18L:~$
poorboy@PBOYZTOY18L:~$ sudo apt-get -y install ia32-libs+
Reading package lists... Done
Building dependency tree
Reading state information... Done
ia32-libs is already the newest version.
The following package was automatically installed and is no longer required:
linux-headers-3.5.0-17
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 243 not upgraded.
poorboy@PBOYZTOY18L:~$ /home/BOINC/run_manager
bash: /home/BOINC/run_manager: No such file or directory
poorboy@PBOYZTOY18L:~$ sudo /home/BOINC/run_manager
sudo: /home/BOINC/run_manager: command not found
poorboy@PBOYZTOY18L:~$ /home/poorboy/BOINC/run_manager
bash: /home/poorboy/BOINC/run_manager: No such file or directory
poorboy@PBOYZTOY18L:~$ sudo /home/poorboy/BOINC/run_manager
sudo: /home/poorboy/BOINC/run_manager: command not found
poorboy@PBOYZTOY18L:~$

kmanley57
02-23-13, 06:06 PM
Okay I'm back in the Linux OS, I found an alternate site for the Linux BOINC Client Download. No Dash Home to be found, I know I seen that some where but can't find it again ... :rolleyes:

It looks like BOINC 7.052 is installed in the Home poorboy Directory but I'm getting this when trying to start the Manager:

poorboy@PBOYZTOY18L:~$ sudo
usage: sudo [-D level] -h | -K | -k | -V
usage: sudo -v [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-u user
name|#uid]
usage: sudo -l[l] [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-U user
name] [-u user name|#uid] [-g groupname|#gid] [command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C fd] [-D level] [-g
groupname|#gid] [-p prompt] [-u user name|#uid] [-g groupname|#gid]
[VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-r role] [-t type] [-C fd] [-D level] [-g
groupname|#gid] [-p prompt] [-u user name|#uid] file ...
poorboy@PBOYZTOY18L:~$ bash boinc_7.0.52_x86_64-pc-linux-gnu.sh
use /home/poorboy/BOINC/run_manager to start BOINC
poorboy@PBOYZTOY18L:~$ BOINC/run_manager
./boincmgr: error while loading shared libraries: libwx_gtk2u_html-2.8.so.0: cannot open shared object file: No such file or directory
poorboy@PBOYZTOY18L:~$ /home/poorboy/BOINC/run_manager
./boincmgr: error while loading shared libraries: libwx_gtk2u_html-2.8.so.0: cannot open shared object file: No such file or directory
poorboy@PBOYZTOY18L:~$ sudo /home/poorboy/BOINC/run_manager
[sudo] password for poorboy:
./boincmgr: error while loading shared libraries: libwx_gtk2u_html-2.8.so.0: cannot open shared object file: No such file or directory


looks like libwxgtk2.8-0 is not on your system or not in your library path. So you can try installing it.

sudo apt-get install libwxgtk2.8-0

Note: you probable need a couple other libraries, but I do not know off the top of my head which ones.

STE\/E
02-23-13, 06:33 PM
Still get the same crap after installing libwxgtk2.8-0:

poorboy@PBOYZTOY18L:~$ BOINC/run_manager
bash: BOINC/run_manager: No such file or directory
poorboy@PBOYZTOY18L:~$ sudo /home/poorboy/BOINC/run_manager
[sudo] password for poorboy:
sudo: /home/poorboy/BOINC/run_manager: command not found
poorboy@PBOYZTOY18L:~$

Back to windows for the night, enough Linux pain for the day ...

zombie67
02-23-13, 07:21 PM
Still get the same crap after installing libwxgtk2.8-0:

poorboy@PBOYZTOY18L:~$ BOINC/run_manager
bash: BOINC/run_manager: No such file or directory
poorboy@PBOYZTOY18L:~$ sudo /home/poorboy/BOINC/run_manager
[sudo] password for poorboy:
sudo: /home/poorboy/BOINC/run_manager: command not found
poorboy@PBOYZTOY18L:~$

Back to windows for the night, enough Linux pain for the day ...

1) Assuming BOINC is in your home directory, the command is "~/BOINC/run_manager &". If BOINC is on your desktop, then the command is "~/Desktop/BOINC/run_manager&".


2) Here is the list of packages I install and remove with every new ubuntu 64 bit installation. You can just copy/paste the line, and it will install them all at once.

sudo apt-get install openssh-server+ gdebi+ libwxgtk2.8-0+ libXss1+ freeglut3+ gnome-applets+ cpufrequtils+ ia32-libs+

That includes everything you need to get BOINC to run, as well as the additional 32 bit libraries needed for the 32 bit apps.

Fire$torm
02-23-13, 09:49 PM
Okay, new VM. Here is what I've done so far.

Note: All commands are run from root, ex. root@Sys1:

mkdir /home/dilbert/BOINC
cp /home/dilbert/downloads/boinc* /home/dilbert/BOINC
chmod 750 boinc_7*
bash boinc*.sh
mv /home/dilbert/BOINC/BOINC/* /home/dilbert/BOINC
rmdir /home/dilbert/BOINC/BOINC
apt-get -y update
apt-get -y install openssh-server+
apt-get -y install gdebi+
apt-get -y install libwxgtk2.8-0+
apt-get -y install libXss1+
apt-get -y install freeglut3+

Note: I did not run cpufrequtils+ as this is a VM and governor does not exist in a VM.

mv boinc /etc/init.d/
update-rc.d boinc defaults 90 01
usermod -G `id -nG | sed 's/ /,/g'`,dilbert
echo "%ALL=NOPASSWD: ALL"
read ans
visudo
cd ..

And the following lines is where I ran into a problem.....

v64bit=`egrep "flags(.*) lm " /proc/cpuinfo`
[ -n "$v64bit" ] &&{
apt-get -y install ia32-libs+
BOINC/boinc_7*x86_64-pc*; }
[ -n "$v64bit" ] || BOINC/boinc_7*i686-pc*

So after coping/pasting all to a single line and then using bash errors I played with spacing between parts....

So is the following correct? I did not get a bash error but it didn't seem to do anything

v64bit=`egrep "flags(.*) lm " /proc/cpuinfo`[ -n "$v64bit" ] &&{sudo apt-get -y install ia32-libs+BOINC/boinc_7*x86_64-pc*; }

kmanley57
02-23-13, 10:46 PM
Well I am not mumps but this seems wrong.

install ia32-libs+BOINC/boinc_7*x86_64-pc*;

maybe a space between libs+ and BOINC. Should install the lib package and the Boinc package.

Mumps
02-23-13, 11:40 PM
And the following lines is where I ran into a problem.....

v64bit=`egrep "flags(.*) lm " /proc/cpuinfo`
[ -n "$v64bit" ] &&{
apt-get -y install ia32-libs+
BOINC/boinc_7*x86_64-pc*; }
[ -n "$v64bit" ] || BOINC/boinc_7*i686-pc*

So after coping/pasting all to a single line and then using bash errors I played with spacing between parts....

So is the following correct? I did not get a bash error but it didn't seem to do anything

v64bit=`egrep "flags(.*) lm " /proc/cpuinfo`[ -n "$v64bit" ] &&{sudo apt-get -y install ia32-libs+BOINC/boinc_7*x86_64-pc*; }

Well, a little bit of explanation. The special "file" /proc/cpuinfo has all the geek speak explaining the capabilities the O/S sees the CPU supports. "lm" is actually short for "Long Mode" and means the O/S sees that the CPU supports 64bit mode. So that means both the CPU and the O/S are 64bit aware, so we need to install the 64bit version of BOINC. We also install the 32bit libraries, considering that many BOINC projects will actually send the 32bit app to run on a 64bit Linux host. So you need the 32bit libraries if they haven't compiled the program to work without them.

Not really sure what problem you ran in to. But at the very least, if you mash it all into one line, you'll need semi-colons in various places. Let's also eliminate assigning that to a variable...
[ -n "`egrep 'flags(.*) lm ' /proc/cpuinfo`" ] && { sudo apt-get -y install ia32-libs+; BOINC/boinc_7*x86_64-pc*; }
Also, to be clear, that line is expecting to find the appropriate BOINC installer in a folder named BOINC within the Current Working Directory. So, if you've simply launched terminal, and are running those commands, it would be in your home directory.

Mumps
02-24-13, 12:27 AM
Well I am not mumps but this seems wrong.

install ia32-libs+BOINC/boinc_7*x86_64-pc*;

maybe a space between libs+ and BOINC. Should install the lib package and the Boinc package.

Good thought, but the BOINC package from the Berkeley dl site isn't a package. And we don't want to install the (extremely antiquated) package from the repository. It's a self-extracting sh file and you simply want to execute it. In the script Fire$torm is working from, that sh script is chmod'ed to be executable, and then it's run. But run from the home directory so it gets extracted into the BOINC subfolder.

Fire$torm
02-24-13, 02:13 AM
Well, a little bit of explanation. The special "file" /proc/cpuinfo has all the geek speak explaining the capabilities the O/S sees the CPU supports. "lm" is actually short for "Long Mode" and means the O/S sees that the CPU supports 64bit mode. So that means both the CPU and the O/S are 64bit aware, so we need to install the 64bit version of BOINC. We also install the 32bit libraries, considering that many BOINC projects will actually send the 32bit app to run on a 64bit Linux host. So you need the 32bit libraries if they haven't compiled the program to work without them.

Not really sure what problem you ran in to. But at the very least, if you mash it all into one line, you'll need semi-colons in various places. Let's also eliminate assigning that to a variable...
[ -n "`egrep 'flags(.*) lm ' /proc/cpuinfo`" ] && { sudo apt-get -y install ia32-libs+; BOINC/boinc_7*x86_64-pc*; }
Also, to be clear, that line is expecting to find the appropriate BOINC installer in a folder named BOINC within the Current Working Directory. So, if you've simply launched terminal, and are running those commands, it would be in your home directory.


Good thought, but the BOINC package from the Berkeley dl site isn't a package. And we don't want to install the (extremely antiquated) package from the repository. It's a self-extracting sh file and you simply want to execute it. In the script Fire$torm is working from, that sh script is chmod'ed to be executable, and then it's run. But run from the home directory so it gets extracted into the BOINC subfolder.

1st, just to be clear, my bash prompt looks like this root@Betty_Boop:/home/dilbert#

Okay my mistake. I was executing bash commands from /home/dilbert/BOINC. That is why I had to use the mv command with wildcard and move everything from .../BOINC/BOINC to .../BOINC.

I had to run the BOINC .sh file early because you have the command mv boinc /etc/init.d/ before you get to the command with the v64bit... stuff.

As for your revised command string...

root@Betty_Boop:/home/dilbert#[ -n "`egrep 'flags(.*) lm ' /proc/cpuinfo`" ] && { sudo apt-get -y install ia32-libs+; BOINC/boinc_7*x86_64-pc*; }
it worked but not until I added "deb http://archive.ubuntu.com/ubuntu lucid-backports main restricted universe multiverse" to /etc/apt/sources.list.
So all kinds of files were downloaded and updated. Then after it was all over it printed the instruction "use /home/dilbert/BOINC/run_manager to start BOINC"

Of course I ignore that and in terminal try /etc/init.d/boinc start but that gave me the following error

/etc/init.d/boinc: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

Then I try the command I was instructed to use and got the following error

./boincmgr: error while loading shared libraries: libnotify.so.4: cannot open shared object file: No such file or directory

Should I start over and reinstall Ubuntu so I have a clean slate to try again?

STE\/E
02-24-13, 02:56 AM
1) Assuming BOINC is in your home directory, the command is "~/BOINC/run_manager &". If BOINC is on your desktop, then the command is "~/Desktop/BOINC/run_manager&".


2) Here is the list of packages I install and remove with every new ubuntu 64 bit installation. You can just copy/paste the line, and it will install them all at once.

sudo apt-get install openssh-server+ gdebi+ libwxgtk2.8-0+ libXss1+ freeglut3+ gnome-applets+ cpufrequtils+ ia32-libs+

That includes everything you need to get BOINC to run, as well as the additional 32 bit libraries needed for the 32 bit apps.

Thanks Z, I got BOINC to run with the ~/BOINC/run_manager command after moving the BOINC Folder out of the folder it was in & putting it directly in the Home Directory.

Anywho got some of the LINUX Only Projects & App's running now, is there any way to Minimize the BOINC Window without having to restart BOINC each time ??? Seems like if I minimize the BOINC Window it stops BOINC & I have to restart BOINC again ...

zombie67
02-24-13, 03:57 AM
[...]is there any way to Minimize the BOINC Window without having to restart BOINC each time ??? Seems like if I minimize the BOINC Window it stops BOINC & I have to restart BOINC again ...

The buttons on the linux windows and the msft windows are not the same. With ubuntu, it is the down arrow button to minimize.

STE\/E
02-24-13, 05:45 AM
The DownArrow does nothing, at least by it's self anyway, using the Ctrl & Alt & Down Arrow Minimizes the BOINC Window though ... The - in the Upper Left Menu Minimizes FireFox & the Terminal where their still active but not showing, I'll try BOINC later but not now, have some Wu's at 3+ Hr's that I don't want to lose if it doesn't work for BOINC too ...

Mumps
02-24-13, 08:52 AM
I had to run the BOINC .sh file early because you have the command mv boinc /etc/init.d/ before you get to the command with the v64bit... stuff.

And there's some of the confusion. The "boinc" that you're moving to /etc/init.d is *not* the one that gets extracted from the boinc package. It's one I mentioned before wasn't included in what you posted. It's from the Dotsch/UX and it's 91 lines long. That's one of those bits I mentioned live in my setup folder that I pre-load into the BOINC folder prior to running the lnx.sh script you've been working through. It's not the boinc executable. That just plain won't work. mv that back. At least then you should have a working boinc install. I'm trying to get to the point I have a host I can single-step through this.

Fire$torm
02-24-13, 02:51 PM
And there's some of the confusion. The "boinc" that you're moving to /etc/init.d is *not* the one that gets extracted from the boinc package. It's one I mentioned before wasn't included in what you posted. It's from the Dotsch/UX and it's 91 lines long. That's one of those bits I mentioned live in my setup folder that I pre-load into the BOINC folder prior to running the lnx.sh script you've been working through. It's not the boinc executable. That just plain won't work. mv that back. At least then you should have a working boinc install. I'm trying to get to the point I have a host I can single-step through this.

Hahahahahaha.... Duh@me. Well I do have a copy of Dotsch/UX so I could always try to dig out that file.

Fire$torm
02-24-13, 08:07 PM
Okay, went ahead and pilfered the boinc file from Dotsch/UX install. Also reinstalled Ubuntu for a fresh run at this.

I did notice that within the Dotsch/UX boinc file, some of the commands point to /home/boinc/BOINC rather then /home/BOINC. Will this still work or does that file need editing? Or is it just easier to move the BOINC folder to /home/boinc ????

Mumps
02-24-13, 08:47 PM
Okay, went ahead and pilfered the boinc file from Dotsch/UX install. Also reinstalled Ubuntu for a fresh run at this.

I did notice that within the Dotsch/UX boinc file, some of the commands point to /home/boinc/BOINC rather then /home/BOINC. Will this still work or does that file need editing? Or is it just easier to move the BOINC folder to /home/boinc ????

"boinc" is the user that BOINC is installed as under a Dotsch/UX install. So replace that "home/boinc" with "home/username" for your install. So if you used the username "dilbert" it'd be "home/dilbert" (So it becomes "/home/dilbert/BOINC" in your case.)

Because of how that script gets run, you cannot use the "~/" shortcut to refer to the current users home directory. Once you have that script in the /etc/init.d folder, that's when you can run that


sudo update-rc.d boinc defaults 90 01

That will cause BOINC to be cleanly started and stopped during bootup and shutdown. One caveat though, GPU crunching doesn't work when started via the start-up scripting like that.

Fire$torm
02-24-13, 10:19 PM
1st, Thx Mumps for the help.

2nd, it almost worked :P Okay, starting over.

STE\/E
02-25-13, 07:05 AM
Installed another Linux OS on another Box with Win 7 already installed but getting this:

poorboy@PBOYZTOY17L:~$ sudo apt-get install openssh-server+ gdebi+ libwxgtk2.8-0+ libXss1+ freeglut3+ gnome-applets+ cpufrequtils+ ia32-libs+
[sudo] password for poorboy:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package openssh-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package cpufrequtils is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package gdebi is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'openssh-server' has no installation candidate
E: Package 'gdebi' has no installation candidate
E: Unable to locate package libwxgtk2.8-0
E: Couldn't find any package by regex 'libwxgtk2.8-0'
E: Unable to locate package libXss1
E: Unable to locate package freeglut3
E: Unable to locate package gnome-applets
E: Package 'cpufrequtils' has no installation candidate
E: Unable to locate package ia32-libs
poorboy@PBOYZTOY17L:~$

The Network is working cause I'm typing this from Linux from that Box ... BOINC won't start either: Probably because of this: error while loading shared libraries: libwx_gtk2u_html-2.8.so.0

poorboy@PBOYZTOY17L:~$ ~/BOINC/run_manager
./boincmgr: error while loading shared libraries: libwx_gtk2u_html-2.8.so.0: cannot open shared object file: No such file or directory
poorboy@PBOYZTOY17L:~$

EDIT: Figured out what was wrong, I got a message saying I only had 127mb of disk space left while in Linux so I figure I must not have given it enough disk space. Thought I did but guess not, anywho rather than have a messed up drive I wiped it clean and deleted all the Partitions. It's only a 80gb Drive so I'll just make it a Linux Only Drive & Box for now. I can always throw another Drive in it later if I want to & install Windows again ...

zombie67
02-25-13, 09:53 AM
If you are tight on disk space, this will help a little bit:

sudo apt-get remove libreoffice*

Mumps
02-25-13, 04:26 PM
If you are tight on disk space, this will help a little bit:

sudo apt-get remove libreoffice*

Yup. Been there. Do that by rote as well. :)

Fire$torm
02-25-13, 07:13 PM
Yup. Been there. Do that by rote as well. :)

I tried that with OpenOffice and on reboot lost my desktop.....

zombie67
02-25-13, 07:51 PM
Yup. Been there. Do that by rote as well. :)

Well yeah, those were your instructions to me a few weeks ago. ;)

STE\/E
03-01-13, 01:07 AM
Well so far my 3 Linux Installations have been a Dismal Failure. I'm running the SLinCA, EDGeS, OProject & WEP +2 Projects on the 3 Box's. I either get about a 80%-90% Computation Error Rate on them or a Constant Restarting of the Wu's where nothing gets done because the Wu's start Restart over & over. Some of the Wu's run to Completion but a very small percentage of them. I'll give them another day before going back to Windows & just forget about those Projects ...

Fire$torm
03-01-13, 03:09 PM
Well so far my 3 Linux Installations have been a Dismal Failure. I'm running the SLinCA, EDGeS, OProject & WEP +2 Projects on the 3 Box's. I either get about a 80%-90% Computation Error Rate on them or a Constant Restarting of the Wu's where nothing gets done because the Wu's start Restart over & over. Some of the Wu's run to Completion but a very small percentage of them. I'll give them another day before going back to Windows & just forget about those Projects ...

Hey Ste\/e, I just hit 10K in Edges on an Ubuntu VM. Ubuntu version is 12.04 running BOINC v7.0.28 that was installed via Ubuntu Package Manager. I'm not sure but you may not have any issues running WEP +2 also. Clueless about the other projects.

STE\/E
03-01-13, 04:03 PM
I may have figured out what was wrong, early this morning I set the Activity Section for BOINC to Always Run on each Linux Box & haven't had an error since, so I hope that was it. Funny thing I remember setting them to that before but some how they got changed, possibly when they got rebooted ? so I guess I'll have to remember to reset them each time after a reboot.

VM's are a different animal for me, I have installed VM's before like some years ago & ran the Test Theory Project but now after installing the VM I'm at a complete loss on what to do & how to do it, getting old sucks ... :p ... I have a VM that automatically installs the dotschux_1.2_64b_vm OS but can't figure out how to Update the BOINC Client that comes with it as many Projec'ts won't run on it as it's to old a Client ...

STE\/E
03-06-13, 07:46 AM
Okay setting the Linux Box's to always run worked for about 1 day, then the Computation Error's & Constant Restart of the Wu's began again.So now I think it's my Internet Connection, the 3 Linux Box's are Wireless & every time I lose my Connection the Linux Box's go crazy for some reason, anybody have a clue about that. Doesn't seem to affect the Wireless Windows Box's, they seem to keep running merrily along until the Connection is re-established again.

I'm trying to get a New Router to see if that helps with the dropped connection, it seems to happen a lot during the cold weather when the furnace comes on. I may have to go & reset the Router a dozen or more times a day when that happens. I had a new 8 Port Router since Oct of last year but never could get it to run, so yesterday I tried working with it again, I called Comcast & Linksys & it was determined that the WAN Port was no good :rolleyes: So I ordered a New one from Linksys since they gave me a deal on a newer model.

Since I had the other Linksys Router since Oct 2012 I figured the Company I got it from wouldn't do anything for me, but I contacted :)] them anyway about it. They told me they couldn't replace the Router since there were few of that particular model on the Market & the ones that were were mostly defective anyway. Great, a company selling known defective equipment. But who ever I talked to said he would have the Accounting Dept refund my money I paid for the Router if the was acceptable to me. I told him that was fine with me, more than I expected really but will have to wait & see if they really do refund the money ...

Slicker
03-06-13, 10:31 AM
Okay setting the Linux Box's to always run worked for about 1 day, then the Computation Error's & Constant Restart of the Wu's began again.So now I think it's my Internet Connection, the 3 Linux Box's are Wireless & every time I lose my Connection the Linux Box's go crazy for some reason, anybody have a clue about that. Doesn't seem to affect the Wireless Windows Box's, they seem to keep running merrily along until the Connection is re-established again.

I'm trying to get a New Router to see if that helps with the dropped connection, it seems to happen a lot during the cold weather when the furnace comes on. I may have to go & reset the Router a dozen or more times a day when that happens. I had a new 8 Port Router since Oct of last year but never could get it to run, so yesterday I tried working with it again, I called Comcast & Linksys & it was determined that the WAN Port was no good :rolleyes: So I ordered a New one from Linksys since they gave me a deal on a newer model.

Since I had the other Linksys Router since Oct 2012 I figured the Company I got it from wouldn't do anything for me, but I contacted :)] them anyway about it. They told me they couldn't replace the Router since there were few of that particular model on the Market & the ones that were were mostly defective anyway. Great, a company selling known defective equipment. But who ever I talked to said he would have the Accounting Dept refund my money I paid for the Router if the was acceptable to me. I told him that was fine with me, more than I expected really but will have to wait & see if they really do refund the money ...

LOL. If you want, I can send you my parent's old [and cheap] LinkSys router which was dropping connections all the time and getting worse every day. I had them upgrade to the EA3500 dual band router. I'm using the older EA3000 series model and it has worked very well for over a year. I like that you can attach a USB printer or HDD directly to it. Yeah, it was over $100 but you get what you pay for. Rock solid and no external antennas either.

STE\/E
03-06-13, 02:58 PM
LOL. If you want, I can send you my parent's old [and cheap] LinkSys router which was dropping connections all the time and getting worse every day

I'll take it ... :p

Good news is I got the refund thru PayPal for the defective Router, they didn't even ask for it back so possibly I can use it as a Hub down the road if I need to, as far as I know only the WAN Port is bad ...

The bad news is I was just out rebooting all 3 Linux Box's to get them running again. 2 were froze up & 1 was just FUBAR ... I'm running Ubuntu 12.10, maybe I need to drop back to 12.04 ???

Duke of Buckingham
03-06-13, 09:21 PM
Maybe this is useful to you all.

Microsoft Tools for VMware Integration & Migration Jump Start

http://msl-events.cloudapp.net/EventRegistration.aspx?eid=a4f0f693-ccce-4a71-a9bb-4ebc74de98d4

STE\/E
03-07-13, 01:52 AM
lol ... I can't even get Linux to run right let alone worry about Migrating something ...

kmanley57
03-07-13, 07:52 AM
Well I can say Windows has problems with the 'cra..y' wireless connections also. But most of the time the built in renegotiation of the wireless software hides it from the clueless Windows user. :p

There 'might' be a Linux flavor out there that tries to fix the 'wireless' problem with being dropped so much on the network connection.

Duke of Buckingham
03-07-13, 10:44 AM
lol ... I can't even get Linux to run right let alone worry about Migrating something ...

I can barely understand the article, not only for technical part but also for my English that is not enough but they are always sending me these messages and sometimes I feel that can be interesting for some us. Nothing to be lost anyway maybe only a post but I think that can be useful for some of us (not for me of course).

STE\/E
03-08-13, 06:34 PM
Giot the new Router in Place, it's just a EA2700 from Linksys, the Network seems a lot snappier http://www.freesmileys.org/smileys/smiley-signs021.gif for now anyway but will have to reserve judgement for a few months to see how it holds up. Setting the router up was a snap, the CD that came with it did all the work I just clicked next ... lol

Mumps
03-08-13, 07:03 PM
Giot the new Router in Place, it's just a EA2700 from Linksys, the Network seems a lot snappier http://www.freesmileys.org/smileys/smiley-signs021.gif for now anyway but will have to reserve judgement for a few months to see how it holds up. Setting the router up was a snap, the CD that came with it did all the work I just clicked next ... lol

Yeah, but how many times did they force you to hit "Next"? :)

STE\/E
03-09-13, 01:01 AM
I got a NEXT Button on my Keyboard ... :D

STE\/E
03-17-13, 09:38 AM
I re-installed Linux on 1 Box this morning, way to many problems with it & running BOINC, was losing 50% or more of the work I was doing due to Network Problems & BOINC just Crashing Wu's for no reason at all that I could see. A simple plug in of a USB Stick could crash everything at times so I figured a re-install was best.

Well everything seemed to go okay but now BOINC won't start up after installing it, all I get is this:

poorboy@PBOYZTOY17L:~$ ~/BOINC/run_manager
./boincmgr: error while loading shared libraries: libwx_gtk2u_html-2.8.so.0: cannot open shared object file: No such file or directory
poorboy@PBOYZTOY17L:~$

I install's Z's Script he gave me & even did a second 32lib install but BOINC just won't start ... ??? ... So the Box is down for now until I can figure out how to get BOINC to start, going to Breakfast now, maby some Brain Food will Help ... lol

Mumps
03-17-13, 12:06 PM
poorboy@PBOYZTOY17L:~$ ~/BOINC/run_manager
./boincmgr: error while loading shared libraries: libwx_gtk2u_html-2.8.so.0: cannot open shared object file: No such file or directory
poorboy@PBOYZTOY17L:~$

That implies the Gtku package needs to be installed. Try the following:

poorboy@PBOYZTOY17L:~$ sudo apt-get install libwxgtk2.8-0+

That package is actually a toolkit for window handling that helps make the BOINC client code more easily ported cross platform.

STE\/E
03-17-13, 01:11 PM
Thanks but no go:

poorboy@PBOYZTOY17L:~$ sudo apt-get install libwxgtk2.8-0+

EDIT: It's doing something now, just had to get the Command in there right ... rolls eyes

Okay that got BOINC started, now to see if I can transfer files from the copied BOINC Folder I copied before re-installing LInux ...

STE\/E
03-17-13, 01:38 PM
Boinc starts now but just goes thru a phase of " Retreiving current status > unable to connect to host client > disconnected "

poorboy@PBOYZTOY17L:~$ bash boinc_7.0.52_x86_64-pc-linux-gnu.sh
use /home/poorboy/BOINC/run_manager to start BOINC
poorboy@PBOYZTOY17L:~$ ~/BOINC/run_manager
/home/poorboy/BOINC/boinc: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory


EDIT: Okay I ran this >>> sudo apt-get install libwxgtk2.8-dev libcurl4-openssl-dev libxss-dev

and BOINC started and connected to the client, now to see if it will take the copied files ...

STE\/E
03-17-13, 02:09 PM
Have BOINC running now, not sure anything was fixed with the reinstall of Linux though, the WUProp Wu Promptly erred out right after BOINC started so more lost Work & Hr's, if it keeps up I'll just have to put it back on Windows where it wasn't having any problems with the Wu's ...

Thanks, Mumps for getting me started anyway ...

Mumps
03-17-13, 04:06 PM
/home/poorboy/BOINC/boinc: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

And if you're still getting this one, that's part of

poorboy@PBOYZTOY17L:~$ sudo apt-get install libXss1+

Case is important. :)

That one is part of the interface for "Screen Saver" applications to do windows. Like the BOINC Client was originally designed to be.

STE\/E
03-17-13, 06:28 PM
I'll make Note of that Mumps .. Thanks

STE\/E
03-25-13, 01:23 PM
Help on the Linux VirtualBox, I installed the Virtualbox from the Software Package that comes with Ubuntu 12.10. The Test4Theory Wu's error out in a few seconds after starting. Is there something else I need to do to get the Test4Theory Wu's to run right ??? ... Thanks

Mumps
03-25-13, 10:13 PM
Help on the Linux VirtualBox, I installed the Virtualbox from the Software Package that comes with Ubuntu 12.10. The Test4Theory Wu's error out in a few seconds after starting. Is there something else I need to do to get the Test4Theory Wu's to run right ??? ... Thanks

Pretty certain the VirtualBox in the Ubuntu Repo is so old T4T won't run with it. (With my 12.04 Ubuntu it suggests 4.1.12 from the Repository, but T4T works best with 4.2.8 or maybe newer.) I normally go directly to the http://virtualbox.org site and download the relatively current distro right from there. Then you can use package manager to install it. Just right click on the downloaded file and select to open it with Ubuntu Software Center and you should get an option to install it.

STE\/E
03-26-13, 12:39 AM
Pretty certain the VirtualBox in the Ubuntu Repo is so old T4T won't run with it. (With my 12.04 Ubuntu it suggests 4.1.12 from the Repository, but T4T works best with 4.2.8 or maybe newer.) I normally go directly to the http://virtualbox.org site and download the relatively current distro right from there. Then you can use package manager to install it. Just right click on the downloaded file and select to open it with Ubuntu Software Center and you should get an option to install it.

Thanks, Okay I did the Download & Install thing but now I'm getting "Scheduler wait: Communication with VM Hypervisor failed" when the Test4Theory tried to start ... Maybe it needs all 8 Threads, on my Windows Box's the Wu will run on 1 Thread while other Wu's run on the other threads ...

zombie67
03-26-13, 12:46 AM
Thanks, Okay I did the Download & Install thing but now I'm getting "Scheduler wait: Communication with VM Hypervisor failed" when the Test4Theory tried to start ... Maybe it needs all 8 Threads, on my Windows Box's the Wu will run on 1 Thread while other Wu's run on the other threads ...

It sounds like you picked the MT version, so it is waiting to run, until all threads are available.

There is a setting you can make at your project preference page. It will allow MT vs. normal single task. The problem, is that it is not obvious which allows MT. I *think* it is the "Run test applications?" check box. Turn that off, and I think your task (inside the VM) will use only one thread.

STE\/E
03-26-13, 01:11 AM
I shut the other Projects off but the Wu still wouldn't start, so I disabled Test Wu's @ the Project & the Client is making a big download now, will have to wait for it to download & see if the new Wu starts ... The download may take an hour or so on the wireless box ... :rolleyes:

STE\/E
03-26-13, 01:43 AM
I think it still downloaded a MT Wu & it erred in about 25 seconds, so I deselected the CernVM & left Test Wu selected & another Wu downloaded. It was a BETA VBoxWrapper Wu, same thing the Windows Box's run on 1 Thread but it won't start even if I suspend all other work ... I think it's wanting some sort of Kernel installed, it's over my head so I'll stick with running the T4T on Windows I guess ... Thanks anyway

STE\/E
03-26-13, 07:31 AM
I get this message after installing the Oracle VBox: These Programs run from a Terminal: VBox is one of them ,,, do I need to start the VBox from the Terminal 1'st ? before trying to run the T4T Wu's in Linux ... Tried the Oracle VBox on 12.10 & 12.04 but get the errors as soon as the T4T Wu starts ... Windows works fine though by just installing the VBox ...

zombie67
03-26-13, 10:28 AM
I have only run vbox on win and mac machines. No need to pre-start vbox on those.

Fire$torm
03-26-13, 03:15 PM
This is from LHC@Home

http://lhcathome.web.cern.ch/LHCathome/Physics/


...After installing Virtual Box you do not need to launch or run the VirtualBox application or create a virtual machine yourself. T4T will manage that on its own.

Next step: You must now set up BOINC...


http://lhcathome.web.cern.ch/LHCathome/Physics/


Under Linux, BOINC has to be installed in a special way. In order to run Virtual Machines with VirtualBox in your computer, the user needs special privileges. However, the standard Linux distribution package manager installation for BOINC runs under an unprivileged user, so it will not work with this project. If you have such an existing BOINC client installed, you will have to reinstall it.

First go to the BOINC download link (http://boinc.berkeley.edu/download.php) on the official BOINC site and download the installer, which has a name of the form "boinc_VERSION_.sh". This is an auto self-extracting file (http://www.linuxjournal.com/node/1005818), that has to be installed as follows:

1. The boinc_VERSION_.sh file needs to be run, so you first need to give it execution permissions (by default it is a non-executable file).

3. Then you will be able to double-click it, or run it from a command line as (./boinc_VERSION_.sh)

3. After running this application you will see a new BOINC folder, where you can run the client by double-clicking in the boincmgr command.

4. Attach your computer to the project!

STE\/E
03-26-13, 05:55 PM
Just got thru messing with that F$ & the Wu's still error out in a few seconds ...

Fire$torm
03-26-13, 07:59 PM
Just got thru messing with that F$ & the Wu's still error out in a few seconds ...

Damn....! Sorry that didn't work out for you.

Duke of Buckingham
03-26-13, 10:16 PM
We don't know so much about computing or Linux but anyone of us can download Ubuntu to a DVD or to a USB stick. You can choose between the flavours at http://www.ubuntu.com/download/desktop or in here http://www.ubuntu.com/download

Then once installed follow this instructions http://boinc.berkeley.edu/wiki/Installing_BOINC_on_Ubuntu for all other Linux you have this link http://boinc.berkeley.edu/wiki/Installing_on_Linux

That page of Linux instructions is not for me and maybe is not for you either.

and STE\/E try from scratch on one computer to clean all those instructions you have been giving to the OS. Maybe we can lose some time depending on the project but it works and it is Linux and it is faster.

Al
03-27-13, 10:10 AM
I've never run Test4theory before. I decided to try it to see if I ran into the same issue Ste\/e described. So I didn't open VirtualBox, I attached to the project and it immediately downloaded the win7 application file. Too bad you don't get wuprop credit for the time it takes to download the wus. Anyway, 7 hours in and still running. This was a clean install of VB and Ubuntu 12.04 about 30 days ago. I do find it interesting that VB must be installed even though it doesn't appear, outwardly, that T4T really uses it. Then again, I guess I don't need to know why it works as long as it does.

STE\/E
03-27-13, 04:26 PM
I don't have any problem running the T4T Wu's on my Windoze Box's Al, it's the Linux that won't run them ...

Al
03-27-13, 04:45 PM
I don't have any problem running the T4T Wu's on my Windoze Box's Al, it's the Linux that won't run them ...

Well, just get rid of the linux. :p

STE\/E
03-27-13, 05:09 PM
Well, just get rid of the linux. :p

I like Pain & Linux gives you plenty of that ... :p

Al
03-27-13, 05:15 PM
I like Pain & Linux gives you plenty of that ... :p

Isn't that the truth!

nanoprobe
03-27-13, 06:32 PM
I like Pain & Linux gives you plenty of that ... :p

No pain no gain..... right? 1289

zombie67
03-27-13, 08:40 PM
Well, just get rid of the linux. :p

The ironic part is that the task itself is a linux app, running inside a mini-linux OS.....and it runs easiest on windows.

WFIW, on OSX machines, after installing vbox, you also have to run a simple command line in a terminal. No big deal, and you have to do it only once. But it is still a second step needed.

STE\/E
03-28-13, 02:05 AM
Maybe some Command needs to be run in the Terminal to get the VBox Started, don't know what it wold be though ???

zombie67
03-28-13, 08:53 AM
Maybe some Command needs to be run in the Terminal to get the VBox Started, don't know what it wold be though ???

I haven't followed this whole thread. Did you follow the instructions here?

http://boinc01.cern.ch/boinc-gnu-linux

STE\/E
03-28-13, 09:15 AM
Yes, that's the same Instructions F$ posted some posts ago in this Thread, the Wu's still erred out after a few seconds ...

Al
03-31-13, 10:28 AM
I've got a very old HP laptop 1.5ghz, single core. I installed Ubuntu 12.4. I then installed BM 7.0.27 and VirtualBox 4.1.12 both coming from the Ubuntu Software Center. No command line stuff. VB is just sitting on the taskbar, not running. T4T downloaded and is @ 40% done 8 hours in without any errors.

STE\/E
03-31-13, 04:16 PM
Great Al, Linux just bit me in the ass again for 100 Hr's of Wu's, for some reason all the Icons on the Launcher decided to disapper, no mater what I did I coulndn't get them back. So I rebooted and of course the SLinCA Wu's don't have checkpoints so they all started fron 0:00 time again. I feel like I'm just running in circles with Linux, run some Wu's then rerun them again because Linux freaks up ... :rolleyes:

I'm not even trying to run the VBox on Linux anymore, I don't know any of the commands to install anything other than BOINC so rather than blow my mind out I just forgot about trying it anymore ...

zombie67
03-31-13, 04:39 PM
The good news: there are WAY more than enough windows apps, to get 100 @ 5k hours. Don't need to worry about Linux apps, unless he expands the number of stars beyond 5.

STE\/E
03-31-13, 04:44 PM
The good news: there are WAY more than enough windows apps, to get 100 @ 5k hours. Don't need to worry about Linux apps, unless he expands the number of stars beyond 5.

I'm already working on the 6th set of 20 App's, one reason it's taking me so long to get the second Emerald Star or 1'st Sapphire, getting close on both though. I've also got 17 App's over 100 Hr's in the 6'th Set already just in case ... <):)

zombie67
03-31-13, 04:58 PM
Yeah, I am in the same place. Almost enough for a 6th star, if such a thing existed. About 150 apps with credit. Maybe we can convince the admin to add a second icon, for stars 6-10?

STE\/E
03-31-13, 05:35 PM
I've only git 127 App's, wouldn't know where to get another 23+ App's for 150, but I don't run the Quake or Radiation Projects so I lose some there ...

Mumps
03-31-13, 06:57 PM
all the Icons on the Launcher decided to disapper, no mater what I did I coulndn't get them back. So I rebooted and

Too late to help this time, but I've seen that happen (twice in 6 months) on my normal Command/Control Linux box. Simply logging out and back in brings them back for me.