You are not logged in.

#1 2020-04-03 22:12:22

f0body
Member
Registered: 2020-01-30
Posts: 15

Xorg Server crashing when launching from DM

I'm running BSPWM on an Xorg server with LY display manager. I edited the bspwm.desktop file to execute startx when I choose bspwm. This was working fine for a while but now Xorg fails to launch when I start this way. The only way for me to get Xorg to launch properly is by entering startx into the direct terminal. When I do this none of my configurations are loaded (doesn't seem that the bspwmrc is being run).

Log file from Xorg:

[    23.619] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[    23.619]
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[    23.619] Build Operating System: Linux Arch Linux
[    23.619] Current Operating System: Linux CKXPS 5.5.13-arch2-1 #1 SMP PREEMPT Mon, 30 Mar 2020 20:42:41 +0000 x86_64
[    23.619] Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img rw luks.uuid=8f08fe6c-bdba-431f-8de0-dd5b057b30b8 luks.name=8f08fe6c-bdba-431f-8de0-dd5b057b30b8=luks root=/dev/mapper/luks rootflags=subvol=@root
[    23.619] Build Date: 30 March 2020  05:05:45AM
[    23.619]
[    23.619] Current version of pixman: 0.38.4
[    23.619] 	Before reporting problems, check [url]http://wiki.x.org[/url]
	to make sure that you have the latest version.
[    23.619] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    23.619] (==) Log file: "/home/conor/.local/share/xorg/Xorg.1.log", Time: Fri Apr  3 22:50:31 2020
[    23.619] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    23.619] (==) No Layout section.  Using the first Screen section.
[    23.619] (==) No screen section available. Using defaults.
[    23.619] (**) |-->Screen "Default Screen Section" (0)
[    23.619] (**) |   |-->Monitor "<default monitor>"
[    23.619] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    23.619] (==) Automatically adding devices
[    23.619] (==) Automatically enabling devices
[    23.619] (==) Automatically adding GPU devices
[    23.619] (==) Automatically binding GPU devices
[    23.619] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    23.619] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    23.619] 	Entry deleted from font path.
[    23.619] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
[    23.619] 	Entry deleted from font path.
[    23.619] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi").
[    23.620] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
[    23.620] 	Entry deleted from font path.
[    23.620] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi").
[    23.620] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF
[    23.620] (==) ModulePath set to "/usr/lib/xorg/modules"
[    23.620] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    23.620] (II) Module ABI versions:
[    23.620] 	X.Org ANSI C Emulation: 0.4
[    23.620] 	X.Org Video Driver: 24.1
[    23.620] 	X.Org XInput driver : 24.1
[    23.620] 	X.Org Server Extension : 10.0
[    23.620] (++) using VT number 2

[    23.621] (EE) systemd-logind: TakeControl failed: Device or resource busy
[    23.621] (II) xfree86: Adding drm device (/dev/dri/card0)
[    23.621] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[    23.623] (--) PCI:*(0@0:2:0) 8086:5916:1028:075b rev 2, Mem @ 0xdb000000/16777216, 0x90000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[    23.623] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    23.623] (II) LoadModule: "glx"
[    23.623] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    23.624] (II) Module glx: vendor="X.Org Foundation"
[    23.624] 	compiled for 1.20.8, module version = 1.0.0
[    23.624] 	ABI class: X.Org Server Extension, version 10.0
[    23.624] (==) Matched intel as autoconfigured driver 0
[    23.624] (==) Matched modesetting as autoconfigured driver 1
[    23.624] (==) Matched fbdev as autoconfigured driver 2
[    23.624] (==) Matched vesa as autoconfigured driver 3
[    23.624] (==) Assigned the driver to the xf86ConfigLayout
[    23.624] (II) LoadModule: "intel"
[    23.624] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    23.624] (II) Module intel: vendor="X.Org Foundation"
[    23.624] 	compiled for 1.20.6, module version = 2.99.917
[    23.624] 	Module class: X.Org Video Driver
[    23.624] 	ABI class: X.Org Video Driver, version 24.0
[    23.624] (II) LoadModule: "modesetting"
[    23.624] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    23.624] (II) Module modesetting: vendor="X.Org Foundation"
[    23.624] 	compiled for 1.20.8, module version = 1.20.8
[    23.624] 	Module class: X.Org Video Driver
[    23.624] 	ABI class: X.Org Video Driver, version 24.1
[    23.624] (II) LoadModule: "fbdev"
[    23.624] (WW) Warning, couldn't open module fbdev
[    23.624] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    23.624] (II) LoadModule: "vesa"
[    23.625] (WW) Warning, couldn't open module vesa
[    23.625] (EE) Failed to load module "vesa" (module does not exist, 0)
[    23.625] (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
[    23.625] (II) intel: Driver for Intel(R) HD Graphics
[    23.625] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[    23.625] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[    23.625] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    23.625] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[    23.625] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20191101
[    23.625] (II) intel(0): SNA compiled from 2.99.917-899-gf66d3954
[    23.625] (WW) Falling back to old probe method for modesetting
[    23.625] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    26.092] (EE) intel(0): [drm] failed to set drm interface version: Permission denied [13].
[    26.092] (EE) intel(0): Failed to claim DRM device.
[    26.092] (II) UnloadModule: "intel"
[    26.092] (EE) Screen(s) found, but none have a usable configuration.
[    26.092] (EE)
Fatal server error:
[    26.092] (EE) no screens found(EE)
[    26.092] (EE)
Please consult the The X.Org Foundation support
	 at [url]http://wiki.x.org[/url]
 for help.
[    26.092] (EE) Please also check the log file at "/home/conor/.local/share/xorg/Xorg.1.log" for additional information.
[    26.092] (EE)
[    26.126] (EE) Server terminated with error (1). Closing log file.

running `bspwm` from terminal:

The server closed the connection: can't parse display string

contents of bspwmrc:

#! /bin/sh

#$HOME/.config/polybar/launch.sh &
sxhkd &

bspc monitor -d 1 2 3 4 5 6 7 8 9

bspc config border_width        3
bspc config window_gap          5

bspc config split_ratio          0.52
bspc config borderless_monocle   true
bspc config gapless_monocle      true

#bspc config top_padding 0

contents of bspwm.desktop:

[Desktop Entry]
Name=bspwm
Comment=Binary space partitioning window manager
Exec=startx
Type=Application

Last edited by f0body (2020-04-03 23:14:35)

Offline

#2 2020-04-03 22:53:21

f0body
Member
Registered: 2020-01-30
Posts: 15

Re: Xorg Server crashing when launching from DM

It seems that despite anything I do the bspwmrc script isn't being run

Last edited by f0body (2020-04-03 23:14:59)

Offline

#3 2020-04-04 07:09:14

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,885

Re: Xorg Server crashing when launching from DM

[    23.621] (EE) systemd-logind: TakeControl failed: Device or resource busy

Ly doesn't look like it requires your to startx, but rather starts X11 itself?

Offline

Board footer

Powered by FluxBB