News for hackers. Stuff that matters.
Re:Boot a linux kernel right inside your browser. by wladimir on Tuesday May 17, 2011 @03:12AM (#2555596)
Indeed, this is completely awesome. I first thought it was some remotely hosted virtual machine, but it really runs inside the browser. Insane! Especially considered how fast it is.

When he adds X, we can run Firefox inside Linux inside Firefox inside Linux :')

Edit: seems the terminal emulator supports ANSI escape codes such as the 16 Linux colors, but not the XTerm 256 color mode (\e[38;5;CCm) or Konsole 24 bit (\e[38;2;RR;GG;BBm). Guess it could be easily added as it's HTML.

Re:Boot a linux kernel right inside your browser. by starwed on Tuesday May 17, 2011 @05:39AM (#2555861)
Interestingly, you can run Firefox inside of Firefox... just enter the url: chrome://browser/content/browser.xul
Re:Boot a linux kernel right inside your browser. by bhoung on Tuesday May 17, 2011 @09:56AM (#2556347)
why??
Re:Boot a linux kernel right inside your browser. by windsurfer on Tuesday May 17, 2011 @11:55AM (#2556729)
Because XUL is rendered with gecko.
Re:Boot a linux kernel right inside your browser. by Maxious on Tuesday May 17, 2011 @05:23AM (#2555828)
> When he adds X, we can run Firefox inside Linux inside Firefox inside Linux :')

Skip the middle man, output gtk via html5 http://blogs.gnome.org/alexl/2011/03/15/gtk-html-backend-upd... (I don't actually know if it still has dependencies on X11 :P)

Re:Boot a linux kernel right inside your browser. by wladimir on Tuesday May 17, 2011 @05:29AM (#2555837)
That would be even better. One could make a Linux device driver to directly access Canvas, WebGL, or even the DOM. It seems that in my post I used "X" as a generic name for "Linux graphics" which is pretty short-sighted.
Re:Boot a linux kernel right inside your browser. by bzbarsky on Tuesday May 17, 2011 @01:02PM (#2556974)
Gecko's GTK backend has dependencies on X11, if that's what you were asking about.
Re:Boot a linux kernel right inside your browser. by dkasper on Tuesday May 17, 2011 @04:08AM (#2555692)
No network connection yet either :(

~ # ifconfig

     lo   Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0    
                               
          UP LOOPBACK RUNNING  MTU:16436  Metric:1    
                          
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
                  
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0    
              
          collisions:0 txqueuelen:0                              
               
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B
Re:Boot a linux kernel right inside your browser. by mnutt on Tuesday May 17, 2011 @11:54AM (#2556721)
This would require a server-side component, as the browser has cross-domain limitations and couldn't generate arbitrary network traffic anyway. You could tunnel through websockets, however.
Re:Boot a linux kernel right inside your browser. by CountHackulus on Tuesday May 17, 2011 @10:21AM (#2556440)
Sadly my dreams were also crushed when I discovered that lynx wasn't in there.

However, wget is there, so all the building blocks are in place.

Re:Boot a linux kernel right inside your browser. by anc2020 on Tuesday May 17, 2011 @01:01PM (#2556970)
As far as I can guess, any networking implementation would have to pass low level requests through a proxy on the server, which would end up making things pretty slow even on an unburdened server.
Re:Boot a linux kernel right inside your browser. by sigil on Tuesday May 17, 2011 @03:14AM (#2555600)
> When he adds X, we can run Firefox inside Linux inside Firefox inside Linux :')

Reddit has a meme for that. ;) (downvote away, I've earned it!)

Re:Boot a linux kernel right inside your browser. by smokeyj on Tuesday May 17, 2011 @10:28AM (#2556453)
HN would appreciate if you left reddit at reddit.
Re:Boot a linux kernel right inside your browser. by 5avage on Tuesday May 17, 2011 @03:42AM (#2555640)
The Esteban one?

"I don't always write Linux Kernels"

"But when I do, it's in browser hosted Javascript"

Re:Boot a linux kernel right inside your browser. by StavrosK on Tuesday May 17, 2011 @04:19AM (#2555712)
The "yo dawg".
Re:Boot a linux kernel right inside your browser. by false on Tuesday May 17, 2011 @10:09AM (#2556399)
or the INCEPTION for that matter :)