From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5d375e920801022002ue02d746o20c5b88be2cce653@mail.gmail.com> Date: Thu, 3 Jan 2008 05:02:35 +0100 From: Uriel To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] opera under linuxemu In-Reply-To: <7d3530220801021939q597fd8adm3e9ca296b0d20cb6@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <13426df10801021655r28a34e4ep98bdde53f18f447d@mail.gmail.com> <32d987d50801021929v1a3c478awdd22daebb96d8aa@mail.gmail.com> <7d3530220801021939q597fd8adm3e9ca296b0d20cb6@mail.gmail.com> Topicbox-Message-UUID: 25eca274-ead3-11e9-9d60-3106f5b1d025 It is a VNC session because there is no X server for Plan 9 and opera is an X client, so I think cinap runs xvnc under linuxemu, and then connects to it with the native plan9 vnc client. I spent a while fighting with x.org trying to get kdrive to run on Plan 9, I got quite close (after many unmentionable hacks, including to 8l to make it ignore certain linking errors), but the psychological strain became too great and I had to give up, I might pick it again if I'm feeling sufficiently masochistic some day and I got nothing better to do. In any case, it is feasible and probably somebody more skilled than me will have less trouble. Linuxemu+kdrive would pretty much allow us to run any lunix app on Plan 9, and stop wasting time porting every stupid lunix app and dealing with auto*hell. I must apologize for once upon a time claiming that linuxemu was a waste of time, I was (as usual) wrong and now I think it is the best way to waste the least amount of time and effort trying to run lunix junk on Plan 9. Oh, btw, for everyone clamoring for ssh2, openssh runs just fine under linuxemu. My hat goes off to russ and cinap for their amazing work on linux emu. uriel On Jan 3, 2008 4:39 AM, John Floren wrote: > Pardon me for be a doubting Thomas, but that screenshot looks a hell > of a lot like a VNC session. You know, with the X cursor in the top of > the window and the default X background behind it, and TWM providing > window decorations. Now, having file:/net/ open in one of the windows, > I don't know what's up :) > I'm sorry for being skeptical, but that's what I'm seeing. > > John > > > On 1/2/08, Federico G. Benavento wrote: > > hola, > > > > getting real static binaries in linux is a bit tricky and no one seems to > > be doing so, they always need ld-linux.so, libnss and others. > > cinap creates some kind of bundles that create a fake ns in /tmp/$lbun > > with this (http://9hal.ath.cx/usr/cinap_lenrek/lbun/mklbun) or something > > like, but I know he got opera running in Plan 9. > > http://9hal.ath.cx/usr/cinap_lenrek/plan9opera.png > > > > > > On Jan 2, 2008 9:55 PM, ron minnich wrote: > > > anybody got a howto? I grabbed cinap's linuxemu from sources. Right > > > now I get this: > > > > > > cpu% ./8.out opera-9.25-20071214.1-static-qt.i386-en-687/bin/opera > > > opera-9.25-20071214.1-static-qt.i386-en-687/bin/opera: cant load > > > interpreter: '/lib/ld-linux.so.2' does not exist > > > cpu% bind -a /mnt/term/lib /lib > > > cpu% ./8.out opera-9.25-20071214.1-static-qt.i386-en-687/bin/opera > > > 8.out 20707: suicide: sys: trap: fault read addr=0x57425810 pc=0x57425810 > > > cpu% > > > > > > I am wondering if there is some simple thing I'm missing. I thought > > > static would not need ld-linux.so.2 but ... > > > > > > thanks > > > > > > ron > > > > > > > > > > > -- > > Federico G. Benavento > > > > > -- > Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn >