Closed jgyllinsky closed 2 years ago
Same experience on my Samsung Chromebook Plus.
same experience, New xenial install, crouton updated. chronos@localhost / $ sudo startxfce4 Password: Enter encryption passphrase for xenial: Entering /mnt/stateful_partition/crouton/chroots/xenial... /usr/bin/startxfce4: Starting X server _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root X.Org X Server 1.18.4
gbm: failed to open any driver (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri) gbm: Last dlopen error: /usr/lib/dri/exynos_dri.so: cannot open shared object file: No such file or directory failed to load driver: exynos EGL_MESA_drm_image required. (EE) Fatal server error: (EE) AddScreen/ScreenInit failed for driver 1 (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. /usr/bin/xinit: giving up /usr/bin/xinit: unable to connect to X server: Connection refused /usr/bin/xinit: server error Unmounting /mnt/stateful_partition/crouton/chroots/xenial...
Hi, I can confirm this startxfce4 error with a new crouton, xenial install on a Samsung Series 3.
Same issue on Samsung 303c
Experiencing same issue on Samsung 303c as @danvocino
I'm also having this issue on a 303c.
I am having the same issue on a Samsung Series 3 as well...
I tried deleting the chroot by resetting the computer, and then creating a new one. I made sure to add both extension and xiwi. (However, I wanted to be able to use xorg specifically, and it was using xorg instead of using xiwi that seemed to cause the problem. I never had the problem with xiwi.)
Now if I start xfce like this:
sudo startxfce4, -t xorg
it does actually work. I don't know if simply retrying it was what solved the problem, or if it was making sure to add extension. I would suggest simply trying to add extension. If that doesn't work, try xiwi. This way you can at least run xfce in a chrome tab. IAC the problem is resolved for me. (Unfortunately, I've found xfce is a lot slower if I run it on xorg than if I run it on xiwi, but this is probably a different issue.) I'm still a newbie, so I hope someone here finds this helpful. : /
EDIT: I don't know about lxde. I haven't tried using it.
(Edited about a hundred times.)
@cricketbox5000 can you tell me from stat what to download? I did download the regular xfce using the command sudo ~/downloads/crouton -t xfce and what extensions should I add to download xiwi and org? I already have my laptop on dev mod and powerwashed it. Please tell me the command because I'm a total noob haha. Thanks in advance.
@asadislove What I did was I added xfce, xiwi, and extension. I'm a total noob too, so I don't remember exactly what specific command I wrote when I installed my chroot. Sorry about that. I believe it was as follows:
sudo sh ~/Downloads/crouton -t xfce,xiwi,extension
or possibly:
sudo sh ~/Downloads/crouton -t xfce,xorg,xiwi,extension
As far as I know, the first command should work fine (barring syntax errors?). I would recommend doing more research on your own before following my advice, and if anyone out there is reading this and knows more than I do, I'd love to hear your input.
Both xorg and xiwi are ways of displaying a graphical user interface like xfce (1)(2). Xorg is automatically included when you install xenial, so you don't need to worry about adding it when you first create the chroot. Xiwi simply runs xfce inside a new Chrome tab. I've found that xorg runs much slower than xiwi.
Extension is needed to run the Crouton Integration Extension for Chrome. I don't know what it does exactly, but I believe that it works with either xiwi or xorg to integrate Chrome with xenial. Normally extension is installed with xiwi automatically. I think that if you run xorg instead of xiwi, you need to install extension separately from xiwi. [ED:] This seems to have resolved my initial problem. I'm sure that there is also a way of adding these packages after installing the chroot, but I haven't been able to do that successfully yet.
The command I wrote in my above comment (sudo startxfce4, -t xorg
) is to launch xfce using xorg when entering the chroot (when you also have xiwi installed). Alternatively, if you want to launch xfce using xiwi, use:
sudo startxfce4, -t xiwi
Thanks for your patience.
To those having trouble with launching your desktop target after a reboot I'd like to suggest doing a backup of the chroot after it's setup and tweaked and before you reboot. This will save you from re-installing or more accurately installing a new chroot each time something goes awry. You can either first delete the hosed chroot or restore it over the hosed chroot with the edit-chroot
command.
For instance to back up a chroot named xenial
use this:
sudo edit-chroot -b -f ~/Downloads xenial
To restore a chroot named xenial
on top of an old hosed one use this:
sudo edit-chroot -rr -f ~/Downloads/xenial-2017*.tar.gz
I used the '*
' wildcard character to find any xenial backup created this year but you can use it's exact name if you have more than one.
Hope this helps, -DennisL
@cricketbox5000,
Both of your chroot install commands above should work, I always use the second form that installs both xmethods to give more flexibility, for example -
sudo sh ~/Downloads/crouton -t xfce,xorg,xiwi
And the 'crouton integration' extension is needed when you install the 'xiwi' target/xmethod and installs the 'extension' target automatically like you mentioned but can also be used with the 'xorg' target/xmethod for copy pasta but you do have to specify it on the command line, again like you mentioned.
The target/xmethod you enter first in the install command will become the default xmethod so in your example it will be 'xorg'. If you want to change the default xmethod say from 'xorg' to 'xiwi' just update your chroot specifying only the new default xmethod like this for example -
sudo sh ~/Downloads/crouton -n xenial -t xiwi -u
With both xmethods installed you can launch your desktop in a number of ways -
sudo startxfce4
(that will launch in a separate screen via 'xorg', the default)
sudo startxfce4 -X xiwi
(that will launch in a window via 'xiwi')
sudo startxfce4 -X xiwi-fullscreen
(that will launch fullscreen via 'xiwi')
sudo startxfce4 -X xiwi-tab
(that will launch in a browser tab via 'xiwi' - my favorite)
Hope this helps, -DennisL
@DennisLfromGA
Thank you very much. All of your suggestions are very helpful. : )
While xenial (16.04lts) was unstable for me, trusty (Ubuntu 14.04lts) has been stable for the last month.
To install:
sudo sh ~/Downloads/crouton -n trusty -u -t xiwi,xfce
Although, note that I think the lxde version works a little smoother due to speed
I would now label this issue as a regression, since 14.04 works well.
I installed xenial and experienced same issue on Samsung Chromebook 2 503.
Current version of pixman: 0.33.6 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: Sun May 14 20:15:40 2017 (==) Using system config directory "/usr/share/X11/xorg.conf.d" gbm: failed to open any driver (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri) gbm: Last dlopen error: /usr/lib/dri/exynos_dri.so: cannot open shared object file: No such file or directory failed to load driver: exynos EGL_MESA_drm_image required. (EE) Fatal server error: (EE) AddScreen/ScreenInit failed for driver 1 (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. /usr/bin/xinit: giving up /usr/bin/xinit: unable to connect to X server: Connection refused /usr/bin/xinit: server error Unmounting /mnt/stateful_partition/crouton/chroots/xenial...
@wowSH, what part of #2426 helped you?
Below answer helped me to fix this issue.
tista500 commented on Feb 8, 2016 OK.
Download this file to your "Downloads" directory in ChromeOS: 20-armsoc.txt
In crosh window, run shell command to launch bash-like shell
Rename downloaded file from .txt to conf:
cd ~/Downloads mv 20-armsoc{.txt,.conf} Login into chroot without X11:
sudo enter-chroot -n precise Move that file into proper place and flush the RAM cache:
sudo mv ~/Downloads/20-armsoc.conf /usr/share/X11/xorg.conf.d/ sync Logout chroot with "Ctrl + d" or run exit command
Re-login into chroot with X11/freon:
sudo startxfce4 That's all, maybe...
Regards.
Please describe your issue:
Crouton appears to work OK on Samsung XE303C12 chromebook. Everything installs and additional software can be installed and run via
sudo apt install ...
. Crouton and shell can be exited safely and reopened without any issues. However it would seem that upon rebooting the chromebook, typingsudo startlxde
fails to start X anymore. Sleep may also cause this issue - at first I thought this was random, but it seems reproducible on reboot. I would test this more but it takes a VERY long time to reinstall crouton.I have reproduced this issue with lxde, xfce and unity.
Updating crouton with
sudo sh ~/Downloads/crouton -n xenial -u
does not fix the issue.This is an example of the output:
The CLI seems to work fine though if I start the "xenial" chroot up using
sudo startcli
.If known, describe the steps to reproduce the issue:
sudo sh /downloads/crouton -t lxde,cli-extra
)sudo startlxde
)shell
)sudo sudo startlxde
)