Closed gregnwosu closed 11 years ago
startx
doesn't work at all with the chroot; not entirely sure why. You can use xinit
if you want to manually set up your X11 session. startxfce4
should be called without sudo
inside the chroot, or with sudo
outside (since it's a helper script that calls enter-chroot
).
If the above doesn't resolve anything: what do you mean by "restored", and what command did you use to set up your chroot?
On 24 January 2013 19:21, David Schneider notifications@github.com wrote:
startx doesn't work at all with the chroot; not entirely sure why. You can use xinit if you want to manually set up your X11 session. startxfce4should be called without sudo inside the chroot, or with sudo outside (since it's a helper script that calls enter-chroot).
Yes tried all of these.......when i try to start the windowing, i find myself back at the chromeos logging screen
If the above doesn't resolve anything: what do you mean by "restored",
Ah after i installed Chrubuntu and got frustrated with it I decided to wipe my Chromebook (Samsung series 3 arm) via an Google restore disk for my machine.
and what command did you use to set up your chroot?
I used the crouton script,on the homepage which i believe to be http://goo.gl/fd3zc
(unless its changed in the last 24hours!)
Thanks
Great project by the way!
— Reply to this email directly or view it on GitHubhttps://github.com/dnschneid/crouton/issues/17#issuecomment-12668237.
The link doesn't change. Also, I meant what did you type into crosh to set up the chroot. Finally, what does it say under about:version?
i just downloaded the crouton script at http://goo.gl/fd3zc then i ran it, then i typed sudo startxfte4
I dont see anywhere that says about version, is this once x has started? I dont know where to look for version, just grepped the crouton scriipt and couldnt see version threre
sudo sh -e crouton ....something
. What was that "something"?about:version
and hit enter. Record what the first line says.sudo sh -e Downloads/crouton ..... i think
Google Chrome 23.0.1271.111 (Official Build 175613) Platform 2913.331.0 (Official Build) stable-channel daisy WebKit 537.11 (@139057) JavaScript V8 3.13.7.5 Flash 11.5.31.30 User Agent Mozilla/5.0 (X11; CrOS armv7l 2913.331.0) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.111 Safari/537.11 Command Line /opt/google/chrome/chrome --apps-gallery-title=Web Store --apps-gallery-url=https://chrome.google.com/webstore/ --compress-sys-feedback --device-management-url=https://m.google.com/devicemanagement/data/api --disable-seccomp-sandbox --enable-accelerated-plugins --enable-gview --enable-logging --enable-mobile-dialog --enable-partial-swap --enable-smooth-scrolling --enable-sync-tabs --enable-sync-tabs-for-other-clients --enable-threaded-compositing --enable-ui-release-front-surface --enterprise-enrollment-initial-modulus=5 --enterprise-enrollment-modulus-limit=12 --force-compositing-mode --load-opencryptoki --log-level=1 --login-manager --login-profile=user --no-first-run --reload-killed-tabs --scroll-pixels=3 --ui-enable-partial-swap --ui-enable-per-tile-painting --ui-prioritize-in-gpu-process --use-cras --user-data-dir=/home/chronos --no-protector --enable-gpu-sandbox --allow-webui-compositing --use-gl=egl --disable-accelerated-2d-canvas --ppapi-flash-path=/opt/google/chrome/pepper/libpepflashplayer.so --ppapi-flash-version=11.5.31.30 --ppapi-flash-args=enable_hw_video_decode=0,enable_stagevideo_auto=0,enable_trace_to_console=0 --vmodule=network_change_notifier*=1 --flag-switches-begin --flag-switches-end Executable Path /opt/google/chrome/chrome Profile Path /home/chronos/user Variations 853359fa-186f5907 1d3048f1-9de009d0 cd73da34-cf196cb 6214fa18-9e6dc24d 4dcb0cd6-d31c4ca1 9d5bce6-30d7d8ac fe0a565e-595c7724 f9b252d0-fd526c81 3664a344-be9e69ba ccee547a-766fa2d 571ffcab-766fa2d f67325bd-da68de77 262f996f-eeefeb17 24dca50e-c4e4c5f ca65a9fe-91ac3782 d1a7fd3-4c2186eb 3028188e-626278e 2bd5ec9c-a02269d6 246fb659-4c073154 f296190c-2502111b 4442aae2-6bdfffe7 75f0f0a0-d7f6b13c e2b18481-d7f6b13c e7e71889-e1cc0f14 980cfc4b-c5cc9a0a
i ran sudo sh -e ~/Downloads/crouton -t xfce
Run: delete-chroot precise
to delete your chroot, then try sudo sh -e ~/Downloads/crouton -t xfce 2>&1 | tee ~/Downloads/crouton.log
and if after that completes sudo startxfce4
doesn't work, paste the contents of the crouton.log file here.
ive got a theory on what might be happening,,,,, chromeos screen dims during install and i usually have to log in again when i have finished the install , i think that chromeos removes the environment when im not logged in, e.g. most times when im not logged in I cant see my OWN downloads directory in dev shell.
The log got cut off. Could you stick it on pastebin and link it here? Crouton doesn't actually operate out of your user directory unless you force it to, so that's probably not the case.
Looks fine to me. What does running sudo startxfce4
from crosh spit out?
Nothing! It just flashes up, starting xserver then the screen goes black for about 20 second s and then I'm back at the chromeos login screen On Jan 28, 2013 2:00 AM, "David Schneider" notifications@github.com wrote:
Looks fine to me. What does running sudo startxfce4 from crosh spit out?
— Reply to this email directly or view it on GitHubhttps://github.com/dnschneid/crouton/issues/17#issuecomment-12766107.
sudo startxfce4 2>&1 | tee startxfce4.log
and post the startxfce4.log file, please.
powerd stop/waiting /usr/bin/startxfce4: Starting X server
Xephyr cannot open host display. Is DISPLAY set? XIO: fatal IO error 2 (No such file or directory) on X server ":0" after 39 requests (39 known processed) with 0 events remaining.
Weeiirrdd. Are you running this from a guest session, or is there something else interesting about your accounts?
Running from chronos account, i guess it's not acrouton problem, and something weird about my machine, strange thing is, this is after a restore using my google recovery disk! On Jan 31, 2013 7:41 AM, "David Schneider" notifications@github.com wrote:
Weeiirrdd. Are you running this from a guest session, or is there something else interesting about your accounts?
— Reply to this email directly or view it on GitHubhttps://github.com/dnschneid/crouton/issues/17#issuecomment-12931204.
I mean the Google account(s) that you're logged into (or if you're in a guest session).
Er, not that i know of, how could my google account affect this? On Jan 31, 2013 7:48 AM, "David Schneider" notifications@github.com wrote:
I mean the Google account(s) that you're logged into (or if you're in a guest session).
— Reply to this email directly or view it on GitHubhttps://github.com/dnschneid/crouton/issues/17#issuecomment-12931338.
If you're just logged in to a normal account, it should be fine. I'm out of ideas, sorry.
It's fine, close the ticket,i don't think it's crouton related.thanks for all of your time On Jan 31, 2013 7:52 AM, "David Schneider" notifications@github.com wrote:
If you're just logged in to a normal account, it should be fine. I'm out of ideas, sorry.
— Reply to this email directly or view it on GitHubhttps://github.com/dnschneid/crouton/issues/17#issuecomment-12931454.
Thanks for digging into it. Feel free to comment if you figure things out, or re-open if you dig some more and suspect it is related to crouton after all.
As discovered in #18, if you've been using VT2 to launch the chroot, it won't work. Use crosh (Ctrl+Alt+T) instead.
im sorry! i didnt even know that you could launch shell with ctrl+t!
Not a problem! I've added it to the instructions now. I'm just glad it wasn't something device-dependent.
hey guys sorry to add to thread new to playing with linux and new to chrome os was playing with ubuntu install had it running and was enjoying the fact that i got it to work but i loaded warzone 2100 and the samsung chromebook took a long time to load/ crashed so i restarted the device then when trying to get back in it gives me ---
Xephyr cannot open host display. Is DISPLAY set? /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 /usr/local/chroots/precise... chronos@localhost / $
can someone kinda give me an idiots def of whats going on havent been able to find intel relevent to what i am experiencing and dont understand the x11 server? xfce4 i believe
then again i got so excited about reading this i just realize this post is years old
hey mentalhavoc im having the same issue with my crouton arch, trying to find a solution atm ill keep you updated
Followed the instruction and can enter-chroot and apt-get etc from there
but if i call startx from inside entered chroot
or sudo startxfce4
then the screen goes dark after which i am booted back out into ChromeOS