News for hackers. Stuff that matters.
Re:Google Chromebook and Ubuntu by sea6ear on Sunday December 16, 2012 @11:00PM (#4930774)
I've got the Acer Chromebook. Rather than dual booting, it was relatively easy to install a Debian chroot environment in developer mode to obtain the few extra dev utilities I really need (rdesktop mainly) that I couldn't get to work from the Chrome store.

Right now I have it set up so that display :0 is the normal Chrome OS x-server and :1 is my chrooted debian environment. This way I can switch between them with a simple Ctr-Alt-F3 or Ctr-Alt-F1.

The guide I found online to do so had subtly wrong instructions, however it was enough to point in the right direction. I've been planning to write up a corrected set of instructions. Hopefully I can do so soon and post here if there is interest.

Re:Google Chromebook and Ubuntu by trsohmers on Monday December 17, 2012 @12:42AM (#4930984)
I've been trying to get X displays working in a chroot environment on my Samsung ARM chromebook... I have Ubuntu working fine in a dual boot and in a chroot within ChromeOS, but can't set the display...any help would be appreciated.
Re:Google Chromebook and Ubuntu by sea6ear on Tuesday December 18, 2012 @10:03PM (#4940935)
Here's the chroot script I run:

    #!/bin/sh

    cp /proc/mounts /usr/local/wheezy/etc/mtab

    mount -o bind /sys /usr/local/wheezy/sys

    mount -o bind /proc /usr/local/wheezy/proc

    mount -o bind /dev/ /usr/local/wheezy/dev

    mount -o bind /dev/pts /usr/local/wheezy/dev/pts

    mount -o bind /tmp /usr/local/wheezy/tmp

    mount -o bind /home/chronos/user/     /usr/local/wheezy/root/chronos

    cp /home/chronos/.Xauthority /usr/local/wheezy/root/

    chroot /usr/local/wheezy/
And then in the chroot I have these lines in my .bashrc:

    export XAUTHORITY=/root/.Xauthority
    export DISPLAY=":1"
But I'm not sure they're actually necessary. I think you might just be able to do:

    DISPLAY=":1" startx &
from the command line to start X.

It seems to require being started from the actual virtual console on Ctl-Alt-F2 rather than from the crosh shell or local ssh.

Re:Google Chromebook and Ubuntu by sea6ear on Monday December 17, 2012 @10:08AM (#4932514)
I'll take a look at my setup when I get home and post the commands I'm running.