crouton: Chromium OS Ubuntu Chroot Environment
See all
Members (3,422)
Andrew McJannett-Smith's profile photo
Matt Woodfield's profile photo
Lee Beddows's profile photo
Andy Webster's profile photo
Claude Legrand's profile photo
Matt Farmer's profile photo
Derrick Masters's profile photo
vaguegirl petty's profile photo
Joshua MalaMaker (Malamaker)'s profile photo
Patrick Lerou's profile photo
Caitlin Bestler's profile photo
Jacek Stromecki (Kietna Qu'Tak)'s profile photo
Roy Ragsdale's profile photo
Daniel Boline's profile photo
Mariano Zunino's profile photo
Brendan Kelly's profile photo
Tinc TRAIAN-LAVINIU's profile photo
John B's profile photo
Pedro Caridade's profile photo
Chris Auto Repair, Inc's profile photo
Erik “BBQ King” Näsström's profile photo
Steve Pike's profile photo
Sofus Rose's profile photo
Istvan Szoba's profile photo

Stream

Join this community to post or comment

Mark Stone

General Discussion  - 
 
Gaming Update

I just wanted to report on some of my successful endeavors with gaming via Crouton. I'm running a Toshiba Chromebook 2 with Intel processor and 4 gigs of RAM. My Crouton version is Xubuntu 14.04 (trusty).

My first goal was to get Minecraft up and running (a must have as far as my son is concerned). It runs well enough, but is by far the buggiest of the games that I've worked with. The game will periodically crash, sometimes taking the X Server down with it, and once in a while crashing my whole Chromebook. Still, it works without error at least 99% of the time, so good enough.

My second goal was to try some games that run natively on Linux. One of my favorites is Battle for Wesnoth, a turn-bases strategy game with a fantasy setting. It's written in Python, so it runs well cross platform, and runs great on Crouton.

Finally I wanted to see how Steam works on Crouton, and start exploring some of the Steam games. Steam seems to work just fine, and I tried a free RTS called Wyrm Sun just to see how it would work. It's a mildly entertaining game, but at least proves out that some of the Steam games run successfully on Crouton. I'll now start digging deeper into the Steam library.
2
Mark Stone's profile photoDennis “Denny” Lockhart's profile photo
4 comments
 
GTK that xiwi does work though, I use it with Kodi and it handles videos very well.
Add a comment...

Zach Preval

Issues and Problems  - 
 
My Chromebook updated recently and when I went into The Crosh dev shell and typed in

Shell
Sudo startxfce4

It gave me an error
Can anyone help?

crosh> shell
chronos@localhost / $ sudo startxfce4
Entering /mnt/stateful_partition/crouton/chroots/precise...
/usr/bin/startxfce4: Starting X server

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

X.Org X Server 1.11.3
Release Date: 2011-12-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.42-61-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.10.18 #1 SMP Wed Sep 7 16:52:44 PDT 2016 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2506752 verity payload=PARTUUID=5df9ec3a-7510-2145-b2ed-8b0ac16d8733/PARTNROFF=1 hashtree=PARTUUID=5df9ec3a-7510-2145-b2ed-8b0ac16d8733/PARTNROFF=1 hashstart=2506752 alg=sha1 root_hexdigest=6a4c41ade3630808397fc1ea1fa28399a311300f salt=639edbeb7062f72a70f488326862cd4d178d4ef0d615574af9802c8aeaaebff2" noinitrd vt.global_cursor_default=0 kern_guid=5df9ec3a-7510-2145-b2ed-8b0ac16d8733 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic
Build Date: 12 February 2015 02:49:01PM
xorg-server 2:1.11.4-0ubuntu10.17 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Wed Sep 21 14:01:38 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.

ddxSigGiveUp: Closing log
Server terminated with error (1). Closing log file.
/usr/bin/xinit: giving up
/usr/bin/xinit: unable to connect to X server: No such file or directory
/usr/bin/xinit: server error
Unmounting /mnt/stateful_partition/crouton/chroots/precise...
1
David Dawson's profile photoMark Stone's profile photo
2 comments
 
Any particular reason why you're using Precise? There are more recent versions that work just fine.
Add a comment...

Michael Gentry

Issues and Problems  - 
 
Shutting down safely:

Does shutting down Chrome OS normally (i.e. holding the power button to log out, releasing, then holding it again to shut down) with the chroot active safely close and unmount everything? Personally I wouldn't try it with a chroot on an SD card (they're slow enough to cause corruption in all kinds of unpredictable ways in my experience, so not worth the risk), but I've done it a fair few times for chroots on the internal flash without any apparent problems...

Just wondering what others' experience is, and whether I've merely been lucky so far. Thanks for any insight.
2
Michael Gentry's profile photoDennis “Denny” Lockhart's profile photo
5 comments
 
No problem, I'm sure others have probably used similar methods.
If you don't get any negative responses, that actually might be a little reassuring.
Add a comment...

Paul Ryan

Issues and Problems  - 
 
Hi. I'm trying to understand how rsyslog is operating in my standard crouton'd precise environment (LXDE). There is no /var/log/messages file, so is rsyslog sending those general messages somehow to the chromeos host? I've looked, researched and analyzed a lot, but haven't figured out how it's working. There is a rsyslogd running in my precise instance (rsyslogd -c4 -n -f /etc/rsyslog.chromeos), but the config file referenced there doesn't exist in the precise instance, like it does in the host. Does that mean that that config switch is ignored, and the process is running based on a default configuration? Anyway, please provide some clarification if you can. Thanks!
1
Paul Ryan's profile photo
3 comments
 
Bump. Hoping someone knows where guest syslog messages go! I doubt this is precise-dependent.
Add a comment...

William Gordon

Issues and Problems  - 
 
Everytime i try to load Crouton after 1 use, it shows me this error log. "chronos@localhost / $ sudo enter-chroot startxfce4
Entering /mnt/stateful_partition/crouton/chroots/precise...
/usr/bin/startxfce4: Starting X server

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

X.Org X Server 1.11.3
Release Date: 2011-12-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.42-61-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.8.11 #1 SMP Tue Aug 2 21:10:15 PDT 2016 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-1 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="2 vboot none ro 1,0 2545920 bootcache PARTUUID=faa46b04-2923-904a-88ca-29034c466678/PARTNROFF=1 2545920 0e22654c7ba0cccfb01f75c7aea31bfeb0bcabd8 512 20000 100000, vroot none ro 1,0 2506752 verity payload=254:0 hashtree=254:0 hashstart=2506752 alg=sha1 root_hexdigest=5b15a71a6db6339831de4d56461dce6bb5aee561 salt=61ffdfee4184166469a8fba1004990ddfab2a7cd6806b7891c0d3b942e72d66a" noinitrd vt.global_cursor_default=0 kern_guid=faa46b04-2923-904a-88ca-29034c466678 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic iTCO_vendor_support.vendorsupport=3
Build Date: 12 February 2015 02:49:01PM
xorg-server 2:1.11.4-0ubuntu10.17 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Wed Aug 31 09:41:44 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.

ddxSigGiveUp: Closing log
Server terminated with error (1). Closing log file.
/tmp/Xorg.crouton.1.lo/usr/bin/xinit: giving up
/usr/bin/xinit: unable to connect to X server: No such file or directory
/usr/bin/xinit: server error
Unmounting /mnt/stateful_partition/crouton/chroots/precise..." Can someone help me fix it?
1
Josh Sherrington's profile photoWilliam Gordon's profile photo
4 comments
 
I just updated crouton, Haven't had any problems since then.
Add a comment...

Rafael Dita

General Discussion  - 
 
how do you run java on chrome os? Or how do you open .jnlp files on chrome os?
1
Tim Nolte's profile photoNoah Laws's profile photo
3 comments
 
https://www.codeweavers.com/products check out the android trials (which are supposed to also work on intel based chromebooks). I'm not sure about the JVM and JWS specifically at this point as it's still in alpha
Add a comment...

Jimoh Ahmed

Issues and Problems  - 
 
Please is there any solution to this yet?
Installing edit-chroot into the host...
Installing mount-chroot into the host...
Installing unmount-chroot into the host...
Installing crash_reporter_wrapper into the host...
I: Keyring file not available at /usr/share/keyrings/ubuntu-archive-keyring.gpg; switching to https mirror https://mirrors.kernel.org/debian
Failed to complete chroot setup.
Unmounting /mnt/stateful_partition/crouton/chroots/precise...
1
Dennis “Denny” Lockhart's profile photo
 
The debootstrap process was broken for a while but it's been fixed.
Maybe just updating your chroot via 'crouton -u ...' would fix it.
If not, take a look at this workaround that was used when it was broken -
https://github.com/dnschneid/crouton/issues/2387#issuecomment-174399166
Add a comment...

Thomas Gessendorfer

Issues and Problems  - 
 
Cannot upgrade Ubuntu 14.04 to 16.04 on my Acer Chromebook R11 using the Software Update Manager in Ubuntu. When the popup window opens and tells me that a new Ubuntu version (16.04) is available I click on upgrade but nothing happens. Evenmore the Ubuntu instance seems to freeze and gets slow!? Any tips or HowTo how to upgrade to Ubuntu 16.04?
2
Trey Rohm's profile photoSalvador Leyva's profile photo
2 comments
 
I haven't even gotten the popup yet...

Chromebook acer 11

Add a comment...

Dominick DeVito

Issues and Problems  - 
 
I installed crouton the other day, and have been using apps in both fullscreen and tab mode via xiwi, but now I can no longer launch any apps.

All I get is a blank screen and the errors appear on the back end in chroot:
write_image: Cannot find shm, moving on... find_shm: Cannot connect to findnacl daemon. (Connection refused)

Any ideas on a cuase or fix? Thanks!
1
Stan Gosnell's profile photoDominick DeVito's profile photo
3 comments
 
So, here's how I fixed it, no joke - I just clicked on the Crouton extension one time and it started working again. I have no explanation, but it's all good
Add a comment...

Phillip Brantley

Issues and Problems  - 
 
As the title suggests, I am trying to compile kernel headers for my crouton install of Trusty running kernel 3.14.0. I'm doing this on a Pixel 2015 specifically SAMUS E25-H7R-W5L. I've followed the instruction here). I skipped the parts that were not relevant. i.e. where he talks about the kernel versions not matching:
$ git reset --hard origin/chromeos-3.18
$ git checkout HEAD~[number of commits prior to current version]
$ ./chromeos/scripts/prepareconfig chromeos-intel-pineview
$ make oldconfig
$ make kernelrelease
and where he talks about setting "CONFIG_ERROR_ON_WARNING=y" to "n". I did get that error on:
make kernelrelease
but it didn't seem to affect compiling. And, I could find "CONFIG_ERROR_ON_WARNING" anywhere in chromeos/config/base.config
So it looks like everyting goes right, but when I try to run VirtualBox, I get en error message that the kernel module is not loaded and to run
sudo /sbin/vboxconfig
So I run that, and get,"failed:modprobe vboxdrv failed. Please use 'dmesg' to find out why." when it tries to Build the VirtualBox kernel modules. So of course I run dmesg and get:
[ 1760.417321] SELinux: initialized (dev proc, type proc), uses genfs_contexts [ 1768.026319] Chromium OS LSM: init_module locking-ignored obj="/lib/modules/3.14.0/misc/vboxdrv.ko" pid=3973 cmdline="/sbin/modprobe vboxdrv" [ 1768.030043] vboxdrv: Found 4 processor cores [ 1768.030243] supdrvGipCreate: failed to allocate the GIP page. rc=-26
I've tried everything I know of and can't get this up and running. I would appreciate any help you could give. Please tell me if you need anymore diagnostic info.
1
Dennis “Denny” Lockhart's profile photo
 
You might have better luck resolving this issue on the crouton github site. There are already several issues dealing with building kernel headers that might help you out. For starters, take a look at this one:
package linux-headers-3.14.0, linux-image-3.14.0 ? #40
https://github.com/divx118/crouton-packages/issues/40
Add a comment...

About this community

This Community is designed to help novice users and the more experienced, by sharing information and helping each other where possible.. If someone stands out as a person whom normally answers the majority of the questions then they will become a moderator.

Michael Obeng

Issues and Problems  - 
 
I'm really struggling to setup Android Studio. I can't seem to access the SDK manager.

Can anyone help?
1
Add a comment...

Tommy_2_14 Plays

Issues and Problems  - 
 
Is this Chromebook (HP Chromebook 11 1101) able to use linux to install Steam & games such as Counter Strike Global Offensive and Terraria? I am considering purchasing this chromebook due to the low, LOW price and just wanted to make sure that the processor is able to run the games smoothly with minimal lag on graphics settings set to normal. I know I can always set the graphics to Low or Fast, just wanted a basic explanation of the processing power. Thanks in advance! 
This pre-owned Chromebook is in excellent condition. It has been tested by our techs and works perfectly. SSD has been wiped and reset. Item comes with AC adapter and ships in our own box. « Show less. This pre-owned Chromebook is in excellent condition. It has been ... » Read more.
1
Tommy_2_14 Plays's profile photoKim Nilsson's profile photo
8 comments
 
Running any modern FPS games without an accelerated GPU is generally going to be painful. 
Add a comment...

Naomi Levine

General Discussion  - 
 
I got it installed successfully, but when my computer goes to sleep on the chrome os and I try to switch to the crouton os the screen is only black and I can't get it to do anything.
help!

1
Naomi Levine's profile photoTim Nolte's profile photo
7 comments
 
+Naomi Levine Google Docs can edit Word documents and you can plug in external storage and it will open them in Google Docs however at that point I believe they would end up being stored again in the cloud and you may have to then export to save locally to your external storage. Skype for Web is geared towards Chrome but I believe you can use it from any browser.

As for what can you do with crouton that you can't do with Chrome OS, that all depends on what exactly you need to do. I usually look in the web store to see what apps are there based on what I need to do. If I can't find something that works for me then I opt for a Linux application that I can run via crouton.
Add a comment...

Naomi Levine

Issues and Problems  - 
 
I'm not sure what has gone wrong. I had crouton working on my chromebook 3, but then it fell asleep while I was in the shower. When I woke the computer up and tried to switch between the os it just brought up a black screen. The best advise I could find online was to do a powerwash and get it back into developer mode. Now I can't seem to get the latest script to download. The message that pops up is that I have to go to the chrome store to download an appropriate app. Any advise?
1
Naomi Levine's profile photoDennis “Denny” Lockhart's profile photo
4 comments
 
Great! Glad the resolution was so simple.
Add a comment...

Matthew DeHoff

Issues and Problems  - 
 
I'm wondering how to access a new user I've created through the command line. The group and user was successfully created, but in the drop down menu where "switch user" is, it's faded and cannot be selected.
Any advice?
1
Matthew DeHoff's profile photoDennis “Denny” Lockhart's profile photo
3 comments
 
Great!
I've never setup another user but it does seem strange that the drop-down menu you spoke of is not functional.
You may run into a few problems with a 2nd user, it's discussed a little here -
https://github.com/dnschneid/crouton/issues/908#issuecomment-48064931
The crouton dev started a 'multiuser' branch but hasn't merged it yet, see -https://github.com/dnschneid/crouton/compare/multiuser
Add a comment...

Mark Stone

General Discussion  - 
 
Xenial Xerus?

So Xenial is still listed on the Crouton Github page as an unsupported install target. I'm wondering if people have tried it anyway, and if so how stable it seems to be. Very specifically I'm interested in anyone who has experience with the HP 11 G5 (not the G4).
1
Stan Gosnell's profile photoIan Barton's profile photo
3 comments
 
It works for me on a couple of Chromebooks, but haven't got your model.
Add a comment...

Michael Obeng

Issues and Problems  - 
 
Get early access to our new unified app!
2
Add a comment...

Valentin Pasqué

Issues and Problems  - 
 
Hello,
I try to lunch crouton on my Chromebook R11, but it failed, any ideas ? thanks

command : sudo sh crouton -e -r wheezy -t gnome

result (just last lines) :
---
I: Keyring file not available at /usr/share/keyrings/debian-archive-keyring.gpg; switching to https mirror https://mirrors.kernel.org/debian
I: Installing core packages...
W: Failure trying to run: dpkg --force-depends --install /var/cache/apt/archives/base-passwd_3.5.26_amd64.deb
W: See //debootstrap/debootstrap.log for details Failed to complete chroot setup. Unmounting /mnt/stateful_partition/crouton/chroots/wheezy...
---
1
Justin Yang's profile photoNeill Laney's profile photo
2 comments
 
There may be an issue with one of the packages you're trying to install. It would help if you could figure out which one.

Are you able to install trusty or xfce?
Add a comment...

Panagiotis Kastrounis

Issues and Problems  - 
 
hey guys
I have a chromebook toshiba 2 and I have been trying to install kali for a few days with no good results still. I tried to get xfce with croûton and I was wondering if anyone know any good way to get kali tools on it or if someone can help and install kali at last . the problem is with netsurf package and it seems that i can't get it to work. any suggestions would be rly helpful
thnx in advance.
1
Romain Augustyn's profile photo
Add a comment...

Panagiotis Kastrounis

Issues and Problems  - 
 
just installed kde on my toshiba 2 chromebook. I tried to get into the interface of kde but it froze and I cant neither go back to chromeos nor shutdown my laptop.
any solutions? 
1
Jim Gillogly's profile photoChris Kunzler's profile photo
4 comments
 
Mine froze up like that too. It was before installed crouton. Seems others are having the same problem. Holding the power down for 10 seconds is also what I did to fix it.
Add a comment...