mediocregopher / chroagh

Yet another fork of chroagh which will work for a few months then die
BSD 3-Clause "New" or "Revised" License
13 stars 1 forks source link

Can't start X server #5

Open ripps818 opened 6 years ago

ripps818 commented 6 years ago
name: arch
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/arch...
crouton: version git
release: arch
architecture: x86_64
xmethod: xorg
targets: xorg,xfce,keyboard,audio,aur,extension,cli-extra
host: version 10895.40.0 (Official Build) beta-channel cave 
kernel: Linux localhost 3.18.0-18121-g8c0cb17dd7e0 #1 SMP PREEMPT Wed Aug 29 13:55:15 PDT 2018 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/arch...
chronos@localhost ~/Downloads $ cat /tmp/Xorg.crouton.1.log
[  2140.492] _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
[  2140.492] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[  2140.493] 
X.Org X Server 1.20.1
X Protocol Version 11, Revision 0
[  2140.493] Build Operating System: Linux Arch Linux
[  2140.493] Current Operating System: Linux localhost 3.18.0-18121-g8c0cb17dd7e0 #1 SMP PREEMPT Wed Aug 29 13:55:15 PDT 2018 x86_64
[  2140.493] 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=1f7a67c9-fced-034c-8909-6ca27da83dbc/PARTNROFF=1 hashtree=PARTUUID=1f7a67c9-fced-034c-8909-6ca27da83dbc/PARTNROFF=1 hashstart=3584000 alg=sha1 root_hexdigest=b8ee22bb985e72d57559e43cabccdd9f29bb849b salt=e0578e43164a11aed5a7df46908be72831974d094875517b145924491a5449a9" noinitrd vt.global_cursor_default=0 kern_guid=1f7a67c9-fced-034c-8909-6ca27da83dbc 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
[  2140.493] Build Date: 09 August 2018  06:37:34PM
[  2140.493]  
[  2140.493] Current version of pixman: 0.34.0
[  2140.493]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  2140.493] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2140.493] (++) Log file: "/tmp/Xorg.crouton.1.log", Time: Sat Sep  1 05:18:54 2018
[  2140.493] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2140.493] (==) No Layout section.  Using the first Screen section.
[  2140.493] (==) No screen section available. Using defaults.
[  2140.493] (**) |-->Screen "Default Screen Section" (0)
[  2140.493] (**) |   |-->Monitor "<default monitor>"
[  2140.493] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[  2140.494] (==) Automatically adding devices
[  2140.494] (==) Automatically enabling devices
[  2140.494] (==) Automatically adding GPU devices
[  2140.494] (==) Automatically binding GPU devices
[  2140.494] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  2140.494] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[  2140.494]    Entry deleted from font path.
[  2140.494]    (Run 'mkfontdir' on "/usr/share/fonts/misc").
[  2140.494] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[  2140.494]    Entry deleted from font path.
[  2140.494] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  2140.494]    Entry deleted from font path.
[  2140.494] (==) FontPath set to:
        /usr/share/fonts/TTF,
        /usr/share/fonts/100dpi,
        /usr/share/fonts/75dpi
[  2140.494] (==) ModulePath set to "/usr/lib/xorg/modules"
[  2140.494] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[  2140.494] (II) Module ABI versions:
[  2140.494]    X.Org ANSI C Emulation: 0.4
[  2140.494]    X.Org Video Driver: 24.0
[  2140.494]    X.Org XInput driver : 24.1
[  2140.494]    X.Org Server Extension : 10.0
[  2140.504] (EE) systemd-logind: failed to get session: Launch helper exited with unknown return code 1
[  2140.505] (II) xfree86: Adding drm device (/dev/dri/card0)
[  2140.506] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[  2141.084] (--) PCI:*(0@0:2:0) 8086:191e:8086:2015 rev 7, Mem @ 0xd0000000/16777216, 0xc0000000/268435456, I/O @ 0x00001c00/64
[  2141.084] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  2141.084] (II) LoadModule: "glx"
[  2141.084] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  2141.089] (II) Module glx: vendor="X.Org Foundation"
[  2141.089]    compiled for 1.20.1, module version = 1.0.0
[  2141.089]    ABI class: X.Org Server Extension, version 10.0
[  2141.089] (==) Matched intel as autoconfigured driver 0
[  2141.089] (==) Matched modesetting as autoconfigured driver 1
[  2141.089] (==) Matched fbdev as autoconfigured driver 2
[  2141.089] (==) Matched vesa as autoconfigured driver 3
[  2141.089] (==) Assigned the driver to the xf86ConfigLayout
[  2141.089] (II) LoadModule: "intel"
[  2141.090] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[  2141.126] (II) Module intel: vendor="X.Org Foundation"
[  2141.126]    compiled for 1.20.0, module version = 2.99.917
[  2141.126]    Module class: X.Org Video Driver
[  2141.126]    ABI class: X.Org Video Driver, version 24.0
[  2141.126] (II) LoadModule: "modesetting"
[  2141.126] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  2141.128] (II) Module modesetting: vendor="X.Org Foundation"
[  2141.128]    compiled for 1.20.1, module version = 1.20.1
[  2141.128]    Module class: X.Org Video Driver
[  2141.128]    ABI class: X.Org Video Driver, version 24.0
[  2141.128] (II) LoadModule: "fbdev"
[  2141.128] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[  2141.128] (II) Module fbdev: vendor="X.Org Foundation"
[  2141.128]    compiled for 1.20.0, module version = 0.5.0
[  2141.128]    Module class: X.Org Video Driver
[  2141.128]    ABI class: X.Org Video Driver, version 24.0
[  2141.128] (II) LoadModule: "vesa"
[  2141.128] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[  2141.129] (II) Module vesa: vendor="X.Org Foundation"
[  2141.129]    compiled for 1.20.0, module version = 2.4.0
[  2141.129]    Module class: X.Org Video Driver
[  2141.129]    ABI class: X.Org Video Driver, version 24.0
[  2141.129] (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
[  2141.129] (II) intel: Driver for Intel(R) HD Graphics
[  2141.129] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[  2141.129] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[  2141.129] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  2141.129] (II) FBDEV: driver for framebuffer: fbdev
[  2141.129] (II) VESA: driver for VESA chipsets: vesa
[  2141.129] (EE) 
Fatal server error:
[  2141.129] (EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory)
[  2141.129] (EE) 
[  2141.129] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[  2141.129] (EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
[  2141.130] (EE) 
[  2141.130] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[  2141.130] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[  2141.130] (EE) Server terminated with error (1). Closing log file.

Please describe your issue:

Can't start X session. Normal crouton says to remove xserver-xorg-legacy to fix the cannot open tty0 problem, but I'm unsure how to go about that in Arch

If known, describe the steps to reproduce the issue:

sudo startxfce4 -n arch

mediocregopher commented 6 years ago

The internet where I am is really flaky, so I'm having trouble seeing if I can reproduce this locally. But as far as I can see legacy isn't installed as part of installing xfce, only the gnome target gets it, and that's just for ubuntu. In a week or two I won't be traveling so much and I'll be able to sit down and try to help more. Let me know if you find anything in the meantime!

eyqs commented 6 years ago

This seems to be a long-standing bug. For now, can you use xiwi to run your graphical programs instead?

soppelmann commented 5 years ago

Xiwi works, first install core, update everything, install base-devel. Go out of the chroot and update it with the xiwi target. Go in the chroot and start a program with xiwi -F xterm Its not perfect but it works.

https://github.com/dnschneid/crouton/wiki/Sommelier-(A-more-native-alternative-to-xiwi) Also works! Quite well too, fiddle with it a little and you should get it working too.

Edit: I now got awesomewm running in xiwi!