dnschneid / crouton

Chromium OS Universal Chroot Environment
https://goo.gl/fd3zc?si=1
BSD 3-Clause "New" or "Revised" License
8.56k stars 1.24k forks source link

Better Intergrating Chouton with Chromium Build #66

Closed moocow1452 closed 11 years ago

moocow1452 commented 11 years ago

Would it be possible to BYOBuild of Chromium with Crouton built in, and/or set something up where you can launch normal Linux Apps within Native Client or just on top and around of Chrome OS, so that it feels more like one full operating system, or is that just not possible with the current setup?

dnschneid commented 11 years ago

There's nothing stopping you from dropping crouton into your root image, although that only saves you a wget.

NaCl allows for native code execution, but it doesn't allow for running arbitrary binaries. There's a key distinction there: whatever you want to run in NaCl still needs to be compiled for NaCl such that certain security model requirements are respected (code and jump alignment, for instance). Additionally, NaCl does not expose any devices (that would be crazy), so NaCl apps have to use a specific API to access audio, video, input, etc. This means you can't just drop an arbitrary Ubuntu userspace into a NaCl container and have any hope of it working.

You have two options if you want to NaClize a distro: run it in a NaCl port of qemu (doesn't exist except in javascript right now; either way it will be painfully slow), or re-compile the Ubuntu userspace (all of it) for NaCl, which will probably involve emulating some device nodes to wrap the NaCl APIs. It'd be a very cool project, but a huge undertaking and extremely unlikely to happen.

moocow1452 commented 11 years ago

So, as cool as a native client version of Virtualbox would be (or a Native Client "bare metal" port of Ubuntu,) you would need to put all that work in just to get apps to trigger from Chrome OS? No way to fudge shortcuts or bookmarklets that can activate apps?

dnschneid commented 11 years ago

You can do some hacks (the Xephyr target is one such hack). You can fudge shortcuts via ratpoison or keylaunch. See #1 for the issues you'll hit; there really isn't a good solution right now.

moocow1452 commented 11 years ago

Cool, definitely some food for thought if I can go ahead and run XBMC, Netflix-Desktop or my Steam Library from a shortcut.

DennisLfromGA commented 11 years ago

Just saw this where a dude installed qemu (apt-get qemu-launcher) on an Acer C7 and it worked with WinXP. Here's his article: http://goo.gl/fG1YNZ

On Thu, Mar 14, 2013 at 4:21 PM, moocow1452 notifications@github.comwrote:

Cool, definitely some food for thought if I can go ahead and run XBMC, Netflix-Desktop or my Steam Library from a shortcut.

— Reply to this email directly or view it on GitHubhttps://github.com/dnschneid/crouton/issues/66#issuecomment-14926691 .

DennyL@GMail

dnschneid commented 11 years ago

By "a dude" you mean @moocow1452 :)

moocow1452 commented 11 years ago

I appreciate the compliment. On Sep 9, 2013 5:58 PM, "DennisL" notifications@github.com wrote:

Just saw this where a dude installed qemu (apt-get qemu-launcher) on an Acer C7 and it worked with WinXP. Here's his article: http://goo.gl/fG1YNZ

On Thu, Mar 14, 2013 at 4:21 PM, moocow1452 notifications@github.comwrote:

Cool, definitely some food for thought if I can go ahead and run XBMC, Netflix-Desktop or my Steam Library from a shortcut.

— Reply to this email directly or view it on GitHub< https://github.com/dnschneid/crouton/issues/66#issuecomment-14926691> .

DennyL@GMail

— Reply to this email directly or view it on GitHubhttps://github.com/dnschneid/crouton/issues/66#issuecomment-24117866 .

DennisLfromGA commented 11 years ago

@moocow1452 (or Joey as I just discovered - duh!) Glad you took it in the way it was intended, as a cool compliment. Hey I didn't say 'dudette' ;)

I have a quantal & raring chroot, would you recommend I try it with one of these in particular?

Thanx, Dennis

On Mon, Sep 9, 2013 at 8:53 PM, moocow1452 notifications@github.com wrote:

I appreciate the compliment. On Sep 9, 2013 5:58 PM, "DennisL" notifications@github.com wrote:

Just saw this where a dude installed qemu (apt-get qemu-launcher) on an Acer C7 and it worked with WinXP. Here's his article: http://goo.gl/fG1YNZ

On Thu, Mar 14, 2013 at 4:21 PM, moocow1452 notifications@github.comwrote:

Cool, definitely some food for thought if I can go ahead and run XBMC, Netflix-Desktop or my Steam Library from a shortcut.

— Reply to this email directly or view it on GitHub< https://github.com/dnschneid/crouton/issues/66#issuecomment-14926691> .

DennyL@GMail

— Reply to this email directly or view it on GitHub< https://github.com/dnschneid/crouton/issues/66#issuecomment-24117866> .

— Reply to this email directly or view it on GitHubhttps://github.com/dnschneid/crouton/issues/66#issuecomment-24126607 .

DennyL@GMail

moocow1452 commented 11 years ago

Raring worked for me. In theory, it should work with a proper disto, maybe with an external kernel, sort of stumbled across XP working since the Ubuntu Lives were giving me some trouble. Will try again with Puppy or Arch, and see if I can borrow my sisters ARMbook for testing, and iron out more hardware support. Or break everything and drop it after a week, one of the two. On Sep 9, 2013 10:59 PM, "DennisL" notifications@github.com wrote:

@moocow1452 (or Joey as I just discovered - duh!) Glad you took it in the way it was intended, as a cool compliment. Hey I didn't say 'dudette' ;)

I have a quantal & raring chroot, would you recommend I try it with one of these in particular?

Thanx, Dennis

On Mon, Sep 9, 2013 at 8:53 PM, moocow1452 notifications@github.com wrote:

I appreciate the compliment. On Sep 9, 2013 5:58 PM, "DennisL" notifications@github.com wrote:

Just saw this where a dude installed qemu (apt-get qemu-launcher) on an Acer C7 and it worked with WinXP. Here's his article: http://goo.gl/fG1YNZ

On Thu, Mar 14, 2013 at 4:21 PM, moocow1452 notifications@github.comwrote:

Cool, definitely some food for thought if I can go ahead and run XBMC, Netflix-Desktop or my Steam Library from a shortcut.

— Reply to this email directly or view it on GitHub< https://github.com/dnschneid/crouton/issues/66#issuecomment-14926691> .

DennyL@GMail

— Reply to this email directly or view it on GitHub< https://github.com/dnschneid/crouton/issues/66#issuecomment-24117866> .

— Reply to this email directly or view it on GitHub< https://github.com/dnschneid/crouton/issues/66#issuecomment-24126607> .

DennyL@GMail

— Reply to this email directly or view it on GitHubhttps://github.com/dnschneid/crouton/issues/66#issuecomment-24130335 .

DennisLfromGA commented 11 years ago

Thanx, I'll try it on my Acer C7 with raring then. Hopefully my problems with beta version 30... on the Acer will hold off long enough for me to get it loaded - the screen starts flickering and then it goes blank for a while and then reboots. It's happened to me twice today and I just upgraded it yesterday - fingers crossed...

On Mon, Sep 9, 2013 at 11:28 PM, moocow1452 notifications@github.comwrote:

Raring worked for me. In theory, it should work with a proper disto, maybe with an external kernel, sort of stumbled across XP working since the Ubuntu Lives were giving me some trouble. Will try again with Puppy or Arch, and see if I can borrow my sisters ARMbook for testing, and iron out more hardware support. Or break everything and drop it after a week, one of the two. On Sep 9, 2013 10:59 PM, "DennisL" notifications@github.com wrote:

@moocow1452 (or Joey as I just discovered - duh!) Glad you took it in the way it was intended, as a cool compliment. Hey I didn't say 'dudette' ;)

I have a quantal & raring chroot, would you recommend I try it with one of these in particular?

Thanx, Dennis

On Mon, Sep 9, 2013 at 8:53 PM, moocow1452 notifications@github.com wrote:

I appreciate the compliment. On Sep 9, 2013 5:58 PM, "DennisL" notifications@github.com wrote:

Just saw this where a dude installed qemu (apt-get qemu-launcher) on an Acer C7 and it worked with WinXP. Here's his article: http://goo.gl/fG1YNZ

On Thu, Mar 14, 2013 at 4:21 PM, moocow1452 < notifications@github.com>wrote:

Cool, definitely some food for thought if I can go ahead and run XBMC, Netflix-Desktop or my Steam Library from a shortcut.

— Reply to this email directly or view it on GitHub< https://github.com/dnschneid/crouton/issues/66#issuecomment-14926691>

.

DennyL@GMail

— Reply to this email directly or view it on GitHub< https://github.com/dnschneid/crouton/issues/66#issuecomment-24117866> .

— Reply to this email directly or view it on GitHub< https://github.com/dnschneid/crouton/issues/66#issuecomment-24126607> .

DennyL@GMail

— Reply to this email directly or view it on GitHub< https://github.com/dnschneid/crouton/issues/66#issuecomment-24130335> .

— Reply to this email directly or view it on GitHubhttps://github.com/dnschneid/crouton/issues/66#issuecomment-24131380 .

DennyL@GMail

moocow1452 commented 11 years ago

Dev seems okay. Try loading Chrubuntu on a USB from a new machine, use that to back up, or skip to recovery stick. On Sep 9, 2013 11:51 PM, "DennisL" notifications@github.com wrote:

Thanx, I'll try it on my Acer C7 with raring then. Hopefully my problems with beta version 30... on the Acer will hold off long enough for me to get it loaded - the screen starts flickering and then it goes blank for a while and then reboots. It's happened to me twice today and I just upgraded it yesterday - fingers crossed...

On Mon, Sep 9, 2013 at 11:28 PM, moocow1452 notifications@github.comwrote:

Raring worked for me. In theory, it should work with a proper disto, maybe with an external kernel, sort of stumbled across XP working since the Ubuntu Lives were giving me some trouble. Will try again with Puppy or Arch, and see if I can borrow my sisters ARMbook for testing, and iron out more hardware support. Or break everything and drop it after a week, one of the two. On Sep 9, 2013 10:59 PM, "DennisL" notifications@github.com wrote:

@moocow1452 (or Joey as I just discovered - duh!) Glad you took it in the way it was intended, as a cool compliment. Hey I didn't say 'dudette' ;)

I have a quantal & raring chroot, would you recommend I try it with one of these in particular?

Thanx, Dennis

On Mon, Sep 9, 2013 at 8:53 PM, moocow1452 notifications@github.com wrote:

I appreciate the compliment. On Sep 9, 2013 5:58 PM, "DennisL" notifications@github.com wrote:

Just saw this where a dude installed qemu (apt-get qemu-launcher) on an Acer C7 and it worked with WinXP. Here's his article: http://goo.gl/fG1YNZ

On Thu, Mar 14, 2013 at 4:21 PM, moocow1452 < notifications@github.com>wrote:

Cool, definitely some food for thought if I can go ahead and run XBMC, Netflix-Desktop or my Steam Library from a shortcut.

— Reply to this email directly or view it on GitHub<

https://github.com/dnschneid/crouton/issues/66#issuecomment-14926691>

.

DennyL@GMail

— Reply to this email directly or view it on GitHub< https://github.com/dnschneid/crouton/issues/66#issuecomment-24117866>

.

— Reply to this email directly or view it on GitHub< https://github.com/dnschneid/crouton/issues/66#issuecomment-24126607> .

DennyL@GMail

— Reply to this email directly or view it on GitHub< https://github.com/dnschneid/crouton/issues/66#issuecomment-24130335> .

— Reply to this email directly or view it on GitHub< https://github.com/dnschneid/crouton/issues/66#issuecomment-24131380> .

DennyL@GMail

— Reply to this email directly or view it on GitHubhttps://github.com/dnschneid/crouton/issues/66#issuecomment-24131838 .

DennisLfromGA commented 11 years ago

I have dev version 31... on my Cr-48 and have not had any problems either so maybe it has something to do with version 30. I do have Chrubuntu on a usb stick already so I'm good to go there. I've also got everything tarred and saved away on an SD card and on Google Drive too. I've had too many hard drives fail on me to know better so I try to stay prepared. I should be getting a 128GB SSD drive real soon now so I'm gon'na have to do a usb restore soon anyway. Thanx for the suggestions, hope it's just the latest update and not my Acer C7 ;)

On Tue, Sep 10, 2013 at 12:17 AM, moocow1452 notifications@github.comwrote:

Dev seems okay. Try loading Chrubuntu on a USB from a new machine, use that to back up, or skip to recovery stick. On Sep 9, 2013 11:51 PM, "DennisL" notifications@github.com wrote:

Thanx, I'll try it on my Acer C7 with raring then. Hopefully my problems with beta version 30... on the Acer will hold off long enough for me to get it loaded - the screen starts flickering and then it goes blank for a while and then reboots. It's happened to me twice today and I just upgraded it yesterday - fingers crossed...

On Mon, Sep 9, 2013 at 11:28 PM, moocow1452 notifications@github.comwrote:

Raring worked for me. In theory, it should work with a proper disto, maybe with an external kernel, sort of stumbled across XP working since the Ubuntu Lives were giving me some trouble. Will try again with Puppy or Arch, and see if I can borrow my sisters ARMbook for testing, and iron out more hardware support. Or break everything and drop it after a week, one of the two. On Sep 9, 2013 10:59 PM, "DennisL" notifications@github.com wrote:

@moocow1452 (or Joey as I just discovered - duh!) Glad you took it in the way it was intended, as a cool compliment. Hey I didn't say 'dudette' ;)

I have a quantal & raring chroot, would you recommend I try it with one of these in particular?

Thanx, Dennis

On Mon, Sep 9, 2013 at 8:53 PM, moocow1452 notifications@github.com

wrote:

I appreciate the compliment. On Sep 9, 2013 5:58 PM, "DennisL" notifications@github.com wrote:

Just saw this where a dude installed qemu (apt-get qemu-launcher) on an Acer C7 and it worked with WinXP. Here's his article: http://goo.gl/fG1YNZ

On Thu, Mar 14, 2013 at 4:21 PM, moocow1452 < notifications@github.com>wrote:

Cool, definitely some food for thought if I can go ahead and run XBMC, Netflix-Desktop or my Steam Library from a shortcut.

— Reply to this email directly or view it on GitHub<

https://github.com/dnschneid/crouton/issues/66#issuecomment-14926691>

.

DennyL@GMail

— Reply to this email directly or view it on GitHub<

https://github.com/dnschneid/crouton/issues/66#issuecomment-24117866>

.

— Reply to this email directly or view it on GitHub< https://github.com/dnschneid/crouton/issues/66#issuecomment-24126607>

.

DennyL@GMail

— Reply to this email directly or view it on GitHub< https://github.com/dnschneid/crouton/issues/66#issuecomment-24130335> .

— Reply to this email directly or view it on GitHub< https://github.com/dnschneid/crouton/issues/66#issuecomment-24131380> .

DennyL@GMail

— Reply to this email directly or view it on GitHub< https://github.com/dnschneid/crouton/issues/66#issuecomment-24131838> .

— Reply to this email directly or view it on GitHubhttps://github.com/dnschneid/crouton/issues/66#issuecomment-24132638 .

DennyL@GMail