Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to run Elementary OS luna, using crouton. #314

Closed
deolarte opened this issue Aug 14, 2013 · 45 comments
Closed

Is there any way to run Elementary OS luna, using crouton. #314

deolarte opened this issue Aug 14, 2013 · 45 comments

Comments

@deolarte
Copy link

I have tried running, with luna, or eos, or elementary, it does not seem to recognize repo. would it be possible to add to recognized repo list? If so thanks.

@picostove
Copy link
Collaborator

Elementary OS is based on Ubuntu so it may be possible to get Pantheon (the desktop environment part of Elementary) running in crouton via the Elementary PPAs. If someone can build a chroot with the x11 target and document the steps to build a usable Pantheon desktop (something like #220 (comment) ) that would help a ton.

@appsforartists
Copy link

I did it the other day when elementary shipped. It looks crappy on a Chromebook Pixel because it doesn't scale uniformly with text-scaling-factor.

Try this:

crouton -t touch -n elementary
sudo enter-chroot -n elementary
sudo apt-get install -y python-software-properties
sudo add-apt-repository -y ppa:elementary-os/stable
sudo add-apt-repository -y ppa:elementary-os/os-patches
sudo apt-get update
sudo apt-get install -y elementary-desktop
sudo /usr/sbin/lightdm start

@appsforartists
Copy link

You can swap touch with x11 if you don't have a touchscreen. I can make a real target for this if people want one. It requires an x86 architecture (not ARM)

@deolarte
Copy link
Author

Thank you very much, I will try this now. For the second command line, I try this in elementary or in crosh?

@appsforartists
Copy link

The first two commands are in crosh. After that, you should be in your chroot.

@deolarte
Copy link
Author

thanks. Im stuck in 4th. I know third you forgot the "get", but is there anything missing from the 4th line?

sudo add-apt-repository elementary-os/stable

This is what I get:

(elementary)deolarte@localhost:~$ sudo add-apt repository elementary-os/stable
sudo: add-apt: command not found

@appsforartists
Copy link

You forgot the second dash.

@deolarte
Copy link
Author

Sorry I posted wrong error, I was trying all combinations, with and without it didnt help. I left chroot, and re entered and now got

chronos@localhost / $ sudo enter-chroot -n elementary
Entering /usr/local/chroots/elementary...
(elementary)deolarte@localhost:$ sudo add-apt-repository elementary-os/stable
[sudo] password for deolarte:
Error: 'elementary-os/stable' invalid
(elementary)deolarte@localhost:
$

@deolarte
Copy link
Author

I found this? http://pastebin.com/8eFnSnnK

sudo add-apt-repository ppa:elementary-os/stable;sudo apt-get update
sudo add-apt-repository ppa:versable/elementary-update;sudo apt-get update;sudo apt-get install indicator-synapse -y

that line worked, tried your fifth line and that did not work.
Then tried ppa: infront and got this:
(elementary)deolarte@localhost:~$ sudo add-apt-repository ppa:elementary-os/stable
You are about to add the following PPA to your system:

More info: https://launchpad.net/~elementary-os/+archive/stable
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring /tmp/tmpPqQxna/secring.gpg' created gpg: keyring/tmp/tmpPqQxna/pubring.gpg' created
gpg: requesting key 4E1F8A59 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpPqQxna/trustdb.gpg: trustdb created
gpg: key 4E1F8A59: public key "Launchpad PPA for elementary OS team" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
(elementary)deolarte@localhost:$ sudo add-apt-repository elementary-os/os-patches
Error: 'elementary-os/os-patches' invalid
(elementary)deolarte@localhost:
$ sudo add-apt-repository ppa:elementary-os/os-patches
You are about to add the following PPA to your system:
DO NOT ADD THIS PPA!!!
Here dwell patched Ubuntu packages which are useful only in elementary OS. If you add it to any other OS, your sytem will break in a complex
and unpredictable way. Normally you don't need any of these patches, but if you are totally sure you do, just cherrypick the packages you n
eed.
DO NOT ADD THIS PPA!!!
More info: https://launchpad.net/~elementary-os/+archive/os-patches
Press [ENTER] to continue or ctrl-c to cancel adding it

should I continue?

@appsforartists
Copy link

Sorry, I did this from memory. The correct syntax is indeed ppa:. I'll update my comment.

And yes, you can hit [ENTER].

@deolarte
Copy link
Author

perfect thanks. I was scared I was going to break something.

@deolarte
Copy link
Author

Almost there, I keep getting this, with and with out -y.

(elementary)deolarte@localhost:$ sudo apt-get install -y pantheon-desktop
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pantheon-desktop
(elementary)deolarte@localhost:
$

@appsforartists
Copy link

You might have to sudo apt-get update, then try installing pantheon again.

@deolarte
Copy link
Author

Tried it and still did not work, I did however try pantheon-files, and started downloading, dont know if this is the same, but I hope I didnt download the wrong one

@deolarte
Copy link
Author

last line will not work now I keep getting command not found. We are almost there lol. Thanks again for your patience and help

@appsforartists
Copy link

If /usr/sbin/lightdm start isn't working, pantheon-desktop probably didn't install. Try running lines 2-8 again.

@deolarte
Copy link
Author

yeah, it wont install (elementary)deolarte@localhost:$ sudo apt-get install -y pantheon-desktop
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pantheon-desktop
(elementary)deolarte@localhost:
$ sudo apt-get install -y pantheon-desktop
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pantheon-desktop
(elementary)deolarte@localhost:~$

@appsforartists
Copy link

I just fired up that chroot, and checked my .bash_history. The package is now called elementary-desktop. Sorry about that. (I should have known better than to write it out from memory.)

apt-get install python-software-properties
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:elementary-os/stable
sudo apt-get update
sudo add-apt-repository ppa:elementary-os/os-patches
sudo apt-get update
sudo apt-get install elementary-desktop
sudo /usr/sbin/lightdm start 

@deolarte
Copy link
Author

I had tried elementary-desktop but when I got to login screen it would just go back to login again. I just powerwashed and I am starting again. Ill these out again. Thanks

@deolarte
Copy link
Author

It worked it installs, but I it has gone to a black screen twice. Also is there a way to start it without entering chroot and then using last line.
Thank you, I will have to try to figure out why after 5 mins, it dims then 1 min later it goes black.

@appsforartists
Copy link

It runs on VT7, so you have to Ctrl+Alt+F7 (brightness up) to switch to
that terminal. ChromeOS doesn't seem to recognize your activity in
elementary, so you have to go back to VT1 from time-to-time to keep it from
falling asleep.

You could write a startgala script if you wanted to. Look in crouton's
chroot-bin for the implementation details of the other start scripts and
make the appropriate changes.

Glad you got it working. Sorry it took so long.

@deolarte
Copy link
Author

No, thank you. I am really glad I got this to work, resolution is great at
1280 850. I will try to learn to how to write script to get it working but
that is amazing thank you very much.
On Aug 15, 2013 9:02 PM, "Brenton Simpson" notifications@github.com wrote:

It runs on VT7, so you have to Ctrl+Alt+F7 (brightness up) to switch to
that terminal. ChromeOS doesn't seem to recognize your activity in
elementary, so you have to go back to VT1 from time-to-time to keep it from
falling asleep.

You could write a startgala script if you wanted to. Look in crouton's
chroot-bin for the implementation details of the other start scripts and
make the appropriate changes.

Glad you got it working. Sorry it took so long.


Reply to this email directly or view it on GitHubhttps://github.com//issues/314#issuecomment-22741799
.

@dnschneid dnschneid reopened this Aug 20, 2013
@dnschneid
Copy link
Owner

@smibarber, could this be a target?

@picostove
Copy link
Collaborator

@dnschneid Sounds like it's usable enough to be a target. The packages only support precise on i386/amd64, so luckily there won't be a bajillion configurations to test.

@dnschneid
Copy link
Owner

If it's only good on that one config, we shouldn't make it a target.

@jsebean
Copy link

jsebean commented Oct 30, 2013

Regarding the issue where it goes to sleep, forcing you to go back to virtual terminal 1, is there a method to fix this issue or disable sleep altogether? Thanks!

@dnschneid
Copy link
Owner

Don't use lightdm.

@jsebean
Copy link

jsebean commented Oct 30, 2013

What should I use? gdm?

@dnschneid
Copy link
Owner

Just use xinit and launch elementary directly if possible.

@jsebean
Copy link

jsebean commented Oct 30, 2013

Lost me there, haha. If I install it from the PPA after I install (XFCE/KDE/Unity) how do I start pantheon with xinit?

@dnschneid
Copy link
Owner

That's what you'll have to figure out, unfortunately.

@grungecow
Copy link

Here is a link that should be very helpful (i think, i'm still new to X server)

https://wiki.archlinux.org/index.php/Pantheon#Via_.xinitrc

@jsebean
Copy link

jsebean commented Oct 31, 2013

Thanks. I saw that and am looking into it. I can only imagine what issues will come about with all this weird wayland/mir/x-mir stuff.

@appsforartists
Copy link

Why? So far as I understand, both crouton and elementary default to the Precise branch, which is before Mir was rolled in. Moreover, I can't imagine ChromeOS switching any time soon - they don't seem to have much incentive to do so.

@grungecow
Copy link

@dnschneid where is .xinitrc located in a crouton install of X11?

Or anyone else no? That has to be edited to be able to run xinit to boot elementary. Or at least as far as i can tell from different guides

@appsforartists
Copy link

It's a dotfile that goes in your home directory. For example:

https://github.com/appsforartists/pixel_webdev/blob/master/root/home/user/.xinitrc

On Thu, Oct 31, 2013 at 8:15 AM, rockynewsmaster
notifications@github.comwrote:

@dnschneid https://github.com/dnschneid where is .xinitrc located in a
crouton install of X11?

Or anyone else no? That has to be edited to be able to run xinit to boot
elementary. Or at least as far as i can tell from different guides


Reply to this email directly or view it on GitHubhttps://github.com//issues/314#issuecomment-27494281
.

@jsebean
Copy link

jsebean commented Oct 31, 2013

@appsforartists I am aware of that re: xorg/mir, etc, however I mean in the future, that is all, not related to this discussion.

@bradmont
Copy link

Hey, I spent some time working on this today and got the interface up and running. I explained what I did in a blog post here: http://bradmont.net/post/elementaryos-on-chromebook-with-crouton (edit: see below for fixed link)

@dnschneid
Copy link
Owner

Cool; you might want to add to the wiki. Also to note: you can just install the x11 or gtk-extra targets to get a smaller base without all of the xfce stuff.

@makerender
Copy link

Hey,

I was able to get elementary working using bradmont's guide and it works surprisingly well on my Acer c720p. Only issues I have so far are the mouse flickering and redshift not changing color temperature at all.

I for one think elementary would make an excellent target.

@bradmont
Copy link

Just in case others come across this post, my web server got wiped by my hosting provder, so the above link doesn't work any more. It's now available at http://bradmont.net/?q=node/2 .

@dlsso
Copy link

dlsso commented Sep 12, 2014

Elementary is one of my favorite distros, I would love to see it as a target.

@jasonhuck
Copy link

This was the most thorough and accurate guide I found:
http://jeanlouisnguyen.blogspot.com/2014/01/guide-how-to-install-elementary-os-on.html

Worked for me on a Toshiba Chromebook 2. It was pretty straightforward, but if it's not that difficult to add it as a target, even better. I personally prefer Pantheon over any other current desktop environment for linux.

@bahaaaldin214
Copy link

bahaaaldin214 commented Jul 12, 2018

I keep on getting this error on the last line
** (lightdm:4735): WARNING **: Failed to get list of logind seats: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1
I did
sudo /usr/sbin/lightdm
right after sudo apt-get install elementary-desktop

@aetinx
Copy link

aetinx commented Aug 31, 2022

I keep on getting this error on the last line ** (lightdm:4735): WARNING **: Failed to get list of logind seats: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1 I did sudo /usr/sbin/lightdm right after sudo apt-get install elementary-desktop

Same here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests