Comments (10)
That's not good.
A bit of background: Xephyr creates an X11 server as a window in a host X11 server (nested X servers). That means when you launch Xephyr manually, you want to make sure DISPLAY and XAUTHORITY environment variables are set properly for the host X11 server. The parameter you pass to Xephyr to choose its server number should then be unique, since it's creating a new server at that address.
So for running it manually to see what's going wrong, you'll want to do the following:
export DISPLAY=:0 XAUTHORITY=/etc/X11/host-Xauthority
Xephyr :1 -fullscreen
You may want to do a sanity check on the host Xauthority once you're inside the chroot ls -l /etc/X11/host-Xauthority
--it should have a modification time equal to the time you entered the chroot.
from crouton.
The modification time was correct.
export DISPLAY=:0 XAUTHORITY=/etc/X11/host-Xauthority
Xephyr :1 -fullscreen
resets X and writes the following to STDERR:
XIO: fatal IO error 2 (No such file or directory) on X server ":0"
after 25 requests (25 known processed) with 0 events remaining.
from crouton.
Are you running from a crosh shell or from VT2?
from crouton.
VT2. Should I be doing it from crosh?
from crouton.
Definitely. The X11 server on ARM loooooves to crash.
from crouton.
That was the problem. I'm new to chromebooks so "open a shell" in The Easy Way step 2 was a little too ambiguous for me. I'm guessing gregnwosu in issue #17 made the same mistake. Thank you very much. Your responses were incredibly quick.
from crouton.
Awesome; glad that's the issue. I'll add a note in the README.
from crouton.
Im having the same problem but on crosh (i have some problem almost every other time my chromebook updates usually I can fix it though) samsung chromebook orignial using kde not xfce4
from crouton.
I have the same problem ("Xephyr cannot open host display. Is DISPLAY set?") on a Samsung Chromebook arm, using a trusty crouton with lxde installed quite a while ago (before recent updates). I can log into the chroot but not start up lxde. From inside the chroot, I can still not start lxde, but there it gives a different error
chronos@localhost / $ sudo enter-chroot -n trusty
Entering /mnt/stateful_partition/crouton/chroots/trusty...
(trusty)adubra@localhost:~$ startlxde
Agent pid 22782
** Message: main.vala:99: Session is LXDE
** Message: main.vala:100: DE is LXDE
(lxsession:22774): Gtk-WARNING **: cannot open display:
I created another crouton (precise-lxde). This one works, I can log in and the GUI will start. I tried to update the trusty chroot, which seems to fail (I dunno whether that's what causes this issue):
chronos@localhost ~/Downloads $ sudo sh crouton -u -n trusty
/usr/local/chroots/trusty already exists; updating it...
WARNING: USB booting is enabled; consider disabling it.
You can use the following command: sudo crossystem dev_boot_usb=0
Preparing chroot environment...
(...)
Fetched 3998 B in 8s (474 B/s)
W: Failed to fetch http://apt.mucommander.com/dists/stable/InRelease Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
Ensuring system is up-to-date...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
linux-tools-3.13.0-37 linux-tools-3.13.0-37-generic
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
linux-image-3.8.11
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/5513 kB of archives.
After this operation, 332 kB disk space will be freed.
Preconfiguring packages ...
(Reading database ... 78832 files and directories currently installed.)
Preparing to unpack .../linux-image-3.8.11_20150314_armhf.deb ...
Ok, aborting, since modules for this image already exist.
dpkg: error processing archive /var/cache/apt/archives/linux-image-3.8.11_20150314_armhf.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.8.11 /boot/vmlinuz-3.8.11
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-3.8.11_20150314_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to complete chroot setup.
Unmounting /mnt/stateful_partition/crouton/chroots/trusty...
from crouton.
(just coming back to note that the problem was that the updating kept crashing, because of issues with dependencies, and libraries pulled from non-standard sources. Once I resolved/removed those issues, the update went through and the GUI desktop works again.)
from crouton.
Related Issues (20)
- problems with when running ssh usr@localhost HOT 1
- [ 6534.438] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
- CRAS setup fails with can't read tests/cras_test_client.c HOT 2
- "/sys/kernel/security/chromiumos/inode_security_policies/allow_fifo" is now read-only HOT 4
- pls help whenever i try and paste cmd it does this error bash: $'\E[200~sudo': command not found HOT 1
- after install xfce appear message error
- after install crouton in chromeos message appear uknown error HOT 1
- USB Serial device not being recognized by Chrome OS HOT 1
- Crouton enter-chroot broken on Chrome OS 124 HOT 3
- Curl ssl certificate problem HOT 4
- Hello, linux noobie here, does anyone know what causes this problem and how to fix this? HOT 10
- kali-rolling Error: symbol `open64' is already defined
- Gnome not working HOT 3
- VT2 can't launch enter-chroot after upgrade to Version 124.0.6367.95 (Official Build) (64-bit) HOT 2
- Crouton Failing To Install On ChromeOS Version 112. HOT 8
- Uid 1000 not found in xenial HOT 1
- Can you run Gnu Guix on Crouton at ChromeOS version 105.0.5195.134 ? HOT 3
- Unable to install crouton extension (solved)
- Incorrect website for project HOT 1
- Unable to get crouton command to be recognized following newest guide HOT 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crouton.