Run Linux Apps in (PixelBook) Chromebook with Crostini VM

Orange Pi Development Boards

Ever since the first Chromebooks were released, it has been possible to run Ubuntu or other Linux distributions using Crouton (Chromium OS Universal Chroot Environment) on Chrome OS devices, but that requires to enable developer mode, which disables some of security features that come with Chrome OS.

Google has now make it easier and safer with Crostini VM that does not require developer mode. The only downsides for now are that it only works on Google Pixelbook, and you need to install/run Chrome OS v67 dev channel with the #enable-cros-container flag enabled.

Eclipse IDE running in Chrome OS – Click to Enlarge

Using Crostini is fairly straightforward. First start crosh terminal with Ctrl++Atl+t, and running the following command to create a VM, and launch a container:


This will start a Debian Stretch environment with networking and GUI support, so you can install & run programs like you would in Debian (e.g. apt install htop).

 Kevin Tofel at AboutChromebooks managed to install the Eclipse IDE (See screenshot above) and Sublime Text using the VM in order to write code with his Chromebook, while John Bowdre showed he installed Visual Studio Code, Gimp, Firefox, and apparently Chromium browser because…  he could.

Click to Enlarge

Crostini VM does not cover all use cases for now, as for example USB is not currently supported, and the VM is apparently taking a lot of memory,  so Chromebook with 4GB RAM may not be usable with Crostini at this stage. Nevertheless it’s still an experimental feature, and things should improve over time.

Chromebooks may soon become much more interesting laptops, as beside running an operating systems to basically browse the web, they can now run Android apps, and upcoming support for Linux programs could be a game changer.

Via Liliputing

7
Leave a Reply

avatar
5 Comment threads
2 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
5 Comment authors
cnxsoftMiguel Mayol i Turgeokonbluitchy n scratchy Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
itchy n scratchy
Guest
itchy n scratchy

Maybe im not in the targeted user group anyways but…

I would prefer things go the other way round like linux with chromeos/android runtime. But well let’s see how things develop 😉

blu
Guest
blu

On a related note, just wanted to say that Chromebrew turns chromebooks into very functonal Linux consoles.

geokon
Guest

Thanks for that @blu
Hadn’t hear of it! 🙂

blu
Guest
blu

Np. I learned about it only recently myself, and I was surprised how useful it was and how easy it could turn a goodledocs machine into a full-fledged linux terminal.

Miguel Mayol i Tur
Guest
Miguel Mayol i Tur

If actual cheap Chromebooks can run Crouton well, Why not let the users install it and not in developer mode instead of making something that is worse in terms of performance, than the Gnu/Linux in chroot?.

Perhaps, to be more secure, to let install Crouton “lite”i n non developer mode only from Google repositories, with a debian rolling release distribution near to their own one, will be a much better option.