Slide 1

Slide 1 text

#I1O9Extended #GDGSeattle Linux for Chromebooks GDG I/O 2019 Extended . . . Clive Boulton & Greg Heil Slide content: Google IO, Chrome OS, et al. 1

Slide 2

Slide 2 text

#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

Slide 3

Slide 3 text

#I1O9Extended #GDGSeattle 3 https://youtu.be/pRlh8LX4kQI

Slide 4

Slide 4 text

#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

Slide 5

Slide 5 text

#I1O9Extended #GDGSeattle 5

Slide 6

Slide 6 text

#I1O9Extended #GDGSeattle Confidential + Proprietary OMG DEMO! 6

Slide 7

Slide 7 text

#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.

Slide 8

Slide 8 text

#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

Slide 9

Slide 9 text

#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.

Slide 10

Slide 10 text

#I1O9Extended #GDGSeattle 10

Slide 11

Slide 11 text

#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 . . .

Slide 12

Slide 12 text

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)

Slide 13

Slide 13 text

● 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

Slide 14

Slide 14 text

● 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

Slide 15

Slide 15 text

● 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

Slide 16

Slide 16 text

Q&A Thank you Clive and Greg 16