Way to Go Team

It wouldn't surprise me if it was in his brain. I mean once you twig why you enter various commands and such it basically becomes really easy.

However you need to be doing it quite often [or done it LOTS of times] for it to stay in your head. Hopefully with Linux being used quite often instead of my XP I should get to grips with things again :)

EDIT: Thanks BTI! I can actually scroll a web page now without having the need to book a holiday :D

Why oh why the "official" guides never worked I don't know :(

SiriusB
 
Last edited:
Twas about 75/25 n my head. I looked it up to double check meself. ;) :p

It's off to work now but when I get back later I can guide you through setting up FahMon, which, admittedly, is a hassle because the wxGTK toolkit is not available in the regular repos.

We'll get there. ;)

In the mean time install Automatix to get all the codecs, plugins, media players, etc.
 
Nice one Billy.

One problem with installing the driver is that although it gives you a 1680x1050 resolution, it wont let you choose it. Sussed it out though, I had to mess about reconfiguring the xserver. Nearly crapped meself at one point because I restarted the xserver and I got a lovely message saying it is broken!

me = :eek:

Had to reconfigure it [using the correct driver this time :o] in recovery mode. Now all is well and I have a proper resolution :D

SiriusB
 
Help with FahMon would still be appreciated :)

I am about to go bed as I have work in a minute so I will check back tomorrow afternoon.

Also, does anyone know when the stats server will be back up? Nearly finished my second SMP WU and I wanna see my PPD :D

SiriusB
 
So say i wanted to do this as an overnight thing on my one and only comp, you know, "for the team". How would i go about doing this? Is there a client that works in windows of which I can easily terminate the program?
 
If you are talking about Folding in general then yes you can. There are two Windows clients. A Console and GUI versions. If you want to easily turn the client on and off then the GUI version is probably the better option.

All the info you could possibly need is in the sticky. Just scroll through it until you find the GUI client guide. If you have any problems then feel free to ask. However it is best if you make a new thread, as this one is mostly about the BETA SMP client now :p

SiriusB
 
Nah, I think the console would be better. You'll install it as a service then make batch files as shown in the sticky. You would then configure a scheduled task to automatically start it at night and stop it in the morning. If you wanted to run or stop it manually just double click the file. :)

Sirius, I started to write a tiny guide then I realized it was 3 AM here and I have work tomorrow. :o :eek: Curse you, original Command and Conquer! :D

Time for bed. ;)
 
I haven't read the sticky in a while so I forgot about the batch file stuff. Depends really what you wanna do. Simple GUI or mess about with the Console etc :D

Nice one for the work BTI, can't wait to see it. 3AM... that's roughly when I went to bed... just got up now and I am cream crackered. Got work in an hour :(

And yes C&C is always addictive :D

SiriusB
 
Ok, to run FahMon on Linux you have to compile it yourself. This would be less of a drag if the wxWidgets toolkit it uses were in greater availability. Sadly it's not. Mind you I'm writing this from my head as I don't have a 64-bit machine on which I can test.

Since you're using Ubuntu which is based on Debian you can use apt-get for some things. wxWidgets is available in an experimental synaptic repository but this binary doesn't include support for Unicode which FahMon needs; it just supports ANSI encoding. this means you have to compile your own.

Start off by going to FahMon's site and downloading the source tar. Then go to the wxWidgets site and grab the source package for wxGTK.

Extract both, open up FahMon then the doc folder and read the install notes. you'll see that it states it needd:
- g++ (either 3.x or 4.x)
- wxGTK >= 2.6.3 (runtime and headers)
- scons

Scons and g++ are easily available in Synaptic. Open up System > Administration > Synaptic Package Manager. Type in g++ and select that then do the same for scons. If they're already checked, you're good to go.

To determine if, on the off chance that you already have a usable version of wxGTK open up your buddy the terminal and type in
Code:
wx-config --list
If it prints anything like
Default config is gtk2-unicode-release-2.6
Default config will be used for output
Alternate matches:
gtk2-unicode-debug-2.6
you're good to go. If not, you're going to have to compile and install wxGTK.

To compile xwGTK go to its directory and open up install-gtk.txt. In there you'll see the instructions for building wxGTK.

You'll need to make a directory then change to it. Run
Code:
mkdir buildgtk
cd buildgtk
You'll now prepare and compile it. We need to be sure to enable unicode support so you'll add the --enable-unicode flag. Run
Code:
../configure --with-gtk --enable-unicode
It will prepare it and in the end print a summary of your configuration. Be sure that it says "yes" by Unicode support.

Now it's ready for compilation. Run[/code]make[/code]Text will fly by and you can go get yourself a cup of coffee because this may take a few minutes. ;)

When it finally returns you to a command prompt enter
Code:
sudo make install
This will install wxGTK on your computer.

Finally run
Code:
ldconfig

Once this is all done you are ready to use the toolkit you just built. Test that it worked by running the same test we did before
Code:
wx-config --list
It should print out something like
Default config is gtk2-unicode-release-2.8
Default config will be used for output

W00t, It worked. Go cd to your FahMon folder and enter the src directory. Initiate the build with
Code:
scons
It'll compile for a bit then return you to the command line. If all went well type
Code:
./fahmon
to execute the program. :)
 
Sweet. Thanks for that Billy. Will give that a go later on when I have relaxed, only just walked in from work.

Can I ask a question... what the hell is the "sudo" command? I never came across it while using Linux at University. We used SuSe and Slax.

I like Linux a lot and now I have it installed I wanna get pro with it, but I keep seeing new things like the above sudo and also stuff like "apt-get".

SiriusB
 
sudo is "super user do" You are probably familiar with su, the command that makes you the superuser. Ubuntu has root disabled by default so one must sudo instead of su. sudoing makes you the superuser for just that one command. It lets you perform administrative tasks without having to remain as superuser for more than a moment.
 
Ahh makes sense now. I did wonder why I wasn't asked for a root password when I installed Ubuntu.

I am guessing I can create users who can't use the sudo command? Not that I will need to, just curious. :D

SiriusB
 
Yep, in the user creation dialog you can assign who can and who cannot use sudo. Beyond that if you want to edit some config files you can specify which users can use which commands as sudoers. It's really well designed, I think. :)
 
Seems like a good system. Instantly prevents you from accidently logging in as a super user then forgetting to go back to the normal user account.

SiriusB
 
Of course you can always set the root passwd by doing;

sudo passwd root

And then you can issue 'su' to become the super user.

Personally typing 'sudo' all the time drives me crazy ;)

Dunc
 
Typing "sudo" doesn't really bother me much. We shall see how it goes though :D

I am great at picking up programming languages, I just need to get my head around Bash commands and I'll be laughing. Might spend some money and buy meself a Linux book of some description.

Code:
sudo apt-get install bashknowledge --into-brain

It might work...

SiriusB
 
Urgh man pages make baby Jesus cry.

I remember this assistant tutor type person used to always fob us off with "use the man pages". Worst advice ever. You were lucky the command you were struggling with didn't have 18 pages of waffle. :p

On a serious note, I have just come across a book I bought a while ago, The Pocket Guide to Linux :D

Tis a tiny book and is mostly reference - it shall be living next to my monitor from now on.

SiriusB
 
Oh dear... Billy... HELP!

Something has gone wrong...

Code:
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error:

That was at the end of all the output from ../configure --with-gtk --enable-unicode

scons and g++ are both installed and I have done everything exactly as you have said. [The error is significant because make brings up an error:

Code:
make: *** No rule to make target `install'.  Stop.

Any ideas?

SiriusB
 
Back
Top Bottom