Reply
 
Thread Tools Display Modes
  #1  
Old 08-15-2009, 02:58 PM
derpderp derpderp is offline
Junior Member
 
Join Date: Aug 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Linux Compat
Ok to start things off I'm very impressed with PCBSD, I installed it last night on my laptop as a project type thing.

I'm trying to setup Boinc so I can leave the thing running processes when I'm not using it.

Now I know you can get Boinc running on FreeBSD so should the instructions that show you how to get in running in FreeBSD work basically the same way in PCBSD?

I'm using the instructions on here.
http://www.dotsch.de/boinc/BSD_Linux-Compat_howto.html

It says I need to get the Linux Binary Compatibility, do I need to get this for PCBSD? Or is this already installed? I saw a compat already on my system...

Thank you! :idea:
Reply With Quote
  #2  
Old 08-15-2009, 03:00 PM
pheet pheet is offline
Super Moderator
 
Join Date: Mar 2007
Location: Berlin
Posts: 268
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Linux Compat
Hi,

There appears to be a boinc binary for FreeBSD at http://www.dotsch.de/boinc/BOINC%20Clients.html - precompiled binary should be easier to install.

Download it. Open a console, su to root. enter runports. Then use pkg_add.

As to your original question, linux compat is installed as part of PC-BSD.

HTH;
Pheet
Reply With Quote
  #3  
Old 08-15-2009, 03:41 PM
derpderp derpderp is offline
Junior Member
 
Join Date: Aug 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Linux Compat
Ahh should have looked a bit closer ops:

Thank you!!
Reply With Quote
  #4  
Old 08-15-2009, 04:47 PM
TerryP TerryP is offline
Senior Member
 
Join Date: Nov 2005
Location: Ga. USofA
Posts: 7,906
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to TerryP Send a message via AIM to TerryP Send a message via Yahoo to TerryP
Default Re: Linux Compat
The port doesn't mention that it requires the Linux ABI , although it seems that some "Science Applications" expect Linux.


The net/bonic-client ports makefile has a (default off) option for 'Accept Linux science applications' that might be of interest.
Reply With Quote
  #5  
Old 08-15-2009, 09:49 PM
derpderp derpderp is offline
Junior Member
 
Join Date: Aug 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Linux Compat
I guess there is no point in making a new thread, I've got this thing almost all setup which is good because I've also spent a hell of a lot of time trying to do it.

Running as 'root'. You may now run 'make' in the FreeBSD Ports tree
# /usr/local/etc/rc.d/boinc* start
Starting BOINC client.
# cd /var/db/boinc
boinc_gui# boinc_gui
No protocol specified
Error: Unable to initialize gtk, is DISPLAY set properly?
#

What should I be doing? this is suppose to run the boinc gui, I'm guessing that I either don't actually have gtk or something is missing...anyways any idea on what to do? Google hasn't been as helpful getting me through on this one as the other problems I've had.
Reply With Quote
  #6  
Old 08-16-2009, 03:10 AM
TerryP TerryP is offline
Senior Member
 
Join Date: Nov 2005
Location: Ga. USofA
Posts: 7,906
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to TerryP Send a message via AIM to TerryP Send a message via Yahoo to TerryP
Default Re: Linux Compat
root by default is not allowed to access the users display; either run it as a normal user or yield access to the display.


You can run programs form a normal user as root by using the run dialog or using the kdesu program, it generates the same dialog that PBIs use.

Code:
user-$ kdesu fooapp

You can also run xhost to give root access to your users display (xhost +root I think) and then su to root, and set the DISPLAY variable. If you do echo $DISPLAY before the su, you'll see the value.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Compat FC6 dracheflieger The Lounge 4 03-31-2007 07:14 PM
Linux Compat: Which version would be best? Charles General Questions 17 02-12-2006 11:17 PM
linux compat. neighborlE General Questions 2 01-13-2006 05:21 AM
Linux PBIs break after Linux Compat upgrade? Charles Creating PC-BSD Packages (.pbi files) 4 12-13-2005 10:38 PM
Linux Compat in base release PLEASE! sblevin Feature Requests 3 06-25-2005 01:09 PM


All times are GMT. The time now is 06:17 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.