I think I broke something once again...

Rebooting after a recent update caused my X Server to completely die.  I
faintly remember some x11-related packages being blocked on that
particular update, but because I was short on time I decided just to
ignore those at the time (note to self: bad idea, apparently).

Now when I run startx, it complains about a bunch of permissions being
borked:

$ cat Xorg.0.log
---- 8< ----
[    11.763] (--) using VT number 7

[    11.763] (EE)
Fatal server error:
[    11.766] (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission 
denied)
[    11.767] (EE)
[    11.768] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[    11.773] (EE) Please also check the log file at 
"/home/christoph/.local/share/xorg/Xorg.0.log" for additional information.
[    11.774] (EE)
[    11.775] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[    11.775] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[    11.775] (EE) Server terminated with error (1). Closing log file.

(I'll attach the full log)

I don't fully understand what's going on there, but I figured maybe
someone more experienced on here might have an idea as to what I did
wrong this time.


FWIW, I already tried setting the permissions of /dev/tty7 to 664,
causing the X server to work, albeit with inputs not working (the log
reveiled that it couldn't access /dev/input/event7 or something, so
probably the same issue).


My user's groups are:

$ groups christoph
tty wheel audio video usb users input davfs2 plugdev christoph kvm

(Note tty, audio, video, and input. That's all X should really need,
right?)

My VIDEO_CARDS contains "intel i915" (for an Intel HD 4000(?) chip in a
Lenovo X1 Carbon 1st gen).


Has this broken for anyone else?  Anyone who could point me in the right
direction?  Thanks in advance!

--
Regards,
Christoph
[    11.677] 
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
[    11.678] 
X.Org X Server 1.19.99.901 (1.20.0 RC 1)
Release Date: 2018-02-28
[    11.681] X Protocol Version 11, Revision 0
[    11.682] Build Operating System: Linux 4.15.3-gentoo x86_64 Gentoo
[    11.683] Current Operating System: Linux christoph-lap 4.16.0-rc4+ #11 SMP 
Tue Mar 6 13:10:04 CET 2018 x86_64
[    11.683] Kernel command line: BOOT_IMAGE=/vmlinuz-4.16.0-rc4+ 
root=/dev/sda2 ro
[    11.685] Build Date: 06 March 2018  12:44:28PM
[    11.686]  
[    11.687] Current version of pixman: 0.34.0
[    11.689]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    11.689] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    11.693] (==) Log file: "/home/christoph/.local/share/xorg/Xorg.0.log", 
Time: Wed Mar  7 15:40:37 2018
[    11.706] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    11.707] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    11.709] (==) No Layout section.  Using the first Screen section.
[    11.709] (==) No screen section available. Using defaults.
[    11.709] (**) |-->Screen "Default Screen Section" (0)
[    11.709] (**) |   |-->Monitor "<default monitor>"
[    11.709] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[    11.709] (**) |   |-->Device "Intel Graphics"
[    11.709] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    11.709] (==) Automatically adding devices
[    11.709] (==) Automatically enabling devices
[    11.709] (==) Automatically adding GPU devices
[    11.709] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    11.722] (==) FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/TTF/,
        /usr/share/fonts/OTF/,
        /usr/share/fonts/Type1/,
        /usr/share/fonts/100dpi/,
        /usr/share/fonts/75dpi/
[    11.723] (==) ModulePath set to "/usr/lib64/xorg/modules"
[    11.723] (II) The server relies on udev to provide the list of input 
devices.
        If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[    11.723] (II) Loader magic: 0x55a513135c60
[    11.723] (II) Module ABI versions:
[    11.723]    X.Org ANSI C Emulation: 0.4
[    11.723]    X.Org Video Driver: 24.0
[    11.723]    X.Org XInput driver : 24.1
[    11.723]    X.Org Server Extension : 10.0
[    11.723] (II) xfree86: Adding drm device (/dev/dri/card0)
[    11.739] (--) PCI:*(0@0:2:0) 8086:0166:17aa:21f9 rev 9, Mem @ 
0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x00005000/64, BIOS @ 
0x????????/131072
[    11.739] (II) LoadModule: "glx"
[    11.746] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[    11.760] (II) Module glx: vendor="X.Org Foundation"
[    11.760]    compiled for 1.19.99.901, module version = 1.0.0
[    11.760]    ABI class: X.Org Server Extension, version 10.0
[    11.760] (II) LoadModule: "intel"
[    11.760] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[    11.763] (II) Module intel: vendor="X.Org Foundation"
[    11.763]    compiled for 1.19.99.901, module version = 2.99.917
[    11.763]    Module class: X.Org Video Driver
[    11.763]    ABI class: X.Org Video Driver, version 24.0
[    11.763] (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
[    11.763] (II) intel: Driver for Intel(R) HD Graphics
[    11.763] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[    11.763] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[    11.763] (--) using VT number 7

[    11.763] (EE) 
Fatal server error:
[    11.766] (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission 
denied)
[    11.767] (EE) 
[    11.768] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[    11.773] (EE) Please also check the log file at 
"/home/christoph/.local/share/xorg/Xorg.0.log" for additional information.
[    11.774] (EE) 
[    11.775] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[    11.775] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[    11.775] (EE) Server terminated with error (1). Closing log file.

Reply via email to