Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Linux for Chromebooks

Linux for Chromebooks

Google I/O 2019 Extended Seattle
https://www.meetup.com/gdg-seattle/events/260034948/

Updated with CTL Chromebox Crostini UI for Linux Aug 7, 2019

clive boulton

May 22, 2019
Tweet

More Decks by clive boulton

Other Decks in Technology

Transcript

  1. #I1O9Extended #GDGSeattle Linux for Chromebooks GDG I/O 2019 Extended .

    . . Clive Boulton & Greg Heil Slide content: Google IO, Chrome OS, et al. 1
  2. #I1O9Extended #GDGSeattle 2 • An overview of Chromebooks biggest feature

    since Android apps: Linux Apps aka ‘Crostini’. • Demo TBD • Security & Permissions • Updates • Recommended Chromebooks for Linux Apps
  3. #I1O9Extended #GDGSeattle 4 Crouton - Chromebook give me a $

    bash (feels like a dual boot) Crostini - Linux Apps run on Linux (feels like an app) Yenchi Lin snagged a nice badge at #iO19
  4. #I1O9Extended #GDGSeattle 7 You can install Linux tools, editors, and

    IDEs on your Chromebook. These can be used to write code, create apps, and more. Note: Linux (Beta) is still being improved. Security & permissions Your Chromebook typically protects your computer by running each app in a "sandbox". However, all Linux apps are run inside the same sandbox. This means a harmful Linux app can affect other Linux apps, but not the rest of your Chromebook. Permissions and files shared with Linux are available to all Linux apps.
  5. #I1O9Extended #GDGSeattle Check that your virtual machine is up-to-date. In

    your browser, go to chrome://components. Under "cros-termina," select Check for update. If you download an update, you might need to restart your Chromebook. Update your packages. Open the Terminal Terminal, then run this command: sudo apt-get update && sudo apt-get dist-upgrade Note: You might need to restart your Chromebook for changes to take effect. Linux automatically checks for new packages after initial setup and every 24 hours when it is running. 8
  6. #I1O9Extended #GDGSeattle 9 Your Chromebook typically protects your computer by

    running each app in a "sandbox". However, all Linux apps are run inside the same sandbox. This means a harmful Linux app can affect other Linux apps, but not the rest of your Chromebook. Permissions and files shared with Linux are available to all Linux apps. Share your Google Drive folder with Linux. Right-click Google Drive in the Files app and choose “Share with Linux” — and when in Linux, you can find the contents of your Google Drive at /mnt/chromeOS/Google Drive.
  7. #I1O9Extended #GDGSeattle Tab 1. Open encrypted email Tab 2. Watch

    a movie triggers a malicious advertisement in Tab 3. When encrypted email is decrypted, Tab 3 learns information about user’s secret key (from cache) 11 Zombie Load Attack - New secret-spilling flaw affects almost every Intel chip since 2011 . . .
  8. The es-membrane approach: ProxyMapping objects “Wet” object graph object Membrane

    WeakMap Proxy Mapping “Dry” object graph object proxy revoke shadow other other “Wet” “Dry” (originField)
  9. • Lenovo Yoga C630 Chromebook • Acer Chromebook Spin 13

    • HP Chromebook x360 • HP Chromebox G2 • Acer Chromebox CXI3 Notice the Pixel Slate isn’t on the list which caused me to do a double-take but it has a Y-series processor, not a U-series. Will my Chromebook run Linux Apps? (https://bugs.chromium.org/p/chromium/issues/detail?id=918312) https://chromium.googlesource.com/chromiumos/docs/+/master/containers_and_vms.md 13
  10. • Microphones and cameras are not yet supported. • Android

    devices are supported over USB, but other devices are not yet supported. • Android Emulators are not yet supported. • Hardware acceleration is not yet supported, including GPU and video decode. • ChromeVox is supported for the default Terminal app, but not yet for other Linux apps. 14
  11. • Android Studio has an easier Chrome OS install https://developer.android.com/studio/preview

    • Chrome OS 75 will allow developers to fully utilize Android Studio on a Chromebook with Linux gaining USB access to Android devices (demoed at I/O). • Chrome OS 76 will make it easier to enable GPU acceleration for Linux on Chromebooks (helps ML) . 15