crouton: Chromium OS Ubuntu Chroot Environment
See all
Members (2,345)
Andrew McJannett-Smith's profile photo
Ajax Punor's profile photo
Adam Williams's profile photo
Adam Simmons's profile photo
Adrià Vilanova Martínez's profile photo
666c6176696f 73696c7661's profile photo
A Mac's profile photo
a rogan's profile photo
Adrian Esdaile's profile photo
Alain Bastien's profile photo
Adam Knapp's profile photo
Aaron Blecher's profile photo
Aaron Bronow's profile photo
Aaron Foster's profile photo
Aaron Hampshire's profile photo
Adam Bell's profile photo
Aaron Keith's profile photo
Abe Wilson's profile photo
Adedoyin Kassem's profile photo
Alai Mac Erc's profile photo
Abhinav Madahar's profile photo
Abhishek Indoria's profile photo
Achour Amazouz's profile photo
Adairton Freire's profile photo

Stream

Join this community to post or comment

Hanry Yang

General Discussion  - 
 
Hello All,

I am a bit of a newbie here and hope you all can give me some advice.

Two things:
1. I am trying to change the default look of xterm when i run it as:

$sudo startxiwi -b xterm

I have tried appending the .Xresources file, but it seems as soon as I close the xterm and try to open another one it defaults back to the black text on white font. I know I could just make a long string when I Start the xterm such as 

-rv -fa terminus

but thats a lot of work to type every time. Which brings me to my second question.

The crosh>shell doesnt seem to save any aliases I make. If I make an alias for the long string to open a xterm the way I like it as soon as I exit the shell, the alias disappears with it. Does anyone know how to make permanent command line shortcuts?

Thank you all!
1
1
Tim Cagle's profile photoHanry Yang's profile photoAngelo Homevor's profile photo
3 comments
 
+Tim Cagle That is exactly what I was looking for! Thank you. 
Add a comment...

Jinxx Nothing

Issues and Problems  - 
 
how do i get javascript to work on netsurf browser in ubuntu? can somone help me please
1
Jinxx Nothing's profile photoJames Kissel's profile photo
6 comments
 
+Jinxx Nothing Life's a bitch.
Add a comment...

Sam Bates

Issues and Problems  - 
 
I have a few questions, how would I be able to install Elementary OS via Crouton if I can?

Also, whenever I try to download and install any distro, it says I have ran out of space near the end, when I've wiped my chromebook 4 or 5 times and the only thing i've downloaded on there is crouton. How can I fix this? Just to throw it in there, I don't do the recovery drive step.
1
Tim Cagle's profile photo
 
http://craigerrington.com/

Above blog contains a post dated 18TH JANUARY 2014 that shows how to use SD cards for your crouton chroot installs. I think it still works but haven't tried it. You should be aware that the instructions are pretty technical. I don't know your level of comfort with the command line. You've been warned! Me I installed a 128GB SDD on my chromebook. Some chromebooks have the SDD soldered into the  motherboard so not upgradeable. You will have to research your own chromebook type to see if that is a feasible solution for you.
Add a comment...

Lucidbee Minka

Issues and Problems  - 
 
My chromebook went out of developer mode. I think it may have been that I let someone else use it and she may have hit the keys to do that. That means I lost my Downloads folder. It could have been painful! I had a lot of work in there. BUT I am using spideroak as a cloud backup tool and it runs on ubuntu and keeps that folder backed up to the cloud without me doing anything. This is a really easy way to safeguard your files in Downloads (or elsewhere). Just thought I 'd let folks know. Note: I am not associated with this company.
SpiderOak is a zero-knowledge encrypted data backup, share, sync, access and storage service. Online and multi-platform with 2GB of storage free for life.
1
Bill Bruner's profile photo
 
Thanks for the heads up. This is a real risk.  I handed my Chromebook to my young son while it was booting up the other day, and he accidentally hit the space bar and dumped me out of dev mode.  Goodbye downloads folder.  Goodbye custom Ubuntu desktop setup.
Add a comment...

Syd Mostow

Issues and Problems  - 
 
Usability -- Experience with Xiwi.
Today was the first time I've used a xiwi window running side to side with Chrome to process a document in Libre Office and cut and paste from Google Docs. As time went on  Libre Office went from being responsive and normal functioning and then after maybe a half hour to stuttery, and then to  laggy and then freezing up -- cursor would freeze for 5 to 10 seconds, scroling the same. I had updated my chroot last night. And again today. I have 8gigas RAM and only using 5. Running an Asus chromebox 2955 celeron.  Don't understand why Libre Office would get progressively  less responsive as I used it. 
Any ideas?
1
Add a comment...

Zeus Poodle

Issues and Problems  - 
 
I have been trying to use crouton with the unity desktop, but my CB isn't powerful enough to run unity. It will run on the first Start-Up, but after that, it will only load the desktop background and the cursor, nothing else. Seeing as how crouton is built for CB's, I think the it would be a good idea for the developers to either add Unity 2D to crouton, or to replace regular unity with Unity 2D.
1
Walter Lin's profile photoXamuel Schulman's profile photo
4 comments
 
Had the same problem, but I noticed that if I only logged off and didn't shut down, it wouldn't do that.
Add a comment...

Alex Harr

Issues and Problems  - 
 
Well new problem.. My chrome os works great but now when I run 14.4 in crouton if I need a terminal I am out of luck. Attempting to use the terminal causes it to repeat letters and keyboard commands for a length of time making it impossible to use any commands. I thought it may just be a lag issue.. but my chrome works great. I closed everything I was using down and it is still occurring. it also randomly flashes a black screen like it is refreshing. How can I troubleshoot this?
1
Alex Harr's profile photoStan Gosnell's profile photo
3 comments
 
It's Ubuntu.  Probably using the full desktop with trinity.  Ubuntu is buggy.  
Add a comment...

David Billquist

Issues and Problems  - 
 
i have a tiny problem.
when i type in sudo startunity it restarts the computer
somebody with the knowledge to help me solve this?
1
David Billquist's profile photo
4 comments
 
Yeah it works but if i install 14.04 the problem returns
Add a comment...

Syd Mostow

Issues and Problems  - 
 
To unistall xiwi when entering chrout I use this command:          sudo startxfce4 -X xorg           I get this in the command line
I've also used sudo startxfce4 -n precise -Xxorg  same result.  
What is wrong?:

 crosh> shell
chronos@localhost/$ sudo startxfce4 -n precise -X xorg
/mnt/stateful_partition/crouton/chroots/precise does not contain XMETHOD 'xorg'
chronos@localhost/$ sudo startxfce4 -n precise -Xxorg
/mnt/stateful_partition/crouton/chroots/precise does not contain XMETHOD 'xorg'
chronos@localhost/$ sudo startxfce4 -X xorg
/mnt/stateful_partition/crouton/chroots/precise does not contain XMETHOD 'xorg'
chronos@localhost/$ sudo startxfce4 -Xxorg
/mnt/stateful_partition/crouton/chroots/precise does not contain XMETHOD 'xorg'
1
Salvador Leyva's profile photo
 
refresh chroot using the xorg target.

sudo sh ~/Downloads/crouton -u -e -t xorg -n trusty
Add a comment...

Mark Vincent

General Discussion  - 
 
Would use of crouton backup/restore to migrate from one machine (Acer c720) to a newer one (Acer Chromebook 15) create more headaches than it is worth? To what extent does crouton create and store hardware-specific settings? I don't recall ever creating those kinds of setting myself. Is this do-able? Wise?
1
Hugo Dawson (Webhandler)'s profile photoMark Vincent's profile photo
3 comments
 
Thanks folks! Mission accomplished. I can't believe it. Within seconds I had ChromeOS setup looking exactly like the C720, and within minutes, I've got Linux exactly as I'd left it on the old machine. I'll die a happy man if I never buy another Windows machine.

And the Acer CB 15? Unbelievable. Fast, and a beautiful display. 
Add a comment...

Syd Mostow

Issues and Problems  - 
 
I installed the xiwi and the crouton extension for chrome. pretty slick but nothing worked right. Minecraft wouldn't load. Sound on VlC  was broken. would play sound snippets over and over while media played.  A game from Steam ran poorly -- jerky, slow motion. I updated  crouton but that didn't change anything and now uninstalling my chrout and reinstalling from previous tarball from before I installed xiwi. Didn't know how to just unistall Xiwi.  Could I have just unistalled xiwi? how do you do that?  Anyone have experience with the crouton extension? am running a asus chromebox 8 giga ram the fast celeron 2955.
1
Syd Mostow's profile photo
8 comments
 
To unistall xiwi when entering crout use this command:          sudo startxfce4 -X xorg           I get this in the command line:

 crosh> shell
chronos@localhost/$ sudo startxfce4 -n precise -X xorg
/mnt/stateful_partition/crouton/chroots/precise does not contain XMETHOD 'xorg'
chronos@localhost/$ sudo startxfce4 -n precise -Xxorg
/mnt/stateful_partition/crouton/chroots/precise does not contain XMETHOD 'xorg'
chronos@localhost/$ sudo startxfce4 -X xorg
/mnt/stateful_partition/crouton/chroots/precise does not contain XMETHOD 'xorg'
chronos@localhost/$ sudo startxfce4 -Xxorg
/mnt/stateful_partition/crouton/chroots/precise does not contain XMETHOD 'xorg'
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.

Miguel Mayol

General Discussion  - 
 
Can Android x86 be installed with Crouton?
1
The Sir.Vecon's profile photoMiguel Mayol's profile photo
7 comments
 
+The Sir.Vecon Thanks, but that is not  what I am looking for, even it is a great way of doing it, but even better would be a GNU/Linux with Android in a VT at a 4 Gb Intel Chromebiook
Add a comment...

Angelo Homevor

Issues and Problems  - 
 
I am having issues with keyboard layout on trusty (xfce). I use US international with dead keys because I need accents (I type in french). 
Recently I mistakenly powerwashed my chromebook (almost cried!), restored ubuntu from a previous backup, updated crouton with xiwi target. Crouton is working fine, but there is no way to get the accents again. Any ideas to fix that?
1
Bob Morgan's profile photoAngelo Homevor's profile photo
5 comments
 
Yes, I first updated with xiwi (since the backup was done without it), then when I noticed the keyboqrd issue, I updated with keyboard again, with no result.
Add a comment...

Whit Blauvelt

Issues and Problems  - 
 
I've had trusty on an Asus Chromebook using the Chroagh fork of Crouton happily for many months. Then after a reboot yesterday I can enter-chroot but can't startxfce4 either from inside or outside a chroot. It segfaults.

The kernel is now 3.10.18 of this May 8, and I'm wondering if the segfault is a kernel incompatibility with the version of Xorg in trusty. Should I do-release-upgrade in trusty?  Or is it that I should refresh the installation of Chroagh (which I haven't found exact instruction on how to do yet)?
1
Whit Blauvelt's profile photo
5 comments
 
Can remount the partition, after recreating path to mount it, and then startxfce4 or enter-chroot, which work, except on going back to Chrome the screen's at maybe 1/4 brightness and there's no cursor.

Ah, can bring up the brightness in Chrome only by first hitting the key to reduce it - then it wakes up to be turned back up, and then the cursor is again evident.
Add a comment...

Alex Antero Furtado (Juice)

Issues and Problems  - 
 
Hey guys, I can't startup Ubuntu anymore, since the latest update that I got on dev channel. it just refuse to connect to the crouton integration extension, as you can see in mine screenshot... Can anybody help me out with this? I would appreciate it.
P.S. I have an Acer Chromebook 13
1
Alex Antero Furtado (Juice)'s profile photoThe Sir.Vecon's profile photo
5 comments
 
download crouton j.mp/cbcrouton again and do sudo sh ~/Downloads/crouton -n precise -u and try boot into linux, if this doesn't work i'd just powerwash and reinstall linux
Add a comment...

Sean Babineau

Issues and Problems  - 
 
so i tried to execute crouton, and it says that i cant open the file. why not. 
1
Sean Babineau's profile photoNeill Laney's profile photo
16 comments
 
K, keep retracing your steps. You will need to powerwash it, then redo the steps to enable Dev mode.

I don't suppose you made a ChromeOS backup. No matter, there is a way to re-image the CB without it, if powerwashing and re-enabling dev mode doesn't work.

Please post your results.
Add a comment...

Ariq Haqq

Issues and Problems  - 
 
I'm having an issue of iptables... (My previous posts have been saying about i couldn't change iptables well... it really was i didn't notice Don't drink and do sudo ~Drinkcat) Well when I type this ---------------------------> iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 10000
it says... 
iptables: No chain/target/match by that name.
I'm thinking the REDIRCT kernel thing is not there is my guess... (or PREROUTING)
Anyone can help!! Anything is appreciated! 
1
Add a comment...

Syd Mostow

Issues and Problems  - 
 
Problem uninstalling xiwi.  Not workingg:

To unistall xiwi when entering chrout I use this command:          sudo startxfce4 -X xorg           I get this in the command line
I've also used sudo startxfce4 -n precise -Xxorg  same result.  
What is wrong?:

 crosh> shell
chronos@localhost/$ sudo startxfce4 -n precise -X xorg
/mnt/stateful_partition/crouton/chroots/precise does not contain XMETHOD 'xorg'
chronos@localhost/$ sudo startxfce4 -n precise -Xxorg
/mnt/stateful_partition/crouton/chroots/precise does not contain XMETHOD 'xorg'
chronos@localhost/$ sudo startxfce4 -X xorg
/mnt/stateful_partition/crouton/chroots/precise does not contain XMETHOD 'xorg'
chronos@localhost/$ sudo startxfce4 -Xxorg
/mnt/stateful_partition/crouton/chroots/precise does not contain XMETHOD 'xorg'
1
Salvador Leyva's profile photoMaurice van Kruchten's profile photo
2 comments
 
+Syd Mostow You cannot uninstall xiwi like that. You can install xorg target like +Salvador Leyva suggested if you don't have or want your chroot encrypted leave out the -e so just sudo sh ~/Downloads/crouton -u -t xorg -n precise If the update is done your XMETHOD will be xorg by default. When you still want to start with XMETHOD xiwi do sudo startxfce4 -n precise -X xiwi
Add a comment...

James Skretta

Issues and Problems  - 
 
I need help: when running audacity in Ubuntu (precise) I think I've overloaded the gpu. Now, I'm stuck in Ubuntu, nothing will move aside from my track pad mouse, and the ctrl+alt+shift commands will not let me exit. So basically I think I'm stuck until by battery drains. Ideas? 
1
James Skretta's profile photoStan Gosnell's profile photo
7 comments
 
It takes awhile, probably 15 seconds or so.  The Pwr-Refresh combo works immediately.
Add a comment...

Mike Drennan

Issues and Problems  - 
 
I have xfce loaded to my Yoga 11e Chromebook, mainly to enjoy Minecraft with my daughter.  Recently however Crouton seems to initialize me into a black screen of sorts; a desktop that has already crashed.  Here's what I get from the developer's shell - 

Entering /usr/local/chroots/precise...
/usr/bin/startxfce4: Starting X server


X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.42-75-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.10.18 #1 SMP Mon Apr 27 08:42:53 PDT 2015 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=39e24f94-f193-814c-8d36-c487fcc5d6d9/PARTNROFF=1 hashtree=PARTUUID=39e24f94-f193-814c-8d36-c487fcc5d6d9/PARTNROFF=1 hashstart=2506752 alg=sha1 root_hexdigest=c02bb2ca1085315b40530213c9646a2e3613ff89 salt=b68da15bf1e543886fb10264b46cb9a4d61302a07679620fac65fb6150bd144f" noinitrd vt.global_cursor_default=0 kern_guid=39e24f94-f193-814c-8d36-c487fcc5d6d9 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  03:37:52PM
xorg-server 2:1.15.1-0ubuntu2~precise5 (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: "/var/log/Xorg.1.log", Time: Mon May 11 20:03:47 2015
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
setversion 1.4 failed: Permission denied
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
setversion 1.4 failed: Permission denied
xfce4-session: No gpg or ssh authentication agent found

(xfsettingsd:16938): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(wrapper:16948): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
env: xfce4-notifyd: No such file or directory

(wrapper:16951): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(polkit-gnome-authentication-agent-1:16952): GLib-CRITICAL **: g_variant_new_string: assertion `string != NULL' failed

(polkit-gnome-authentication-agent-1:16952): polkit-gnome-1-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

(xfdesktop:16937): GLib-GIO-CRITICAL **: g_file_get_path: assertion `G_IS_FILE (file)' failed

(xfdesktop:16937): GLib-GIO-CRITICAL **: g_file_get_path: assertion `G_IS_FILE (file)' failed

(xfdesktop:16937): GLib-GIO-CRITICAL **: g_file_get_path: assertion `G_IS_FILE (file)' failed
(II) AIGLX: Suspending AIGLX clients for VT switch


..and when I attempt to copy the above, it logs me out of chroot!  Witness..

waiting for X server to shut down xscreensaver: 19:58:37: SIGHUP received: restarting...
xscreensaver: 19:58:37: running as mbdrennan/mbdrennan (1000/1000)

Hangup
Hangup
Running exit commands...

(xfsettingsd:15338): libxfce4ui-WARNING **: ICE I/O Error

(xfsettingsd:15338): libxfce4ui-WARNING **: Disconnected from session manager.
xfwm4: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.0.
xfsettingsd: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.0.
xfdesktop: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.0.
(EE)xscreensaver: 19:58:37: Can't open display: :1.0
 xscreensaver: 19:58:37: running as mbdrennan/mbdrennan (1000/1000)

xscreensaver: 19:58:37: Errors at startup are usually authorization problems.
              But you're not logging in as root (good!) so something
              else must be wrong.  Did you read the manual and the FAQ?

              http://www.jwz.org/xscreensaver/faq.html
              http://www.jwz.org/xscreensaver/man.html

Server terminated successfully (0). Closing log file.

/usr/bin/xinit: unexpected signal 2
Unmounting /usr/local/chroots/precise...


Now I can troubleshoot the screensaver problem someplace else.  I don't think that's the issue behind this xfce environment 'crash.'  But what is, and how do I fix it, either from the chrome side or xfce?
Ubuntu is an open source software platform that runs everywhere from the smartphone, the tablet and the PC to the server and the cloud.
1
Salvador Leyva's profile photo
 
try refreshing your chroot. have you purged xscreensaver?
Add a comment...