You are not logged in.

#1 2018-07-15 03:31:35

dev0drps
Member
Registered: 2018-07-15
Posts: 5

Receiving an error when trying to startx

Hi All,

I am receiving an error when I run the startx command. Everything was running fine prior to trying to configure my touch-pad according to the Arch Wiki:

https://wiki.archlinux.org/index.php/Libinput

After a reboot my laptop was no longer launching into lightdm. It was dropping me halfway to a shell and freezing. I disabled lightdm from running at startup and now when I try to initiate startx I am seeing error referencing an error parsing /etc/X11/xorg.conf.d/40-lininput.conf.

[  6176.528] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[  6176.528] 
X.Org X Server 1.20.0
X Protocol Version 11, Revision 0
[  6176.528] Build Operating System: Linux Arch Linux
[  6176.528] Current Operating System: Linux sys76-gazelle 4.17.5-1-ARCH #1 SMP PREEMPT Sun Jul 8 17:27:31 UTC 2018 x86_64
[  6176.528] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=/dev/mapper/VolGroup00-lvolroot rw cryptdevice=/dev/sda3:VolGroup00 resume=/dev/VolGroup00/lvolswap quiet acpi_os_name=Linux acpi_osi=
[  6176.528] Build Date: 18 June 2018  03:12:37PM
[  6176.528]  
[  6176.528] Current version of pixman: 0.34.0
[  6176.528] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  6176.528] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  6176.528] (==) Log file: "/home/daniel/.local/share/xorg/Xorg.0.log", Time: Sat Jul 14 21:31:45 2018
[  6176.528] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  6176.528] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  6176.529] Parse error on line 1 of section InputClass in file /etc/X11/xorg.conf.d/40-libinput.conf
	"Section" is not a valid keyword in this section.
[  6176.529] (EE) Problem parsing the config file
[  6176.529] (EE) Error parsing the config file
[  6176.529] (EE) 
Fatal server error:
[  6176.529] (EE) no screens found(EE) 
[  6176.529] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  6176.529] (EE) Please also check the log file at "/home/daniel/.local/share/xorg/Xorg.0.log" for additional information.
[  6176.529] (EE) 
[  6176.529] (EE) Server terminated with error (1). Closing log file.

I'm able to find similar issues with starting X related to "no screens found" but nothing in particular to:

[  6176.528] (==) Log file: "/home/daniel/.local/share/xorg/Xorg.0.log", Time: Sat Jul 14 21:31:45 2018
[  6176.528] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  6176.528] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  6176.529] Parse error on line 1 of section InputClass in file /etc/X11/xorg.conf.d/40-libinput.conf
    "Section" is not a valid keyword in this section.

I reviewed the Arch Wiki for libinput.conf but I am confused as to how my touchpad could cause the (EE) no screens found(EE) error. Seems like a issue with video driver. I did copy the 40-libinput.conf from /usr/share/X11/xorg.conf.d to /etc/X11/xorg.conf.d thinking that maybe the original file would revert any thing that I may have screwed up. Unfortunately that didn't help and now I am not sure if what was in /usr/share/X11/xorg.conf.d is the original now. sad

I am reviewing the Xorg documentation in the Arch Wiki now to see if there is any thing that may help but I was hoping for some suggestions.

Thanks in advance,

Offline

#2 2018-07-15 03:34:20

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Receiving an error when trying to startx

Paste the config (in code tags).


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-07-15 03:49:39

dev0drps
Member
Registered: 2018-07-15
Posts: 5

Re: Receiving an error when trying to startx

Here is the 40-libinput.conf file:

Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection 

Section "InputClass"
        Identifier "libinput keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Offline

#4 2018-07-15 03:57:44

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Receiving an error when trying to startx

What are the other files in that xorg.conf.d directory? Please paste the one that is parsed immediately prior to this one.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2018-07-15 04:20:19

dev0drps
Member
Registered: 2018-07-15
Posts: 5

Re: Receiving an error when trying to startx

In /etc/X11/xorg.conf.d there is only one other file: 30-touchpad.conf

Section "InputClass"
    Identifier "SynPS/2 Synaptics TouchPad"
    Driver "libinput"
    MatchIsTouchpad "on"
    Option "TapButton1" "1"
    Option "TapButton2" "3"
    Option "TapButton3" "2"

@$#!, while looking at this file I noticed that the "EndSection" is missing.

So I just fixed that and now there is a new set of errors coming from startx. I am going to Google this, but, for your reference here is the new issue that is presented. It looks like there is some video card errors.

[ 15516.038] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[ 15516.038] 
X.Org X Server 1.20.0
X Protocol Version 11, Revision 0
[ 15516.038] Build Operating System: Linux Arch Linux
[ 15516.038] Current Operating System: Linux sys76-gazelle 4.17.5-1-ARCH #1 SMP PREEMPT Sun Jul 8 17:27:31 UTC 2018 x86_64
[ 15516.038] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=/dev/mapper/VolGroup00-lvolroot rw cryptdevice=/dev/sda3:VolGroup00 resume=/dev/VolGroup00/lvolswap quiet acpi_os_name=Linux acpi_osi=
[ 15516.038] Build Date: 18 June 2018  03:12:37PM
[ 15516.038]  
[ 15516.039] Current version of pixman: 0.34.0
[ 15516.039] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[ 15516.039] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 15516.039] (==) Log file: "/home/daniel/.local/share/xorg/Xorg.0.log", Time: Sun Jul 15 00:07:25 2018
[ 15516.039] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 15516.039] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 15516.042] (==) No Layout section.  Using the first Screen section.
[ 15516.042] (==) No screen section available. Using defaults.
[ 15516.042] (**) |-->Screen "Default Screen Section" (0)
[ 15516.042] (**) |   |-->Monitor "<default monitor>"
[ 15516.043] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[ 15516.043] (==) Automatically adding devices
[ 15516.043] (==) Automatically enabling devices
[ 15516.043] (==) Automatically adding GPU devices
[ 15516.043] (==) Automatically binding GPU devices
[ 15516.043] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 15516.045] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 15516.045] 	Entry deleted from font path.
[ 15516.045] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 15516.045] 	Entry deleted from font path.
[ 15516.046] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[ 15516.046] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 15516.046] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 15516.046] (II) Module ABI versions:
[ 15516.046] 	X.Org ANSI C Emulation: 0.4
[ 15516.046] 	X.Org Video Driver: 24.0
[ 15516.046] 	X.Org XInput driver : 24.1
[ 15516.046] 	X.Org Server Extension : 10.0
[ 15516.048] (++) using VT number 1

[ 15516.051] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c2
[ 15516.053] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 15516.054] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[ 15516.058] (--) PCI:*(0@0:2:0) 8086:591b:1558:8509 rev 4, Mem @ 0xde000000/16777216, 0xa0000000/536870912, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[ 15516.058] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 15516.058] (II) LoadModule: "glx"
[ 15516.058] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 15516.070] (II) Module glx: vendor="X.Org Foundation"
[ 15516.070] 	compiled for 1.20.0, module version = 1.0.0
[ 15516.070] 	ABI class: X.Org Server Extension, version 10.0
[ 15516.070] (==) Matched intel as autoconfigured driver 0
[ 15516.070] (==) Matched modesetting as autoconfigured driver 1
[ 15516.070] (==) Matched fbdev as autoconfigured driver 2
[ 15516.070] (==) Matched vesa as autoconfigured driver 3
[ 15516.070] (==) Assigned the driver to the xf86ConfigLayout
[ 15516.070] (II) LoadModule: "intel"
[ 15516.070] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 15516.076] (II) Module intel: vendor="X.Org Foundation"
[ 15516.076] 	compiled for 1.20.0, module version = 2.99.917
[ 15516.076] 	Module class: X.Org Video Driver
[ 15516.076] 	ABI class: X.Org Video Driver, version 24.0
[ 15516.076] (II) LoadModule: "modesetting"
[ 15516.076] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 15516.079] (II) Module modesetting: vendor="X.Org Foundation"
[ 15516.079] 	compiled for 1.20.0, module version = 1.20.0
[ 15516.079] 	Module class: X.Org Video Driver
[ 15516.079] 	ABI class: X.Org Video Driver, version 24.0
[ 15516.079] (II) LoadModule: "fbdev"
[ 15516.080] (WW) Warning, couldn't open module fbdev
[ 15516.080] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 15516.080] (II) LoadModule: "vesa"
[ 15516.080] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 15516.081] (II) Module vesa: vendor="X.Org Foundation"
[ 15516.081] 	compiled for 1.20.0, module version = 2.4.0
[ 15516.081] 	Module class: X.Org Video Driver
[ 15516.081] 	ABI class: X.Org Video Driver, version 24.0
[ 15516.081] (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
[ 15516.082] (II) intel: Driver for Intel(R) HD Graphics
[ 15516.082] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 15516.082] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 15516.082] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 15516.082] (II) VESA: driver for VESA chipsets: vesa
[ 15516.082] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[ 15516.083] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20180308
[ 15516.083] (II) intel(0): SNA compiled from 2.99.917-831-ge7bfc906
[ 15516.099] (WW) Falling back to old probe method for modesetting
[ 15516.099] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 15516.100] (--) intel(0): gen9 engineering sample
[ 15516.100] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 4 threads
[ 15516.100] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[ 15516.100] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 15516.100] (==) intel(0): RGB weight 888
[ 15516.100] (==) intel(0): Default visual is TrueColor
[ 15516.102] (II) intel(0): Output eDP1 has no monitor section
[ 15516.103] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
[ 15516.103] (II) intel(0): Enabled output eDP1
[ 15516.103] (II) intel(0): Output DP1 has no monitor section
[ 15516.103] (II) intel(0): Enabled output DP1
[ 15516.103] (II) intel(0): Output HDMI1 has no monitor section
[ 15516.104] (II) intel(0): Enabled output HDMI1
[ 15516.104] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[ 15516.104] (II) intel(0): Output VIRTUAL1 has no monitor section
[ 15516.104] (II) intel(0): Enabled output VIRTUAL1
[ 15516.104] (--) intel(0): Output eDP1 using initial mode 1920x1080 on pipe 0
[ 15516.104] (==) intel(0): TearFree disabled
[ 15516.104] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[ 15516.104] (==) intel(0): DPI set to (96, 96)
[ 15516.104] (II) Loading sub module "dri3"
[ 15516.104] (II) LoadModule: "dri3"
[ 15516.104] (II) Module "dri3" already built-in
[ 15516.104] (II) Loading sub module "dri2"
[ 15516.104] (II) LoadModule: "dri2"
[ 15516.104] (II) Module "dri2" already built-in
[ 15516.104] (II) Loading sub module "present"
[ 15516.104] (II) LoadModule: "present"
[ 15516.104] (II) Module "present" already built-in
[ 15516.104] (II) UnloadModule: "modesetting"
[ 15516.104] (II) Unloading modesetting
[ 15516.105] (II) UnloadModule: "vesa"
[ 15516.105] (II) Unloading vesa
[ 15516.108] (II) intel(0): SNA initialized with Kabylake (gen9) backend
[ 15516.108] (==) intel(0): Backing store enabled
[ 15516.108] (==) intel(0): Silken mouse disabled
[ 15516.108] (II) intel(0): HW Cursor enabled
[ 15516.108] (==) intel(0): DPMS enabled
[ 15516.108] (==) intel(0): Display hotplug detection enabled
[ 15516.109] (II) intel(0): [DRI2] Setup complete
[ 15516.109] (II) intel(0): [DRI2]   DRI driver: i965
[ 15516.109] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[ 15516.109] (II) intel(0): direct rendering: DRI2 DRI3 enabled
[ 15516.109] (II) intel(0): hardware support for Present enabled
[ 15516.109] (II) Initializing extension Generic Event Extension
[ 15516.109] (II) Initializing extension SHAPE
[ 15516.109] (II) Initializing extension MIT-SHM
[ 15516.109] (II) Initializing extension XInputExtension
[ 15516.109] (II) Initializing extension XTEST
[ 15516.109] (II) Initializing extension BIG-REQUESTS
[ 15516.109] (II) Initializing extension SYNC
[ 15516.109] (II) Initializing extension XKEYBOARD
[ 15516.109] (II) Initializing extension XC-MISC
[ 15516.109] (II) Initializing extension SECURITY
[ 15516.109] (II) Initializing extension XFIXES
[ 15516.109] (II) Initializing extension RENDER
[ 15516.109] (II) Initializing extension RANDR
[ 15516.109] (II) Initializing extension COMPOSITE
[ 15516.109] (II) Initializing extension DAMAGE
[ 15516.109] (II) Initializing extension MIT-SCREEN-SAVER
[ 15516.109] (II) Initializing extension DOUBLE-BUFFER
[ 15516.109] (II) Initializing extension RECORD
[ 15516.109] (II) Initializing extension DPMS
[ 15516.109] (II) Initializing extension Present
[ 15516.109] (II) Initializing extension DRI3
[ 15516.109] (II) Initializing extension X-Resource
[ 15516.109] (II) Initializing extension XVideo
[ 15516.109] (II) Initializing extension XVideo-MotionCompensation
[ 15516.109] (II) Initializing extension GLX
[ 15516.168] (II) AIGLX: Loaded and initialized i965
[ 15516.168] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 15516.168] (II) Initializing extension XFree86-VidModeExtension
[ 15516.168] (II) Initializing extension XFree86-DGA
[ 15516.168] (II) Initializing extension XFree86-DRI
[ 15516.168] (II) Initializing extension DRI2
[ 15516.175] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[ 15516.185] (II) intel(0): Setting screen physical size to 508 x 285
[ 15516.236] (EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/evdev
[ 15516.236] (EE) XKB: Failed to load keymap. Loading default keymap instead.
[ 15516.236] (EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/evdev
[ 15516.236] XKB: Failed to compile keymap
[ 15516.236] Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
[ 15516.236] (EE) 
Fatal server error:
[ 15516.236] (EE) Failed to activate virtual core keyboard: 2(EE) 
[ 15516.236] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[ 15516.236] (EE) Please also check the log file at "/home/daniel/.local/share/xorg/Xorg.0.log" for additional information.
[ 15516.236] (EE) 
[ 15516.236] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 15516.272] (EE) Server terminated with error (1). Closing log file.

Offline

#6 2018-07-15 04:22:32

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Receiving an error when trying to startx

[ 15516.236] (EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/evdev
[ 15516.236] (EE) XKB: Failed to load keymap. Loading default keymap instead.
[ 15516.236] (EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/evdev
[ 15516.236] XKB: Failed to compile keymap
[ 15516.236] Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
[ 15516.236] (EE) 
Fatal server error:
[ 15516.236] (EE) Failed to activate virtual core keyboard: 2(EE) 

That's the relevant error...

┌─[Shiv ~]
└─╼ pacman -Fo /usr/share/X11/xkb/rules/evdev                                                                                                                 
usr/share/X11/xkb/rules/evdev is owned by extra/xkeyboard-config 2.23.1-3

Please paste your full pacman.log


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2018-07-15 05:04:22

dev0drps
Member
Registered: 2018-07-15
Posts: 5

Re: Receiving an error when trying to startx

Hi Jason,

So I was looking at the pacman call you made:

pacman -Fo /usr/share/X11/xkb/rules/evdev                                                                                                                 
usr/share/X11/xkb/rules/evdev is owned by extra/xkeyboard-config 2.23.1-3

When I ran the same call with -Fo I received a message:

warning: database file for.... core, extra, community, multilib-testing, archlinuxfr, does not exist user. pacman -Fy to download.

So I ran pacman -Fy and it synced those package databases. With that said here is a link to my pacman.log. I felt it is to big to paste here.

https://etc.nyc3.digitaloceanspaces.com … pacman.log

I am a little confused as to what that means.

Offline

#8 2018-07-15 05:05:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Receiving an error when trying to startx

That log link is broken. Use one of the paste sites recommended on the wiki: https://wiki.archlinux.org/index.php/Li … in_clients


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2018-07-15 05:26:51

dev0drps
Member
Registered: 2018-07-15
Posts: 5

Re: Receiving an error when trying to startx

Sorry,

I forgot to make it public.

Also here is link from a recommended site on the link you provided:

http://codepad.org/eAj5w1Z7

Offline

#10 2018-07-15 05:38:28

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Receiving an error when trying to startx

[2018-07-01 14:05] [PACMAN] Running 'pacman -Syy'
[2018-07-01 14:05] [PACMAN] synchronizing package lists
[2018-07-01 14:30] [PACMAN] Running 'pacman -S xorg-xrdb'

Do NOT do partial upgrades, it breaks things.

[2018-07-01 02:44] [ALPM] installed xkeyboard-config (2.24-1)

So it is installed, but is broken in some way. Check with `pacman -Qk xkeyboard-config`.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB