Skip to main content
Topic: LightDM freezes on login attempt after light-locker (Read 1407 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

LightDM freezes on login attempt after light-locker

hi, when screensaver puts off the screen light-locker lock the session, then, when i try to login, the first attempts fails and prompt the login screen again. its been working in the second try, but now the screen goes black after the second try. I have to switch to tty1 and kill light-locker, then I can still use the desktop but without locker.
reinstall the gdk-pixbuf2 package doesn't work to me.

i use open-rc, dont have OpenRC lightdm init script and i dont know if required.
Code: [Select]
#rc-service xdm status
 status: started

#pgrep -l light
2302 lightdm
2945 lightdm
thank you

Re: LightDM freezes on login attempt after light-locker

Reply #1
i use open-rc, dont have OpenRC lightdm init script and i dont know if required.
Code: [Select]
#rc-service xdm status
 status: started

#pgrep -l light
2302 lightdm
2945 lightdm
thank you
Yes, it is required. Get rid of xdm and xdm-openrc, then install lightdm-openrc, enable and activate the lightdm service, and reboot.

Re: LightDM freezes on login attempt after light-locker

Reply #2


Code: [Select]
pacman -S lightdm-openrc
---ask to remove displaymanager-openrc in conflict, say yes---
rc-update add lightdm default
rc-service lightdm start
reboot

the system is working but, when back after suspend in ram, lightdm prompts the login screen, with the same behavior.
screen goes black and freeze.

dmesg
Code: [Select]
ACPI: PM: Waking up from system sleep state S3
[ 3399.013686] [drm] PCIE GART of 1024M enabled (table at 0x000000F400300000).
[ 3399.013706] amdgpu: smu version 27.24.00
[ 3399.013858] sd 1:0:0:0: [sda] Starting disk
[ 3399.014045] sd 6:0:0:0: [sdb] Starting disk
[ 3399.014097] xhci_hcd 0000:01:00.0: xHC error in resume, USBSTS 0x401, Reinit
[ 3399.014100] usb usb3: root hub lost power or was reset
[ 3399.014102] usb usb4: root hub lost power or was reset
[ 3399.014849] serial 00:04: activated
[ 3399.178811] [drm] UVD initialized successfully.
[ 3399.195862] r8169 0000:03:00.0 eth0: Link is Down
[ 3399.325547] ata3: SATA link down (SStatus 0 SControl 300)
[ 3399.326639] ata4: SATA link down (SStatus 0 SControl 300)
[ 3399.380124] [drm] VCE initialized successfully.
[ 3399.479359] ata7: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 3399.479826] ata7.00: configured for UDMA/133
[ 3399.492942] usb 3-7: reset low-speed USB device number 2 using xhci_hcd
[ 3399.536070] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 3399.539427] ata8: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 3399.556070] ata2.00: configured for UDMA/133
[ 3399.744429] ata8.00: configured for UDMA/100
[ 3400.122889] usb 3-10: reset low-speed USB device number 3 using xhci_hcd
[ 3400.539940] OOM killer enabled.
[ 3400.539944] Restarting tasks ... done.
[ 3400.542090] PM: suspend exit
[ 3400.542147] elogind[1825]: System resumed.
[ 3400.549817] elogind[1825]: New session c2 of user lightdm.
[ 3403.880203] r8169 0000:03:00.0 eth0: Link is Up - 1Gbps/Full - flow control off
[ 3418.578877] elogind[1825]: Removed session c2.
[ 3446.734683] elogind[1825]: New session 2 of user me-myself.
here i am in tty1 with that output
rc-service lightdm restart
and then, dmesg:
Code: [Select]
[ 3922.186482] elogind[1825]: Removed session 1.
[ 3923.192735] elogind[1825]: Existing logind session ID 2 used by new audit session, ignoring.
[ 3923.193015] elogind[1825]: New session c3 of user me-myself.
here again but the old session is lost

Re: LightDM freezes on login attempt after light-locker

Reply #3
the system is working but, when back after suspend in ram,
See here for hints on how to debug suspend issues:

https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate#Troubleshooting
https://01.org/blogs/rzhang/2015/best-practice-debug-linux-suspend/hibernate-issues

TL;DR: It's a Pandora's box of possible issues and solutions, most often having to do with video drivers interaction, but of course having all other possibilities open.

Re: LightDM freezes on login attempt after light-locker

Reply #4
Uninstall light-locker and use the default DE screen locker instead, for e.g. MATE it's mate-screensaver.

Re: LightDM freezes on login attempt after light-locker

Reply #5
Hello,
Quote
the system is working but, when back after suspend in ram, lightdm prompts the login screen, with the same behavior.
screen goes black and freeze.

Same for me.
I also have freezes with LightDM since a couple of days.
I removed light-locker that sort of solved the problem because now no lock program is called.
I have mate-screensaver installed but it will not called after resume from suspend.

Any ideas ?



Code: [Select]
System:
  Kernel: 5.15.32-1-lts x86_64 bits: 64 compiler: gcc v: 11.2.0
    Desktop: MATE 1.26.0 info: mate-panel wm: marco 1.26.0 vt: 7
    dm: LightDM 1.30.0 Distro: Artix Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 20ARS06C00 v: ThinkPad T440s
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 20ARS06C00 v: 0B98401 PRO
    serial: <superuser required> UEFI-[Legacy]: LENOVO v: GJETA4WW (2.54 )
    date: 03/27/2020
Battery:
  ID-1: BAT0 charge: 12.8 Wh (98.5%) condition: 13.0/23.2 Wh (56.0%)
    volts: 12.1 min: 11.1 model: SONY 45N1111 type: Li-poly serial: <filter>
    status: Not charging
  ID-2: BAT1 charge: 11.4 Wh (95.8%) condition: 11.9/23.5 Wh (50.9%)
    volts: 12.4 min: 11.4 model: LGC 45N1127 type: Li-ion serial: <filter>
    status: Not charging
CPU:
  Info: dual core model: Intel Core i7-4600U bits: 64 type: MT MCP
    smt: enabled arch: Haswell rev: 1 cache: L1: 128 KiB L2: 512 KiB L3: 4 MiB
  Speed (MHz): avg: 2121 high: 2163 min/max: 800/3300 cores: 1: 2163
    2: 2096 3: 2095 4: 2132 bogomips: 21550
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Lenovo driver: i915
    v: kernel bus-ID: 00:02.0 chip-ID: 8086:0a16 class-ID: 0300
  Device-2: Lite-On Integrated Camera type: USB driver: uvcvideo
    bus-ID: 2-8:4 chip-ID: 04ca:7035 class-ID: 0e02
  Display: x11 server: X.Org 21.1.3 compositor: marco v: 1.26.0 driver:
    loaded: intel unloaded: fbdev,modesetting,vesa resolution: 1600x900~60Hz
    s-dpi: 96
  OpenGL: renderer: Mesa Intel HD Graphics 4400 (HSW GT2)
    v: 4.6 Mesa 22.0.1 compat-v: 3.1 direct render: Yes
Audio:
  Device-1: Intel Haswell-ULT HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel bus-ID: 00:03.0 chip-ID: 8086:0a0c class-ID: 0403
  Device-2: Intel 8 Series HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel bus-ID: 00:1b.0 chip-ID: 8086:9c20 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.32-1-lts running: yes
  Sound Server-2: sndio v: N/A running: no
  Sound Server-3: JACK v: 1.9.20 running: no
  Sound Server-4: PulseAudio v: 15.0 running: no
  Sound Server-5: PipeWire v: 0.3.49 running: yes
Network:
  Device-1: Intel Ethernet I218-LM vendor: Lenovo ThinkPad X240
    driver: e1000e v: kernel port: 3080 bus-ID: 00:19.0 chip-ID: 8086:155a
    class-ID: 0200
  IF: eth0 state: down mac: <filter>
  Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel bus-ID: 03:00.0
    chip-ID: 8086:08b2 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  IF-ID-1: wwan0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
    bus-ID: 2-7:3 chip-ID: 8087:07dc class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 4 state: up address: <filter>
Drives:
  Local Storage: total: 238.47 GiB used: 198.05 GiB (83.0%)
  ID-1: /dev/sda vendor: Samsung model: MZ7TD256HAFV-000L9 size: 238.47 GiB
    speed: 6.0 Gb/s type: SSD serial: <filter> rev: 2L5Q scheme: MBR
Partition:
  ID-1: / size: 233.66 GiB used: 198.05 GiB (84.8%) fs: ext4 dev: /dev/dm-0
    mapped: luks-ff82d2e4-f194-44a0-825f-1a9c5d7bb18e
Swap:
  ID-1: swap-1 type: file size: 512 MiB used: 0 KiB (0.0%) priority: -2
    file: /.swapfile
Sensors:
  System Temperatures: cpu: 45.0 C mobo: N/A
  Fan Speeds (RPM): fan-1: 2950
Info:
  Processes: 259 Uptime: 4m wakeups: 3 Memory: 11.41 GiB
  used: 1.08 GiB (9.5%) Init: N/A v: N/A rc: OpenRC v: 0.44.10
  runlevel: default Compilers: gcc: 11.2.0 alt: 10 clang: 13.0.1 Packages:
  pacman: 1139 Shell: Bash v: 5.1.16 running-in: mate-terminal inxi: 3.3.12

Code: [Select]
[2022-04-02T01:19:19+0200] [ALPM] upgraded libtiff (4.3.0-1 -> 4.3.0-2)
[2022-04-02T01:19:19+0200] [ALPM] upgraded babl (0.1.90-1 -> 0.1.90-2)
[2022-04-02T01:19:19+0200] [ALPM] upgraded libgcrypt (1.9.4-1 -> 1.10.1-1)
[2022-04-02T01:19:19+0200] [ALPM] upgraded fontconfig (2:2.13.96-1 -> 2:2.14.0-1)
[2022-04-02T01:19:24+0200] [ALPM] upgraded re2 (1:20220201-1 -> 1:20220401-1)
[2022-04-02T01:19:24+0200] [ALPM] upgraded libx11 (1.7.3.1-1 -> 1.7.4-1)
[2022-04-02T01:19:25+0200] [ALPM] upgraded chromium (100.0.4896.60-1 -> 100.0.4896.60-2)
[2022-04-02T01:19:26+0200] [ALPM] upgraded cmake (3.22.3-1 -> 3.23.0-1)
[2022-04-02T01:19:26+0200] [ALPM] upgraded gegl (0.4.36-1 -> 0.4.36-2)
[2022-04-02T01:19:27+0200] [ALPM] upgraded ghostscript (9.55.0-4 -> 9.56.0-1)
[2022-04-02T01:19:27+0200] [ALPM] upgraded libsoup3 (3.0.5-1 -> 3.0.6-1)
[2022-04-02T01:19:28+0200] [ALPM] upgraded gimp (2.10.30-1 -> 2.10.30-2)
[2022-04-02T01:19:28+0200] [ALPM] upgraded groff (1.22.4-6 -> 1.22.4-7)
[2022-04-02T01:19:28+0200] [ALPM] upgraded hwloc (2.7.0-1 -> 2.7.1-1)
[2022-04-02T01:19:28+0200] [ALPM] upgraded lib32-fontconfig (2:2.13.96-1 -> 2:2.14.0-1)
[2022-04-02T01:19:31+0200] [ALPM] upgraded lib32-libgcrypt (1.9.4-1 -> 1.10.1-1)
[2022-04-02T01:19:31+0200] [ALPM] upgraded libmediainfo (21.09-1 -> 22.03-1)
[2022-04-02T01:19:31+0200] [ALPM] upgraded libwpe (1.12.0-1 -> 1.12.0-2)
[2022-04-02T01:19:31+0200] [ALPM] upgraded libxvmc (1.0.12-3.1 -> 1.0.13-1)
[2022-04-02T01:19:31+0200] [ALPM] upgraded mediainfo (21.09-1 -> 22.03-1)
[2022-04-02T01:19:31+0200] [ALPM] upgraded wpebackend-fdo (1.12.0-1 -> 1.12.0-2)
[2022-04-03T02:09:43+0200] [ALPM] upgraded accountsservice (22.08.8-1 -> 22.08.8-2)
[2022-04-03T02:09:43+0200] [ALPM] upgraded freetype2 (2.11.1-1 -> 2.12.0-1)
[2022-04-03T02:09:43+0200] [ALPM] upgraded json-glib (1.6.6-1 -> 1.6.6-2)
[2022-04-03T02:09:43+0200] [ALPM] upgraded librsvg (2:2.54.0-1 -> 2:2.54.0-2)
[2022-04-03T02:09:43+0200] [ALPM] upgraded wayland (1.20.0-1 -> 1.20.0-2)
[2022-04-03T02:09:43+0200] [ALPM] upgraded gcr (3.41.0-1 -> 3.41.0-2)
[2022-04-03T02:09:43+0200] [ALPM] upgraded lib32-freetype2 (2.11.1-1 -> 2.12.0-1)
[2022-04-03T02:09:43+0200] [ALPM] upgraded lib32-krb5 (1.19.2-2 -> 1.19.3-2)
[2022-04-03T02:09:43+0200] [ALPM] upgraded libcanberra (0.30+2+gc0620e4-5 -> 1:0.30+r2+gc0620e4-1)
[2022-04-03T02:09:43+0200] [ALPM] upgraded libical (3.0.14-1 -> 3.0.14-2)
[2022-04-03T02:09:43+0200] [ALPM] upgraded libinput (1.20.0-1 -> 1.20.0-2)
[2022-04-03T02:09:43+0200] [ALPM] upgraded libnumbertext (1.0.8-1 -> 1.0.9-1)
[2022-04-03T02:09:43+0200] [ALPM] upgraded libstemmer (2.2.0-1 -> 2.2.0-2)
[2022-04-03T02:09:43+0200] [ALPM] upgraded webkit2gtk (2.36.0-1 -> 2.36.0-2)
[2022-04-03T02:09:44+0200] [ALPM] upgraded webkit2gtk-4.1 (2.36.0-1 -> 2.36.0-2)
[2022-04-03T02:09:44+0200] [ALPM] upgraded zenity (3.41.0-1 -> 3.42.0-1)
[2022-04-03T20:46:18+0200] [ALPM] upgraded ca-certificates-mozilla (3.76.1-1 -> 3.77-1)
[2022-04-03T20:46:18+0200] [ALPM] upgraded wireless-regdb (2022.02.18-1 -> 2022.02.18-3)
[2022-04-03T20:46:18+0200] [ALPM] upgraded curl (7.82.0-1 -> 7.82.0-2)
[2022-04-03T20:46:18+0200] [ALPM] upgraded nss (3.76.1-1 -> 3.77-1)
[2022-04-03T20:46:18+0200] [ALPM] upgraded perl (5.34.0-3 -> 5.34.1-1)
[2022-04-03T20:46:19+0200] [ALPM] upgraded gimp (2.10.30-2 -> 2.10.30-3.1)
[2022-04-03T20:46:19+0200] [ALPM] upgraded jfsutils (1.1.15-7.1 -> 1.1.15-8)
[2022-04-03T20:46:19+0200] [ALPM] upgraded libgnomekbd (3.26.1+2+g8d02ebd-2.1 -> 1:3.26.1+r5+g54da436-1)
[2022-04-03T20:46:19+0200] [ALPM] upgraded mdadm (4.2-1 -> 4.2-2)
[2022-04-03T20:46:19+0200] [ALPM] upgraded perl-html-parser (3.77-1 -> 3.78-1)
[2022-04-05T00:36:37+0200] [ALPM] upgraded expat (2.4.7-1 -> 2.4.8-1)
[2022-04-05T00:36:37+0200] [ALPM] upgraded libx11 (1.7.4-1 -> 1.7.5-1)
[2022-04-05T00:36:37+0200] [ALPM] upgraded cups-filters (1.28.13-1 -> 1.28.14-1)
[2022-04-05T00:36:38+0200] [ALPM] upgraded ghostscript (9.56.0-1 -> 9.56.1-1)
[2022-04-05T00:36:38+0200] [ALPM] upgraded lib32-expat (2.4.7-1 -> 2.4.8-1)
[2022-04-05T00:36:38+0200] [ALPM] upgraded libgee (0.20.5-1 -> 0.20.5-2)
[2022-04-05T00:36:38+0200] [ALPM] upgraded libnumbertext (1.0.9-1 -> 1.0.10-1)
[2022-04-05T00:36:38+0200] [ALPM] upgraded libsndfile (1.0.31-1 -> 1.1.0-2)
[2022-04-05T00:36:38+0200] [ALPM] upgraded libxcursor (1.2.0-2.1 -> 1.2.1-1)
[2022-04-05T00:36:38+0200] [ALPM] upgraded libxnvctrl (510.54-2 -> 510.60.02-1)
[2022-04-05T00:36:38+0200] [ALPM] upgraded luajit (2.1.0.beta3.r395.ge2c312e0-1 -> 2.1.0.beta3.r397.g20aea939-1)
[2022-04-05T00:36:38+0200] [ALPM] upgraded strace (5.16-1 -> 5.17-1)
[2022-04-05T00:36:38+0200] [ALPM] upgraded xorg-setxkbmap (1.3.2-2.1 -> 1.3.3-1)
[2022-04-06T03:27:45+0200] [ALPM] upgraded cairo (1.17.6-1 -> 1.17.6-2)
[2022-04-06T03:27:45+0200] [ALPM] upgraded mesa (22.0.0-1 -> 22.0.1-3)
[2022-04-06T03:27:45+0200] [ALPM] upgraded ffmpeg (2:5.0-5 -> 2:5.0-6)
[2022-04-06T03:27:45+0200] [ALPM] upgraded kmod (29-2 -> 29-3)
[2022-04-06T03:27:45+0200] [ALPM] upgraded nspr (4.33-1 -> 4.33-2)
[2022-04-06T03:27:46+0200] [ALPM] upgraded chromium (100.0.4896.60-2 -> 100.0.4896.75-1)
[2022-04-06T03:27:46+0200] [ALPM] upgraded libsecret (0.20.5-1 -> 0.20.5-2)
[2022-04-06T03:27:46+0200] [ALPM] upgraded libva-mesa-driver (22.0.0-1 -> 22.0.1-3)
[2022-04-06T03:27:46+0200] [ALPM] upgraded vulkan-headers (1:1.3.208-1 -> 1:1.3.211-1)
[2022-04-06T03:27:46+0200] [ALPM] upgraded vulkan-intel (22.0.0-1 -> 22.0.1-3)
[2022-04-06T03:27:46+0200] [ALPM] upgraded vulkan-mesa-layers (22.0.0-1 -> 22.0.1-3)
[2022-04-06T03:27:46+0200] [ALPM] upgraded xf86-video-dummy (0.3.8-5 -> 0.4.0-1)
[2022-04-07T08:16:19+0200] [ALPM] upgraded adwaita-icon-theme (41.0-1 -> 42.0-1)
[2022-04-07T08:16:19+0200] [ALPM] upgraded cpupower (5.16-1 -> 5.17-1)
[2022-04-07T08:16:19+0200] [ALPM] upgraded gjs (2:1.70.2-1 -> 2:1.72.0-1)
[2022-04-07T08:16:19+0200] [ALPM] upgraded gsettings-desktop-schemas (41.0-1 -> 42.0-1)
[2022-04-07T08:16:19+0200] [ALPM] upgraded gnome-bluetooth (3.34.5-2 -> 3.34.5-3)
[2022-04-07T08:16:19+0200] [ALPM] upgraded gnome-sound-recorder (40.0-1 -> 42.0-1)
[2022-04-07T08:16:19+0200] [ALPM] upgraded lib32-libx11 (1.7.3.1-1 -> 1.7.4-1)
[2022-04-07T08:16:19+0200] [ALPM] upgraded libibus (1.5.25-5 -> 1.5.26-2)
[2022-04-07T08:16:20+0200] [ALPM] upgraded linux (5.16.16.artix1-1 -> 5.17.1.artix1-1)
[2022-04-07T08:16:22+0200] [ALPM] upgraded linux-headers (5.16.16.artix1-1 -> 5.17.1.artix1-1)
[2022-04-07T08:16:22+0200] [ALPM] upgraded qt5-wayland (5.15.3+kde+r40-1 -> 5.15.3+kde+r41-1)
[2022-04-08T06:45:40+0200] [ALPM] upgraded gzip (1.11-1 -> 1.12-1)
[2022-04-08T06:45:40+0200] [ALPM] upgraded hwdata (0.357-1 -> 0.358-1)
[2022-04-08T06:45:40+0200] [ALPM] upgraded krb5 (1.19.2-2 -> 1.19.3-1)
[2022-04-08T06:45:40+0200] [ALPM] upgraded xz (5.2.5-2 -> 5.2.5-3)
[2022-04-08T06:45:42+0200] [ALPM] upgraded yelp (41.2-1 -> 42.1-2)
[2022-04-09T08:17:24+0200] [ALPM] upgraded nodejs (17.8.0-1 -> 17.9.0-1)
[2022-04-09T08:17:24+0200] [ALPM] upgraded whois (5.5.12-1 -> 5.5.13-1)
[2022-04-09T08:17:24+0200] [ALPM] upgraded xfsprogs (5.14.2-1 -> 5.15.0-1)
[2022-04-09T08:17:25+0200] [ALPM] upgraded yt-dlp (2022.03.08.1-1 -> 2022.04.08-1)
[2022-04-10T11:02:23+0200] [ALPM] upgraded libffi (3.4.2-4 -> 3.4.2-5)
[2022-04-10T11:02:23+0200] [ALPM] upgraded libva (2.13.0-2 -> 2.14.0-1)
[2022-04-10T11:02:23+0200] [ALPM] upgraded libgpg-error (1.44-1 -> 1.45-1)
[2022-04-10T11:02:24+0200] [ALPM] upgraded chromium (100.0.4896.75-1 -> 100.0.4896.75-2)
[2022-04-10T11:02:24+0200] [ALPM] upgraded lib32-libffi (3.4.2-3.1 -> 3.4.2-4)
[2022-04-10T11:02:24+0200] [ALPM] upgraded lib32-libgpg-error (1.44-1 -> 1.45-1)
[2022-04-10T11:02:24+0200] [ALPM] upgraded libaio (0.3.112-2.1 -> 0.3.112-3)
[2022-04-10T11:02:24+0200] [ALPM] upgraded libarchive (3.6.0-2 -> 3.6.1-1)
[2022-04-10T11:02:24+0200] [ALPM] upgraded wpa_supplicant (2:2.10-3 -> 2:2.10-4)
[2022-04-10T20:06:25+0200] [ALPM] upgraded gtk-update-icon-cache (1:4.6.2-1 -> 1:4.6.2-2)
[2022-04-10T20:06:25+0200] [ALPM] upgraded gtk4 (1:4.6.2-1 -> 1:4.6.2-2)
[2022-04-10T20:06:25+0200] [ALPM] upgraded libmfx (22.1.0-1 -> 22.3.0-1)
[2022-04-10T20:06:26+0200] [ALPM] upgraded xorg-xdpyinfo (1.3.2-4 -> 1.3.3-4)
[2022-04-10T21:07:56+0200] [ALPM] upgraded jre-openjdk-headless (17.0.3.u3-1 -> 18-2)
[2022-04-10T21:07:56+0200] [ALPM] upgraded jre-openjdk (17.0.3.u3-1 -> 18-2)
[2022-04-10T21:07:56+0200] [ALPM] upgraded jdk-openjdk (17.0.3.u3-1 -> 18-2)





 

Re: LightDM freezes on login attempt after light-locker

Reply #6
The mate-screensaver is now kicking in after a reboot.
Problem solved.