You are not logged in.

#1 2022-09-24 13:46:46

bope
Member
Registered: 2012-12-08
Posts: 17

[SOLVED] Sudden Lightdm issue

Hello, after a long time smile

In short: suddenly, when I reboot and get my usual LightDm login screen, I can't login anymore! I type my username, password and after pressing enter - password input box just keeps blinking (so, it's not stuck!) regardless if password is correct or not.

The problem: I don't tend to turn off or reboot my laptop so often. Once in 10 days perhaps. I usually just put it on sleep and ofc i do install updates every day. So I really have no idea what change might have triggered this. I noticed it yesterday. During the day i received Arch announcement that python2 will be removed from repos so I got an idea to actually delete all my locally installed Python2 packages (there were like 30 of them). After that i rebooted and voila: Lightdm won't let me in anymore.

What I tried so far:
1) First i installed lxdm. On login screen i switched to TTY2, logged in, typed:

"sudo systemctl stop lightdm"

and

"sudo systemctl start lxdm"

LXDM showed up and i managed to login normally. So the problem is up to LightDm

2) Reinstalled all python2 packages I removed. Problem persisted

3) Reinstalled PAM just in case, problem persisted

4) Went to Arch Wiki for LightDm, went through it. As per "LightDM freezes on login attempt" i reinstalled gdk-pixbuf2 and did

#gdk-pixbuf-query-loaders --update-cache

. Problem persisted

5) Reinstalled LightDm, problem persisted ofc.

6) Turned on "debug mode" in LightDm Settings and then found something interesting in /var/log/lightdm:
a) File "seat0-greeter.log" contained this:

(WebKitWebProcess:3556): GLib-WARNING **: 15:29:03.785: ../glib/glib/giounix.c:412Error while getting flags for FD: Bad file descriptor (9)
(WebKitWebProcess:3556): GLib-WARNING **: 15:29:03.785: Invalid file descriptor.
** (WebKitWebProcess:3556): CRITICAL **: 15:29:04.069: lightdm_greeter_ensure_shared_data_dir_sync: assertion 'priv->connected' failed
** (WebKitWebProcess:3556): CRITICAL **: 15:29:07.403: lightdm_greeter_authenticate: assertion 'priv->connected' failed

b) File lightdm.log seemed pretty normal (notice that I tried to login, then stopped Lighdm service manually):

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.32.0, UID=0 PID=1762
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+1.13s] DEBUG: Monitoring logind for seats
[+1.13s] DEBUG: New seat added from logind: seat0
[+1.13s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+1.13s] DEBUG: Seat seat0 has property CanMultiSession=no
[+1.13s] DEBUG: Seat seat0: Starting
[+1.13s] DEBUG: Seat seat0: Creating greeter session
[+1.13s] DEBUG: Seat seat0: Creating display server of type x
[+1.13s] DEBUG: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+1.13s] DEBUG: Using VT 7
[+1.13s] DEBUG: Seat seat0: Starting local X display on VT 7
[+1.13s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+1.13s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+1.13s] DEBUG: XServer 0: Launching X Server
[+1.13s] DEBUG: Launching process 2098: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+1.13s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+1.13s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+1.13s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+1.21s] DEBUG: Loading users from org.freedesktop.Accounts
[+1.21s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+2.67s] DEBUG: Got signal 10 from process 2098
[+2.67s] DEBUG: XServer 0: Got signal from X server :0
[+2.67s] DEBUG: XServer 0: Connecting to XServer :0
[+2.80s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+2.80s] DEBUG: Session pid=3452: Started with service 'lightdm-greeter', username 'lightdm'
[+2.82s] DEBUG: Session pid=3452: Authentication complete with return value 0: Success
[+2.82s] DEBUG: Seat seat0: Session authenticated, running command
[+2.82s] DEBUG: Session pid=3452: Running command /usr/bin/lightdm-webkit2-greeter
[+2.82s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+2.82s] DEBUG: Session pid=3452: Logging to /var/log/lightdm/seat0-greeter.log
[+3.02s] DEBUG: Activating VT 7
[+3.02s] DEBUG: Activating login1 session c1
[+3.02s] DEBUG: Seat seat0 changes active session to c1
[+3.02s] DEBUG: Session c1 is already active
[+12.59s] DEBUG: Seat seat0 changes active session to 
[+16.52s] DEBUG: Seat seat0 changes active session to 2
[+23.85s] DEBUG: Seat seat0 changes active session to 
[+28.95s] DEBUG: Seat seat0 changes active session to 2
[+29.20s] DEBUG: Seat seat0 changes active session to 
[+30.61s] DEBUG: Seat seat0 changes active session to 2
[+34.45s] DEBUG: Seat seat0 changes active session to 
[+35.62s] DEBUG: Seat seat0 changes active session to 2
[+39.70s] DEBUG: Seat seat0 changes active session to 
[+41.01s] DEBUG: Seat seat0 changes active session to 2
[+44.50s] DEBUG: Got signal 15 from process 1
[+44.50s] DEBUG: Caught Terminated signal, shutting down
[+44.50s] DEBUG: Stopping display manager
[+44.50s] DEBUG: Seat seat0: Stopping
[+44.50s] DEBUG: Seat seat0: Stopping display server
[+44.50s] DEBUG: Sending signal 15 to process 2098
[+44.50s] DEBUG: Seat seat0: Stopping session
[+44.50s] DEBUG: Terminating login1 session c1
[+44.50s] DEBUG: Session pid=3452: Sending SIGTERM
[+44.51s] DEBUG: Greeter closed communication channel
[+44.51s] DEBUG: Session pid=3452: Exited with return value 1
[+44.51s] DEBUG: Seat seat0: Session stopped
[+44.54s] DEBUG: Process 2098 exited with return value 0
[+44.54s] DEBUG: XServer 0: X server stopped
[+44.54s] DEBUG: Releasing VT 7
[+44.54s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
[+44.54s] DEBUG: Seat seat0: Display server stopped
[+44.54s] DEBUG: Seat seat0: Stopped
[+44.54s] DEBUG: Display manager stopped
[+44.54s] DEBUG: Stopping daemon
[+44.54s] DEBUG: Exiting with return value 0

Do you know what else I should try? I think logs from "seat0-greeter.log" are important but i'm not sure which lib to reinstall in order to fix that :\
Did anyone had any similar issue?


P.S. Might be important - I have logs of light-locker dumping core:

Process 5027 (light-locker) of user 1000 dumped core.

Module linux-vdso.so.1 with build-id f7714272211882ce0c201f61fdde178e0a74d697
Module libgvfscommon.so with build-id 2cfa9a05d5e376857a2dacaf4893238a88eefb9e
Module libgvfsdbus.so with build-id f6f918ab413a1eaaa77134863653c4382b7cf8de
Module libogg.so.0 with build-id ca0cae30a809f10db1f16e54a23b4e5ff7b2c54c
Module libvorbis.so.0 with build-id f4e086347f6c1a66eb73cfe13974a29bd39aabca
Module libltdl.so.7 with build-id 6a619e7b85ea9702e595881863bc9e599565e8a0
Module libtdb.so.1 with build-id f2bdb5ac97b6addf2026d93b08c8d15defcd9bb8
Module libvorbisfile.so.3 with build-id 45d2551167a616d448beb033ba49394831992887
Module libcanberra.so.0 with build-id 8ddef69c9b84a86062c88a59510639cd908fc6d3
Module libcanberra-gtk3.so.0 with build-id 2e99c78f79bea4bc67ccd9a9f8fed562f89599ee
Module libcanberra-gtk-module.so with build-id cc626937222c6ce3f7bb45dbe6e862d0b1efba01
Module libpthread.so.0 with build-id 3954d7fd57fa4db438d0ccdd8e2c6f7cc97c2e46
Module libgthread-2.0.so.0 with build-id f7e6281007d729cf447eb36cf4eb28b5ff9dfc02
Module libxfconf-0.so.3 with build-id 05a5980d778faaf25bba2d27249e359b41a796eb
Module libxfconfgsettingsbackend.so with build-id 8ce01e731b1120543da65b897c044ac6073f4b2b
Module libdconfsettings.so with build-id 7a4ba7af122c4d11168004a9ea6def330f02089f
Module libbrotlicommon.so.1 with build-id acfd597a977c8087bb6184383daae2e828a9ce42
Module libstdc++.so.6 with build-id 735a3d0cc7699fd69337361cba4aedb644b2a7ed
Module libicudata.so.71 with build-id 4fef196388e678deb881978139e125e20ee2d94d
Module libgpg-error.so.0 with build-id 4738b8a9478177c202cccd64e0eb65d3dea2bfae
Module libblkid.so.1 with build-id fb2c5d3c17aac74758a3eb80a2bc1c16bcf183b1
Module libbrotlidec.so.1 with build-id 66c54e9301f7e102ecc1d88547e5f0e8a056fe22
Module libbz2.so.1.0 with build-id 919597c477c9b2cb9cdbb7745ed6494ac0e6da60
Module libdatrie.so.1 with build-id 6fe3b6ece2c8e7d11869fa051375128d8f808f58
Module libxml2.so.2 with build-id 49868de417eee9052facae410a866ebfbd5cceb8
Module libjson-glib-1.0.so.0 with build-id 58decebd2c409d59b07f926ae4c513281918bc4d
Module libsqlite3.so.0 with build-id 9af0762dc0b9aa82565f566ef69424a8e4af58da
Module libicui18n.so.71 with build-id 6fd5c97fd2808ee29958bf809656d5885e7e8963
Module libicuuc.so.71 with build-id 633fdc0c5385d916571f6140e7a978ad0630ef55
Module libstemmer.so.0 with build-id 013b48e71279a5ec55e3021fc0bd8fb10a08bae5
Module libatspi.so.0 with build-id 87bca381f073faea3b0ffd1ab06f5f8f204e24cf
Module libtiff.so.5 with build-id 62a8aefb339c3cbe35d1089c66c527a7b090804c
Module libjpeg.so.8 with build-id 46dfd8b2cbe8a10d13cd3182a7b490d0959534f9
Module libexpat.so.1 with build-id 113bb5a3e9ad856801bfcfc029102c9bdc13d67e
Module libgraphite2.so.3 with build-id ce58945ebb55b86d3a4e717b6eae29efc4720d8e
Module libXdmcp.so.6 with build-id d864159ab0008415667db8d5f251696d75c90df2
Module libXau.so.6 with build-id d9d5e8277140f1a86d3a07d9b52b1703c0a2f9a8
Module ld-linux-x86-64.so.2 with build-id e7420ab1d031e8b3fa3a6916ae2fd0c3b58f6fdb
Module libgcc_s.so.1 with build-id 85db482c4585a328d95ec41124337a967bb24d8f
Module liblz4.so.1 with build-id 84ea95d811dad359e94e100ebe6a746294ffe8a7
Module libzstd.so.1 with build-id ab54c2881f53ab314e134f3e08c76d504376dd5d
Module liblzma.so.5 with build-id d08f5868cd5adcc6b7c53bf1725aac65bd4539cd
Module libgcrypt.so.20 with build-id 8bf3cb884124273640de797a3e77d86c98434ea4
Module libcap.so.2 with build-id 1f87347b85b55db2f75a2ecea5cb45d846dc7093
Module libmount.so.1 with build-id 9064fc3620c42e6f7aed38119f0a3ec39fca9a37
Module libpixman-1.so.0 with build-id d2170a3ac106c2a68597bf7910ab04b1cdd69c14
Module libxcb-shm.so.0 with build-id 828fec4d856e2710e732ea8d92c3f250c807b1c2
Module libxcb-render.so.0 with build-id b1ca498d665807ab0ccdafbe8070853efd058173
Module libXrender.so.1 with build-id 42e386d2acf3cde61081959d9671ca74acfb3edc
Module libfreetype.so.6 with build-id f89dd5502e75aca28fb5c3ccd0dbd26fe822bfef
Module libpng16.so.16 with build-id 02c4999c53aec7a308c16167cbc5ccd8dc0085e7
Module libz.so.1 with build-id fefe3219a96d682ec98fcfb78866b8594298b5a2
Module libthai.so.0 with build-id a7ac5010b4275c49308021200d23690533952702
Module libXinerama.so.1 with build-id 8198240259261b612189e89c9fcfc902b025b382
Module libXrandr.so.2 with build-id 154e55f082ee9e685d0794c98c5b76ffe9c8868e
Module libXcomposite.so.1 with build-id 13228d108b290268d88510db494daefd5521cda0
Module libXdamage.so.1 with build-id a99dbe3fc2b01da9fbdd90d5ad00621f9022379f
Module libXcursor.so.1 with build-id f0525ae3715ac95f96a8cdb44795b03f831334b0
Module libwayland-egl.so.1 with build-id dd02a2af320297e68308cc698f75828529271a57
Module libwayland-cursor.so.0 with build-id 46a637dbcbb02d6712a201f177377b66598b9121
Module libwayland-client.so.0 with build-id 515c72111400d7bdbfbdfcec78d597e4986a5943
Module libxkbcommon.so.0 with build-id 6cf66eead3fcc20fe5df10162bfbcdcdc8b2a183
Module libXfixes.so.3 with build-id 0a05c7e8714522bfbdd7c0027c3e2a94965664b0
Module libtracker-sparql-3.0.so.0 with build-id 75ab4f2e3b5c479b5c4fc62793bf398ee28f4ab7
Module libcloudproviders.so.0 with build-id ed1d9c9e60be4e858ad148484767249be1edf95f
Module libatk-bridge-2.0.so.0 with build-id 1161ebbcc5aa791075dfa026671875e5417287bd
Module libXi.so.6 with build-id 16603be937a02a7e61b0b0395d064be7efd86f49
Module libm.so.6 with build-id 2c8ff1d29b255da5b7371efd5caf57444d622838
Module libepoxy.so.0 with build-id edc178a150c4255d124e1e1ecbdbecebd1a388cd
Module libatk-1.0.so.0 with build-id c2de8b4fcbd9681cef225fe3956a9608a2a664bb
Module libgdk_pixbuf-2.0.so.0 with build-id b2822dc16bd1470683ce421978ad142c4f3c3f89
Module libcairo-gobject.so.2 with build-id 9927090dddfb180365695a8f37d1cac89463f109
Module libfribidi.so.0 with build-id fe9f35ac2a0074108c8306c517793f7279bd9b37
Module libfontconfig.so.1 with build-id 36be6951b8c1e42a7dd05684a37400fc8ef9147c
Module libpangoft2-1.0.so.0 with build-id 007c5a54e838e649215b740df9568e4d4c9c6507
Module libharfbuzz.so.0 with build-id 0083e085bcb9cb3869e5cb05fbcd9736c41434ab
Module libgmodule-2.0.so.0 with build-id 95ec7a190858206b2eaba22e06b126e4a4449200
Module libxcb.so.1 with build-id 13d677412a71468381b11092915d231f664d18d3
Module libpcre2-8.so.0 with build-id 5869df08fec815af1537f9ca1f0733e3f5fac742
Module libffi.so.8 with build-id f0a9586cf0f42d2b9971bd1065ca3a6b19f4a2c2
Module libc.so.6 with build-id 26c81e7e05ebaf40bac3523b7d76be0cd71fad82
Module libsystemd.so.0 with build-id a664cbc6b724392704b96360284c40664d8d4c99
Module libgio-2.0.so.0 with build-id 804d947f8cb14bbbbf97e8bf2f93fd17b744e719
Module libcairo.so.2 with build-id a222d042e56108d2786ece7bf291b56ba2069591
Module libpango-1.0.so.0 with build-id bdcd807766c7b943b1ba1a00343adf73799e3f83
Module libpangocairo-1.0.so.0 with build-id 68bcb6fe10c46cb09c7228206e4dbb7e3940fd34
Module libgdk-3.so.0 with build-id 4a9a6d5ddd18f22c56c05773208f8808cefacab6
Module libgtk-3.so.0 with build-id 48baf44dfd4d51f8c2b81d852eb44de692c16b19
Module libXss.so.1 with build-id a3b819a932d6eb2b4fbfd0c6bd77242ef14e7366
Module libXext.so.6 with build-id 17beadf1cb40d41ab36629db3b4eed74110678a7
Module libX11.so.6 with build-id 21e886e968772b7964d646f54c1faecc56734de9
Module libglib-2.0.so.0 with build-id 3ef8f9239c93af698703b12c5c6738fe0129eaa7
Module libgobject-2.0.so.0 with build-id 21be3c1edeb1d35957a244f7f3467cbba62f35a4
Module libdbus-1.so.3 with build-id 7f4b16b4b407cbae2d7118d6f99610e29a18a56a
Module libdbus-glib-1.so.2 with build-id 9b483ffff76251ff057e007a0b960bff84ce34a8
Module light-locker with build-id c965faf0b9b80fafa2990b2cdf78010738bc40c6
Stack trace of thread 5027:
#0  0x00007f56fa880fe8 g_log_structured_array (libglib-2.0.so.0 + 0x5cfe8)
#1  0x00007f56fa881623 g_log_default_handler (libglib-2.0.so.0 + 0x5d623)
#2  0x00007f56fa882785 g_logv (libglib-2.0.so.0 + 0x5e785)
#3  0x00007f56fa882a34 g_log (libglib-2.0.so.0 + 0x5ea34)
#4  0x0000564c76ce4836 n/a (light-locker + 0xb836)
#5  0x00007f56fa99e749 g_type_create_instance (libgobject-2.0.so.0 + 0x3d749)
#6  0x00007f56fa985540 n/a (libgobject-2.0.so.0 + 0x24540)
#7  0x00007f56fa986d70 g_object_new_with_properties (libgobject-2.0.so.0 + 0x25d70)
#8  0x00007f56fa987b6a g_object_new (libgobject-2.0.so.0 + 0x26b6a)
#9  0x0000564c76ce6010 n/a (light-locker + 0xd010)
#10 0x00007f56fa99e749 g_type_create_instance (libgobject-2.0.so.0 + 0x3d749)
#11 0x00007f56fa985540 n/a (libgobject-2.0.so.0 + 0x24540)
#12 0x00007f56fa986d70 g_object_new_with_properties (libgobject-2.0.so.0 + 0x25d70)
#13 0x00007f56fa987b6a g_object_new (libgobject-2.0.so.0 + 0x26b6a)
#14 0x0000564c76cdf372 n/a (light-locker + 0x6372)
#15 0x00007f56f97f5290 n/a (libc.so.6 + 0x23290)
#16 0x00007f56f97f534a __libc_start_main (libc.so.6 + 0x2334a)
#17 0x0000564c76cdfbe5 n/a (light-locker + 0x6be5)

Stack trace of thread 5040:
#0  0x00007f56f98cce5f __poll (libc.so.6 + 0xfae5f)
#1  0x00007f56fa8cfe2f n/a (libglib-2.0.so.0 + 0xabe2f)
#2  0x00007f56fa8780d2 g_main_context_iteration (libglib-2.0.so.0 + 0x540d2)
#3  0x00007f56faa66ebe n/a (libdconfsettings.so + 0x5ebe)
#4  0x00007f56fa8a6c55 n/a (libglib-2.0.so.0 + 0x82c55)
#5  0x00007f56f985874d n/a (libc.so.6 + 0x8674d)
#6  0x00007f56f98da700 n/a (libc.so.6 + 0x108700)

Stack trace of thread 5041:
#0  0x00007f56f98cce5f __poll (libc.so.6 + 0xfae5f)
#1  0x00007f56fa8cfe2f n/a (libglib-2.0.so.0 + 0xabe2f)
#2  0x00007f56fa878d7f g_main_loop_run (libglib-2.0.so.0 + 0x54d7f)
#3  0x00007f56f9ba023c n/a (libgio-2.0.so.0 + 0x10a23c)
#4  0x00007f56fa8a6c55 n/a (libglib-2.0.so.0 + 0x82c55)
#5  0x00007f56f985874d n/a (libc.so.6 + 0x8674d)
#6  0x00007f56f98da700 n/a (libc.so.6 + 0x108700)

Stack trace of thread 5039:
#0  0x00007f56f98cce5f __poll (libc.so.6 + 0xfae5f)
#1  0x00007f56fa8cfe2f n/a (libglib-2.0.so.0 + 0xabe2f)
#2  0x00007f56fa8780d2 g_main_context_iteration (libglib-2.0.so.0 + 0x540d2)
#3  0x00007f56fa878122 n/a (libglib-2.0.so.0 + 0x54122)
#4  0x00007f56fa8a6c55 n/a (libglib-2.0.so.0 + 0x82c55)
#5  0x00007f56f985874d n/a (libc.so.6 + 0x8674d)
#6  0x00007f56f98da700 n/a (libc.so.6 + 0x108700)
ELF object binary architecture: AMD x86-64

Last edited by bope (2022-09-30 11:51:20)

Offline

#2 2022-09-24 14:01:24

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

Re: [SOLVED] Sudden Lightdm issue

https://bbs.archlinux.org/viewtopic.php?id=279862

Also please wrap your post in code tags, https://bbs.archlinux.org/help.php#bbcode and search before posting - this is been all over the board the last few days.

Offline

#3 2022-09-24 14:08:02

bope
Member
Registered: 2012-12-08
Posts: 17

Re: [SOLVED] Sudden Lightdm issue

Ooooh! Thanks so much mate, i'll go through posts. I was Googling based on errors i saw in logs, found nothing and already became sure it's a problem with just my config!

P.S.
Post wrapped in code.

Offline

#4 2022-09-24 14:17:55

bope
Member
Registered: 2012-12-08
Posts: 17

Re: [SOLVED] Sudden Lightdm issue

For the record:

After going through the URL Seth posted, I first tried using slick greeter instead of the Webkit one, all was good! Then I downgraded webkit2gtk to 2.36.7 and all was ok even with Webkit greeter.

Thanks Seth and everyone involved in solving this issue smile

Offline

#5 2022-09-30 10:02:03

imMurPh
Member
Registered: 2022-09-30
Posts: 3

Re: [SOLVED] Sudden Lightdm issue

had the same issue and this helped me thanks!

Offline

#6 2022-09-30 11:48:52

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] Sudden Lightdm issue

bope, please remember to mark your thread [SOLVED] (edit the title of your first post).

Offline

#7 2022-09-30 11:51:43

bope
Member
Registered: 2012-12-08
Posts: 17

Re: [SOLVED] Sudden Lightdm issue

@2ManyDogs - done

Offline

Board footer

Powered by FluxBB