You are not logged in.

#1 2017-07-19 15:29:05

goldenretriever
Member
Registered: 2017-07-18
Posts: 5

[SOLVED] Can't boot with sddm or lightdm

A couple of days ago, I was no longer able to boot with sddm. I tried installing lightdm and had the same issue. I have install gdm and that is working for me. I have included the journal entries for both sddm and lightdm as well as the dump file for sddm. I would appreciate any help in getting this resolved. This may be unrelated, but I was also getting a cudaGetDeviceCount unknown error before sddm stopped working and now that I'm using gdm, I no longer have this issue.

Jul 18 14:47:31 ArchMSI sddm-helper[510]: [PAM] Starting...
Jul 18 14:47:31 ArchMSI sddm-helper[510]: [PAM] Authenticating...
Jul 18 14:47:31 ArchMSI sddm-helper[510]: [PAM] returning.
Jul 18 14:47:31 ArchMSI sddm[501]: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
Jul 18 14:47:31 ArchMSI sddm[501]: Display server started.
Jul 18 14:47:31 ArchMSI sddm[501]: Socket server starting...
Jul 18 14:47:31 ArchMSI sddm[501]: Socket server started.
Jul 18 14:47:31 ArchMSI sddm[501]: Greeter starting...
Jul 18 14:47:31 ArchMSI sddm[501]: Adding cookie to "/var/run/sddm/{e8f5ea03-197a-43f4-81b6-c9078c3d470f}"
Jul 18 14:47:31 ArchMSI sddm[501]: /usr/bin/xauth: (stdin):1:  bad "remove" command line
Jul 18 14:47:31 ArchMSI sddm[501]: /usr/bin/xauth: (stdin):2:  bad "add" command line
Jul 18 14:47:31 ArchMSI sddm[501]: QProcess: Destroyed while process ("/usr/lib/sddm/sddm-helper") is still running.
Jul 18 14:48:55 ArchMSI systemd[1]: Starting Light Display Manager...
Jul 18 14:48:55 ArchMSI systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Jul 18 14:48:55 ArchMSI systemd[1]: Failed to start Light Display Manager.
Jul 18 14:48:55 ArchMSI systemd[1]: lightdm.service: Unit entered failed state.
Jul 18 14:48:55 ArchMSI systemd[1]: lightdm.service: Failed with result 'exit-code'.
Jul 18 14:48:55 ArchMSI systemd[1]: lightdm.service: Service hold-off time over, scheduling restart.
Jul 18 14:48:55 ArchMSI systemd[1]: Stopped Light Display Manager.
Jul 18 14:48:55 ArchMSI systemd[1]: lightdm.service: Start request repeated too quickly.
Jul 18 14:48:55 ArchMSI systemd[1]: Failed to start Light Display Manager.
Jul 18 14:48:55 ArchMSI systemd[1]: lightdm.service: Unit entered failed state.
Jul 18 14:48:55 ArchMSI systemd[1]: lightdm.service: Failed with result 'exit-code'.
Jul 18 15:20:27 ArchMSI systemd-coredump[513]: Process 496 (sddm) of user 0 dumped core.
                                               
                                               Stack trace of thread 496:
                                               #0  0x00007ff94d591a07 n/a (libgpg-error.so.0)
                                               
                                               Stack trace of thread 497:
                                               #0  0x00007ff94ed6fe9d poll (libc.so.6)
                                               #1  0x00007ff94bb19c09 n/a (libglib-2.0.so.0)
                                               #2  0x00007ff94bb19d1c g_main_context_iteration (libglib-2.0.so.0)
                                               #3  0x00007ff94f8bb061 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                               #4  0x00007ff94f85effb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                               #5  0x00007ff94f67840e _ZN7QThread4execEv (libQt5Core.so.5)
                                               #6  0x00007ff95065e396 n/a (libQt5DBus.so.5)
                                               #7  0x00007ff94f67d15b n/a (libQt5Core.so.5)
                                               #8  0x00007ff94ea75049 start_thread (libpthread.so.0)
                                               #9  0x00007ff94ed79f0f __clone (libc.so.6)

Last edited by goldenretriever (2017-07-19 20:04:50)

Offline

#2 2017-07-19 15:47:17

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,784

Re: [SOLVED] Can't boot with sddm or lightdm

First, Welcome to the Arch Linux Forums.

Second, on these forms, we ask that when you post program output, you surround them in BBCode code tags.   Please edit and fix your post.
https://bbs.archlinux.org/help.php#bbcode
That link is also below every message postbox for your convenience

Third, the root cause seems to have to do with gpg libraries.  Let's start with verifying that your system is fully up to date.  Have you run pacman -Syu  ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2017-07-19 17:57:03

goldenretriever
Member
Registered: 2017-07-18
Posts: 5

Re: [SOLVED] Can't boot with sddm or lightdm

Thank you for the quick reply and I apologize about the incorrect formatting earlier. My system was up to date when this problem happen and I just updated again. The problem is still occurring. How were you able to determine it was the gpg librairies? And why would it only affect lightdm and sddm?

Last edited by goldenretriever (2017-07-19 17:57:23)

Offline

#4 2017-07-19 18:45:56

loqs
Member
Registered: 2014-03-06
Posts: 17,362

Re: [SOLVED] Can't boot with sddm or lightdm

                                               #0  0x00007ff94d591a07 n/a (libgpg-error.so.0)
$ pacman -Qo /usr/lib/libgpg-error.so.0
/usr/lib/libgpg-error.so.0 is owned by libgpg-error 1.27-1

Lightdm appears somewhat different to me in that it is not crashing,  please post the log file /var/log/lightdm/lightdm.log also the contents of /var/log/Xorg.0.log

Offline

#5 2017-07-19 19:01:49

goldenretriever
Member
Registered: 2017-07-18
Posts: 5

Re: [SOLVED] Can't boot with sddm or lightdm

Here is the lightdm.log

[+0.37s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.37s] DEBUG: Starting Light Display Manager 1.22.0, UID=0 PID=1632
[+0.37s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.37s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.37s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.37s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.37s] DEBUG: Registered seat module local
[+0.37s] DEBUG: Registered seat module xremote
[+0.37s] DEBUG: Registered seat module unity
[+0.37s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.38s] DEBUG: Monitoring logind for seats
[+0.38s] DEBUG: New seat added from logind: seat0
[+0.38s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.38s] DEBUG: Seat seat0: Starting
[+0.38s] DEBUG: Seat seat0: Creating greeter session
[+0.38s] DEBUG: Seat seat0: Failed to find session configuration lightdm-gtk-greeter
[+0.38s] DEBUG: Seat seat0: Failed to create greeter session
[+0.38s] DEBUG: Failed to start seat: seat0

Xorg.0.log

[    82.234] (--) Log file renamed from "/var/log/Xorg.pid-1565.log" to "/var/log/Xorg.0.log"
[    82.235] 
X.Org X Server 1.19.3
Release Date: 2017-03-15
[    82.235] X Protocol Version 11, Revision 0
[    82.235] Build Operating System: Linux 4.9.11-1-ARCH x86_64 
[    82.235] Current Operating System: Linux ArchMSI 4.11.9-1-ARCH #1 SMP PREEMPT Wed Jul 5 18:23:08 CEST 2017 x86_64
[    82.235] Kernel command line: initrd=\initramfs-linux.img root=UUID=4d080e27-608b-4b78-b84f-36752146df9d rw
[    82.235] Build Date: 07 April 2017  05:42:48PM
[    82.235]  
[    82.235] Current version of pixman: 0.34.0
[    82.235] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    82.235] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    82.235] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul 19 13:47:28 2017
[    82.235] (==) Using config file: "/etc/X11/xorg.conf"
[    82.235] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    82.236] (==) ServerLayout "Layout0"
[    82.236] (**) |-->Screen "Screen0" (0)
[    82.236] (**) |   |-->Monitor "Monitor0"
[    82.236] (**) |   |-->Device "Device0"
[    82.236] (**) |-->Input Device "Keyboard0"
[    82.236] (**) |-->Input Device "Mouse0"
[    82.236] (==) Automatically adding devices
[    82.236] (==) Automatically enabling devices
[    82.236] (==) Automatically adding GPU devices
[    82.236] (==) Automatically binding GPU devices
[    82.236] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    82.236] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    82.236] 	Entry deleted from font path.
[    82.236] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[    82.236] 	Entry deleted from font path.
[    82.236] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[    82.236] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[    82.236] 	Entry deleted from font path.
[    82.236] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[    82.236] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/
[    82.236] (==) ModulePath set to "/usr/lib/xorg/modules"
[    82.236] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    82.236] (WW) Disabling Keyboard0
[    82.236] (WW) Disabling Mouse0
[    82.236] (II) Loader magic: 0x822d60
[    82.236] (II) Module ABI versions:
[    82.236] 	X.Org ANSI C Emulation: 0.4
[    82.236] 	X.Org Video Driver: 23.0
[    82.236] 	X.Org XInput driver : 24.1
[    82.236] 	X.Org Server Extension : 10.0
[    82.238] (++) using VT number 1

[    82.238] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    82.239] (II) xfree86: Adding drm device (/dev/dri/card0)
[    82.249] (--) PCI:*(0:0:2:0) 8086:191b:1462:11ad rev 6, Mem @ 0xdd000000/16777216, 0x70000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[    82.249] (--) PCI: (0:1:0:0) 10de:1c20:1462:11ad rev 161, Mem @ 0xde000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[    82.249] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    82.250] (II) LoadModule: "glx"
[    82.250] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    82.252] (II) Module glx: vendor="X.Org Foundation"
[    82.252] 	compiled for 1.19.3, module version = 1.0.0
[    82.252] 	ABI class: X.Org Server Extension, version 10.0
[    82.252] (II) LoadModule: "nvidia"
[    82.252] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    82.252] (II) Module nvidia: vendor="NVIDIA Corporation"
[    82.252] 	compiled for 4.0.2, module version = 1.0.0
[    82.252] 	Module class: X.Org Video Driver
[    82.252] (II) NVIDIA dlloader X Driver  381.22  Wed May  3 23:53:41 PDT 2017
[    82.252] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    82.273] (EE) No devices detected.
[    82.273] (EE) 
Fatal server error:
[    82.273] (EE) no screens found(EE) 
[    82.273] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    82.273] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    82.273] (EE) 
[    82.339] (EE) Server terminated with error (1). Closing log file.

I have never had a problem with nvidia-smi detecting my graphics card. I am running bumblebee.

Last edited by goldenretriever (2017-07-19 19:11:15)

Offline

#6 2017-07-19 19:03:04

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

Re: [SOLVED] Can't boot with sddm or lightdm

Don't truncate logs like that. If you are asked for a log, post the full log: https://bbs.archlinux.org/viewtopic.php?id=57855


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2017-07-19 19:16:26

goldenretriever
Member
Registered: 2017-07-18
Posts: 5

Re: [SOLVED] Can't boot with sddm or lightdm

That was an unintentional mistake on my part. I have updated Xorg.0.log.

Offline

#8 2017-07-19 19:20:10

loqs
Member
Registered: 2014-03-06
Posts: 17,362

Re: [SOLVED] Can't boot with sddm or lightdm

[+0.38s] DEBUG: Seat seat0: Failed to find session configuration lightdm-gtk-greeter

LightDM#Greeter

[    82.235] (==) Using config file: "/etc/X11/xorg.conf"

What is the contents of that file?

goldenretriever wrote:

I am running bumblebee

Bumblebee#Installation

...be sure to remove /etc/X11/xorg.conf or the conf file in /etc/X11/xorg.conf.d related to the discrete graphics card.

Offline

#9 2017-07-19 20:00:40

goldenretriever
Member
Registered: 2017-07-18
Posts: 5

Re: [SOLVED] Can't boot with sddm or lightdm

Thanks for the help. I moved xorg.conf to a backup file and that fixed both sddm and lightdm. I didn't think to check with bumblebee since it has been running since I installed arch.

Offline

Board footer

Powered by FluxBB