Welcome to MacForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Running linux binaries via Virtual PC

 
   Macintosh computer (Home) -> Sci.Tech. RSS
Next:  EPS figures in Textures (&LaTeX) once more  
Author Message
Pieter Kuiper

External


Since: Oct 05, 2003
Posts: 11



(Msg. 1) Posted: Sun Oct 05, 2003 10:35 pm
Post subject: Running linux binaries via Virtual PC
Archived from groups: comp>sys>mac>scitech (more info?)

I found out that one can run precompiled linux binaries via Virtual PC.
I had a Mandrake 8.2 lying around (a cover-DVD from "Linux Format"). It
installed relatively easily with VPC 6. The only problem was that it had
problems recognizing the display hardware. Also the cursor cannot get
out of the linux window; I suspect this has to do with VPC Additions. So
I switch to the Windows system to get back to Jaguar. This also means
that VPC should not pause the operating system which is not in front.

It is fastest to have a very minimal installation without Gnome or KDE.
By setting "export DISPLAY=my.ip.num.ber:0.0" on can send the mandrake
windows to Apple's X11 if X11 access control has been disabled by "xhost
+". After executing "xterm -sb -bg black -fg green &" on VPC's Mandrake
window, one can switch to X11 and conduct the rest of the session from
the new Mandrake window in X11.

From that window I downloaded and installed Alessandro Mirones
precompiled scisoft software. I was delighted to see that PPM worked.
(It is a program to calculate the x-ray reflectivity of multilayers
<http://www.esrf.fr/computing/scientific/PPM/ppm.html>.)

I also tried Mirone's program Amarcord (calculation of the electronic
structure of atoms and of x-ray absorption spectra). Unfortunately,
running that one gave the message "segmentation fault". Maybe I should
try updating to Mandrake 9?

Anyway, this method might work for lots of interesting unix programs if
a precompiled linux version is available. Much easier than trying to
port things to Darwin.

--
Pieter.Kuiper.TakeThisOut@msi.vxu.se http://www.masda.vxu.se/~pku/

 >> Stay informed about: Running linux binaries via Virtual PC 
Back to top
Login to vote
clvrmnky

External


Since: Sep 12, 2003
Posts: 13



(Msg. 2) Posted: Mon Oct 06, 2003 4:36 pm
Post subject: Re: Running linux binaries via Virtual PC [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Pieter Kuiper wrote:

 > I found out that one can run precompiled linux binaries via Virtual PC.
 > I had a Mandrake 8.2 lying around (a cover-DVD from "Linux Format"). It
 > installed relatively easily with VPC 6. The only problem was that it had
 > problems recognizing the display hardware. Also the cursor cannot get
 > out of the linux window; I suspect this has to do with VPC Additions. So
 > I switch to the Windows system to get back to Jaguar. This also means
 > that VPC should not pause the operating system which is not in front.
 >
Hold down the Apple key to release the mouse pointer.

 >> Stay informed about: Running linux binaries via Virtual PC 
Back to top
Login to vote
Pieter Kuiper

External


Since: Oct 05, 2003
Posts: 11



(Msg. 3) Posted: Mon Oct 06, 2003 10:09 pm
Post subject: Re: Running linux binaries via Virtual PC [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

clvrmnky wrote:

 > Pieter Kuiper wrote:
  > > I found out that one can run precompiled linux binaries via Virtual PC.
  > > I had a Mandrake 8.2 lying around (a cover-DVD from "Linux Format"). It
  > > installed relatively easily with VPC 6. The only problem was that it had
  > > problems recognizing the display hardware. Also the cursor cannot get
  > > out of the linux window;
 >
 > Hold down the Apple key to release the mouse pointer.

Thanks!

--
Pieter.Kuiper.RemoveThis@msi.vxu.se <a rel="nofollow" style='text-decoration: none;' href="http://www.masda.vxu.se/~pku/" target="_blank">http://www.masda.vxu.se/~pku/</a>
 >> Stay informed about: Running linux binaries via Virtual PC 
Back to top
Login to vote
Tanc

External


Since: Feb 19, 2005
Posts: 1



(Msg. 4) Posted: Sat Feb 19, 2005 10:17 pm
Post subject: Re: Running linux binaries via Virtual PC [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Pieter, I'd like to get this working on my setup. If you have some advice
it would be much appreciated.
I have Virtual PC 7 running on my Dual G5. VPC has Mepis installed on it
and network connections work fine. The VPC is using the Virtual Switch
setting and has an IP address of 192.168.0.223
My G5 has the IP 192.168.0.222
So far I have followed the instructions to open an X11 term on the G5 and
"typed xhosts +". I have then typed "export DISPLAY=192.168.0.222:0.0" on
the VPC terminal and then "xterm -sb -bg black -fg green &" also on the
VPC
At this point I get the message xterm XT error: Cant open display:
192.168.0.222:0.0

All firewalls are temporarily off. Any ideas where I might be going wrong?
 >> Stay informed about: Running linux binaries via Virtual PC 
Back to top
Login to vote
Pieter Kuiper

External


Since: Oct 05, 2003
Posts: 11



(Msg. 5) Posted: Sun Apr 03, 2005 5:55 pm
Post subject: Re: Running linux binaries via Virtual PC [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Tanc" wrote:

 > So far I have followed the instructions to open an X11 term on the G5 and
 > "typed xhosts +".

That should be "xhost +" (without the s)

 > I have then typed "export DISPLAY=192.168.0.222:0.0" on
 > the VPC terminal and then "xterm -sb -bg black -fg green &" also on the
 > VPC
 > At this point I get the message xterm XT error: Cant open display:
 > 192.168.0.222:0.0

That "s" might be the problem.

--
"Electrons damage the brain," said Farish. (Donna Tartt)
 >> Stay informed about: Running linux binaries via Virtual PC 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Printing CAD files - I've got a CAD file to the stage where I'd like a few dozen crisp prints run off. These I'll try to sell in support of a locomotive preservation group I belong to. I've been banging my head against a brick wall trying to find a CAD bureau which..

new Fortran compiler - Rumors that NASA has a new and very fast Fortran compiler for OSX (G4 and G5) in beta. Has anybody tried it? -- <http://www.smfr.org/mtnw/docs/FAQ.html#Windows_version>

Complex128 in MacPython - I have written a script in Python with the NumPy extensions require high precision, so have tried to use the Float128 and Complex128 datatypes. However, the MacPython debugger tells me that the highest precision available is Float64 and Complex64, which...

Signal Generator Hardware - Hey all, Anyone know of a portable USB/Firewire/PCMCIA-based signal generator that is supported under Mac OS X? I'm looksing for something that has a frequency response down to at least 5 Hz. Herb -- Herb Singleton usenet@..

pro Fit 5.6.5 released - Dear scitech list subscribers. This is a brief message to announce that we have posted version 5.6.5 of pro Fit, our application for the analysis and presentation of numerical data and mathematical functions. The update provides various bug fixes and....
   Macintosh computer (Home) -> Sci.Tech. All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]