qntmpkts / chroagh-dev

Chromium OS Archlinux Chroot Environment
BSD 3-Clause "New" or "Revised" License
24 stars 11 forks source link

Unable to enter chroot on Asus C302CA, unable to connect to X server #2

Closed mwsduelle closed 6 years ago

mwsduelle commented 6 years ago

Please paste the output of the following command here: sudo edit-chroot -all

encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/arch...
crouton: version git
release: arch
architecture: x86_64
xmethod: xorg
targets: xfce
host: version 9901.35.0 (Official Build) dev-channel cave 
kernel: Linux localhost 3.18.0-16025-g0721c0e136ea #1 SMP PREEMPT Sun Oct 1 21:58:49 PDT 2017 x86_64 GNU/Linux
freon: yes

Please describe your issue:

When trying to enter chroot I get this output:

Entering /mnt/stateful_partition/crouton/chroots/arch...
chown: invalid user: 'messagebus:messagebus'
/usr/bin/startxfce4: Starting X server

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.5.4-1-ARCH x86_64 
Current Operating System: Linux localhost 3.18.0-16025-g0721c0e136ea #1 SMP PREEMPT Sun Oct 1 21:58:49 PDT 2017 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 3584000 verity payload=PARTUUID=ff1fa3fd-6599-904a-a0ec-79fe91f97b03/PARTNROFF=1 hashtree=PARTUUID=ff1fa3fd-6599-904a-a0ec-79fe91f97b03/PARTNROFF=1 hashstart=3584000 alg=sha1 root_hexdigest=1486f82eb09ecfa123acfd3ba8e8ed29ab9779df salt=c01410953a65e45cb6ddc8a09c9f7c4c589aa39339904ec0e4196c3d53292a93" noinitrd vt.global_cursor_default=0 kern_guid=ff1fa3fd-6599-904a-a0ec-79fe91f97b03 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic intel_idle.max_cstate=7  
Build Date: 19 July 2016  05:54:24PM

Current version of pixman: 0.34.0
        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: Sat Oct  7 11:17:01 2017
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) 
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory)
(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/arch...

Contents of Xorg.crouton.1.log:

[ 26877.266] _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
[ 26877.266] 
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 26877.266] X Protocol Version 11, Revision 0
[ 26877.266] Build Operating System: Linux 4.5.4-1-ARCH x86_64 
[ 26877.266] Current Operating System: Linux localhost 3.18.0-16025-g0721c0e136ea #1 SMP PREEMPT Sun Oct 1 21:58:49 PDT 2017 x86_64
[ 26877.266] Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 3584000 verity payload=PARTUUID=ff1fa3fd-6599-904a-a0ec-79fe91f97b03/PARTNROFF=1 hashtree=PARTUUID=ff1fa3fd-6599-904a-a0ec-79fe91f97b03/PARTNROFF=1 hashstart=3584000 alg=sha1 root_hexdigest=1486f82eb09ecfa123acfd3ba8e8ed29ab9779df salt=c01410953a65e45cb6ddc8a09c9f7c4c589aa39339904ec0e4196c3d53292a93" noinitrd vt.global_cursor_default=0 kern_guid=ff1fa3fd-6599-904a-a0ec-79fe91f97b03 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic intel_idle.max_cstate=7  
[ 26877.266] Build Date: 19 July 2016  05:54:24PM
[ 26877.266]  
[ 26877.266] Current version of pixman: 0.34.0
[ 26877.266]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[ 26877.266] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 26877.266] (++) Log file: "/tmp/Xorg.crouton.1.log", Time: Sat Oct  7 11:17:01 2017
[ 26877.267] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 26877.267] (==) No Layout section.  Using the first Screen section.
[ 26877.267] (==) No screen section available. Using defaults.
[ 26877.267] (**) |-->Screen "Default Screen Section" (0)
[ 26877.267] (**) |   |-->Monitor "<default monitor>"
[ 26877.267] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[ 26877.267] (==) Automatically adding devices
[ 26877.267] (==) Automatically enabling devices
[ 26877.267] (==) Automatically adding GPU devices
[ 26877.267] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 26877.267] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 26877.267]    Entry deleted from font path.
[ 26877.267] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/OTF/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
[ 26877.267] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 26877.267] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 26877.267] (II) Loader magic: 0x821d40
[ 26877.267] (II) Module ABI versions:
[ 26877.267]    X.Org ANSI C Emulation: 0.4
[ 26877.267]    X.Org Video Driver: 20.0
[ 26877.267]    X.Org XInput driver : 22.1
[ 26877.267]    X.Org Server Extension : 9.0
[ 26877.272] (EE) systemd-logind: failed to get session: Launch helper exited with unknown return code 1
[ 26877.273] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 26877.273] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 26877.855] (--) PCI:*(0:0:2:0) 8086:191e:8086:2015 rev 7, Mem @ 0xd0000000/16777216, 0xc0000000/268435456, I/O @ 0x00001c00/64
[ 26877.855] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 26877.855] (II) LoadModule: "glx"
[ 26877.856] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 26877.859] (II) Module glx: vendor="X.Org Foundation"
[ 26877.859]    compiled for 1.18.4, module version = 1.0.0
[ 26877.859]    ABI class: X.Org Server Extension, version 9.0
[ 26877.859] (==) AIGLX enabled
[ 26877.859] (==) Matched intel as autoconfigured driver 0
[ 26877.859] (==) Matched modesetting as autoconfigured driver 1
[ 26877.859] (==) Matched fbdev as autoconfigured driver 2
[ 26877.859] (==) Matched vesa as autoconfigured driver 3
[ 26877.859] (==) Assigned the driver to the xf86ConfigLayout
[ 26877.859] (II) LoadModule: "intel"
[ 26877.860] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 26877.861] (II) Module intel: vendor="X.Org Foundation"
[ 26877.861]    compiled for 1.18.4, module version = 2.99.917
[ 26877.861]    Module class: X.Org Video Driver
[ 26877.861]    ABI class: X.Org Video Driver, version 20.0
[ 26877.861] (II) LoadModule: "modesetting"
[ 26877.861] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 26877.861] (II) Module modesetting: vendor="X.Org Foundation"
[ 26877.861]    compiled for 1.18.4, module version = 1.18.4
[ 26877.861]    Module class: X.Org Video Driver
[ 26877.861]    ABI class: X.Org Video Driver, version 20.0
[ 26877.861] (II) LoadModule: "fbdev"
[ 26877.862] (WW) Warning, couldn't open module fbdev
[ 26877.862] (II) UnloadModule: "fbdev"
[ 26877.862] (II) Unloading fbdev
[ 26877.862] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 26877.862] (II) LoadModule: "vesa"
[ 26877.863] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 26877.863] (II) Module vesa: vendor="X.Org Foundation"
[ 26877.863]    compiled for 1.18.0, module version = 2.3.4
[ 26877.863]    Module class: X.Org Video Driver
[ 26877.863]    ABI class: X.Org Video Driver, version 20.0
[ 26877.863] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
    i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
    915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
    Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
    GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 26877.863] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 26877.863] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 26877.863] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 26877.863] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 26877.863] (II) VESA: driver for VESA chipsets: vesa
[ 26877.864] (EE) 
Fatal server error:
[ 26877.864] (EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory)
[ 26877.864] (EE) 
[ 26877.864] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
[ 26877.864] (EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
[ 26877.864] (EE) 

If known, describe the steps to reproduce the issue:

Not sure if this is limited to my chromebook (Asus C302CA). Trying to enter chroot fails with the same output every time.

qntmpkts commented 6 years ago

As of 2e9aa2479588e5d5680dcd3c5ea489be5b101e74, this is resolved.