You are not logged in.

#1 2020-06-28 11:05:31

raphaelkabo
Member
Registered: 2020-06-28
Posts: 2

Every so often, LightDM fails to start on boot

I'm using lightdm with lightdm-slick-greeter and Xfce, and I've got a recurring issue where, without any apparent pattern, lightdm sometimes fails to start on boot. Usually, it will then start normally after a reboot; switching to a different TTY, logging in, and running 'startxfce4' works as well. But I'd like to get to the bottom of this issue as it's quite annoying!

Here are my boot logs from the latest boot (when this happened) - I can see that lightdm starts and stops repeatedly: https://gist.github.com/lowercasename/8 … 52929b2000

Here's my lightdm.conf with the commented lines removed:

[LightDM]
run-directory=/run/lightdm
[Seat:*]
greeter-session=lightdm-slick-greeter
session-wrapper=/etc/lightdm/Xsession

And here's my slick-greeter.conf:

[Greeter]
background=/storage/Nextcloud/Images/Wallpapers/glimmer-wallpaper-stars-dim.png
draw-grid=true
draw-user-backgrounds=false
font-name=Clear Sans
only-on-monitor=-1

I'm not sure if this is related, but trying to solve an issue where I would get a black screen resuming from sleep, I have replaced /usr/bin/light-locker with the following:

#!/bin/sh

# The light-locker uses XDG_SESSION_PATH provided by lightdm.
if [ ! -z "${XDG_SESSION_PATH}" ]; then
  /usr/bin/light-locker.orig
else
  # Disable light-locker in XRDP.
  startxfce4
  true
fi

Let me know if I can supply anything else!

Offline

#2 2020-06-28 11:15:47

Awebb
Member
Registered: 2010-05-06
Posts: 5,560

Re: Every so often, LightDM fails to start on boot

Offline

#3 2020-06-28 12:57:39

seth
Member
Registered: 2012-09-03
Posts: 16,257

Re: Every so often, LightDM fails to start on boot

Jun 28 11:25:53 glimmer systemd[1]: lightdm.service: Failed with result 'exit-code'.
Jun 28 11:25:53 glimmer systemd[1]: Failed to start Light Display Manager.
…
Jun 28 11:25:54 glimmer kernel: [drm] amdgpu kernel modesetting enabled.
Jun 28 11:25:54 glimmer kernel: Parsing CRAT table with 1 nodes
Jun 28 11:25:54 glimmer kernel: Creating topology SYSFS entries
Jun 28 11:25:54 glimmer kernel: Topology: Add APU node [0x0:0x0]
Jun 28 11:25:54 glimmer kernel: Finished initializing topology
Jun 28 11:25:54 glimmer kernel: checking generic (c0000000 7f0000) vs hw (c0000000 10000000)
Jun 28 11:25:54 glimmer kernel: fb0: switching to amdgpudrmfb from EFI VGA
Jun 28 11:25:54 glimmer kernel: Console: switching to colour dummy device 80x25
Jun 28 11:25:54 glimmer kernel: amdgpu 0000:06:00.0: vgaarb: deactivate vga console
Jun 28 11:25:54 glimmer kernel: amdgpu 0000:06:00.0: enabling device (0006 -> 0007)
Jun 28 11:25:54 glimmer kernel: [drm] initializing kernel modesetting (RAVEN 0x1002:0x15D8 0x17AA:0x5125 0xD2).
…

https://wiki.archlinux.org/index.php/Li … TTY_output
You might get away with https://wiki.archlinux.org/index.php/Ke … _KMS_start

Offline

#4 2020-06-28 17:49:44

raphaelkabo
Member
Registered: 2020-06-28
Posts: 2

Re: Every so often, LightDM fails to start on boot

Oh, fantastic, it looks like early KMS start has solved it - I'll mark this solved in a few days if I don't see the error return. Thank you!

It's funny, I saw that note on the LightDM wiki page, but didn't connect "LightDM service is started before your graphics drivers are properly loaded" with "therefore the TTY will hang". I just thought, "huh, I guess that doesn't sound ideal..."

Offline

Board footer

Powered by FluxBB