You are not logged in.

#1 2022-11-07 09:15:27

pepper
Member
Registered: 2017-12-09
Posts: 135

Lightdm login loop (only for user, not root)

Hello,
I have xfce and I installed lightdm:

pacman -S  lightdm lightdm-gtk-greeter
systemctl enable lightdm

but when I login, ightdm disappears (so  the password is correct), but xfce doesn't show up, then lightdm appears again. The only way to login into xfce is using the root account (in which lightdm works flawlessly)

I put my journalctl sudo journalctl -b | curl -F 'file=@-' 0x0.st here https://0x0.st/oEJv.txt

I also tried to remove Xauthority (https://wiki.archlinux.org/title/LightD … login_loop) but it doesn't solve the problem

Last edited by pepper (2022-11-07 09:22:40)

Offline

#2 2022-11-07 09:38:56

astralc
Member
Registered: 2022-09-17
Posts: 127

Re: Lightdm login loop (only for user, not root)

Are you fully updated, including rebuilding AUR packages you may have?
(you have xfce4-session crashing, returning you to login).

You can try to start xfce without DM, maybe it will output specific error. Or rename XFCE config folder, so you have empty config.

Online

#3 2022-11-07 09:52:48

pepper
Member
Registered: 2017-12-09
Posts: 135

Re: Lightdm login loop (only for user, not root)

everything is just installed without errors, all updated, in fact the first login in lightdm was ok, then I installed gufw, zsh and a couple of simple software but after a reboot it doesn't login anymore using my user account.
I suppose it's not a DM problem because I can login using root account

Offline

#4 2022-11-07 10:02:24

astralc
Member
Registered: 2022-09-17
Posts: 127

Re: Lightdm login loop (only for user, not root)

It is not the DM, it is xfce4-session, so you need to investigate in this direction.
(because root work, I suspect you may changed something that xfce doesn't like in your user, so delete/rename user xfce config)

Online

#5 2022-11-07 10:18:23

pepper
Member
Registered: 2017-12-09
Posts: 135

Re: Lightdm login loop (only for user, not root)

is there a single file for xfce config? it seems not

xorg log: https://0x0.st/oEyN.txt
error output executing startx from TTY: https://0x0.st/oEyT.jpg

Last edited by pepper (2022-11-07 10:31:22)

Offline

#6 2022-11-07 11:28:12

astralc
Member
Registered: 2022-09-17
Posts: 127

Re: Lightdm login loop (only for user, not root)

Online

#7 2022-11-07 12:32:57

pepper
Member
Registered: 2017-12-09
Posts: 135

Re: Lightdm login loop (only for user, not root)

folders renamed, rebooted, the problem is the same

Last edited by pepper (2022-11-07 12:33:12)

Offline

#8 2022-11-07 13:30:39

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

Re: Lightdm login loop (only for user, not root)

startx fails because you have neither a custom xinitrc, nor xterm - but that's not relevant to your problem anyway.

xfce4-session crashes:

nov 07 09:48:12 mulo systemd-coredump[1308]: Process 1281 (xfce4-session) of user 1000 dumped core.
                                             
…
                                             Module xfce4-session with build-id 4875adabec8d148f972ad99571f45dbb52ab94a7
                                             Stack trace of thread 1281:
                                             #0  0x0000556d14336290 xfsm_manager_get_shutdown_type (xfce4-session + 0x25290)
                                             #1  0x0000556d1432912c n/a (xfce4-session + 0x1812c)
                                             #2  0x00007f669d4c4cac n/a (libgio-2.0.so.0 + 0x100cac)
                                             #3  0x00007f669d4ccb22 n/a (libgio-2.0.so.0 + 0x108b22)
                                             #4  0x00007f669d469dd4 n/a (libgio-2.0.so.0 + 0xa5dd4)
                                             #5  0x00007f669d46da8d n/a (libgio-2.0.so.0 + 0xa9a8d)
                                             #6  0x00007f669d4cb883 n/a (libgio-2.0.so.0 + 0x107883)
                                             #7  0x00007f669d469dd4 n/a (libgio-2.0.so.0 + 0xa5dd4)
                                             #8  0x00007f669d469e0d n/a (libgio-2.0.so.0 + 0xa5e0d)
                                             #9  0x00007f669d27987b g_main_context_dispatch (libglib-2.0.so.0 + 0x5587b)
                                             #10 0x00007f669d2d0279 n/a (libglib-2.0.so.0 + 0xac279)
                                             #11 0x00007f669d278ddf g_main_loop_run (libglib-2.0.so.0 + 0x54ddf)
                                             #12 0x00007f669da99e9f gtk_main (libgtk-3.so.0 + 0x1d8e9f)
                                             #13 0x0000556d14323177 main (xfce4-session + 0x12177)
                                             #14 0x00007f669d059290 n/a (libc.so.6 + 0x23290)
                                             #15 0x00007f669d05934a __libc_start_main (libc.so.6 + 0x2334a)
                                             #16 0x0000556d143233ce _start (xfce4-session + 0x123ce)
                                             
                                             Stack trace of thread 1295:
                                             #0  0x00007f669d1310bf __poll (libc.so.6 + 0xfb0bf)
                                             #1  0x00007f669d2d01df n/a (libglib-2.0.so.0 + 0xac1df)
                                             #2  0x00007f669d278ddf g_main_loop_run (libglib-2.0.so.0 + 0x54ddf)
                                             #3  0x00007f669d4ce33c n/a (libgio-2.0.so.0 + 0x10a33c)
                                             #4  0x00007f669d2a6e05 n/a (libglib-2.0.so.0 + 0x82e05)
                                             #5  0x00007f669d0bc8fd n/a (libc.so.6 + 0x868fd)
                                             #6  0x00007f669d13ea60 n/a (libc.so.6 + 0x108a60)
                                             
                                             Stack trace of thread 1294:
                                             #0  0x00007f669d1310bf __poll (libc.so.6 + 0xfb0bf)
                                             #1  0x00007f669d2d01df n/a (libglib-2.0.so.0 + 0xac1df)
                                             #2  0x00007f669d278132 g_main_context_iteration (libglib-2.0.so.0 + 0x54132)
                                             #3  0x00007f669d278182 n/a (libglib-2.0.so.0 + 0x54182)
                                             #4  0x00007f669d2a6e05 n/a (libglib-2.0.so.0 + 0x82e05)
                                             #5  0x00007f669d0bc8fd n/a (libc.so.6 + 0x868fd)
                                             #6  0x00007f669d13ea60 n/a (libc.so.6 + 0x108a60)
                                             
                                             Stack trace of thread 1296:
                                             #0  0x00007f669d1367fd syscall (libc.so.6 + 0x1007fd)
                                             #1  0x00007f669d2c9ad7 g_cond_wait_until (libglib-2.0.so.0 + 0xa5ad7)
                                             #2  0x00007f669d247893 n/a (libglib-2.0.so.0 + 0x23893)
                                             #3  0x00007f669d2ac6cb n/a (libglib-2.0.so.0 + 0x886cb)
                                             #4  0x00007f669d2a6e05 n/a (libglib-2.0.so.0 + 0x82e05)
                                             #5  0x00007f669d0bc8fd n/a (libc.so.6 + 0x868fd)
                                             #6  0x00007f669d13ea60 n/a (libc.so.6 + 0x108a60)
                                             ELF object binary architecture: AMD x86-64

https://gitlab.xfce.org/xfce/xfce4-session/-/issues/54

https://bugzilla.redhat.com/show_bug.cgi?id=1648880 points to a permission problem

stat ~davide
sudo find ~davide \! -user davide -print

Offline

#9 2022-11-08 04:56:16

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: Lightdm login loop (only for user, not root)

Probably not the problem, but possibly a problem:

[    51.071] (EE) AIGLX error: dlopen of /usr/lib/dri/i965_dri.so failed (/usr/lib/dri/i965_dri.so: cannot open shared object file: No such file or directory)
[    51.072] (EE) AIGLX error: unable to load driver i965

[Asides: Why do you have video drivers installed for X which you don't need? Also, your mirror list is not being updated because you have an error in reflector's configuration.]

Last edited by cfr (2022-11-08 05:11:57)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#10 2022-11-08 07:29:08

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

Re: Lightdm login loop (only for user, not root)

The bigger problem in the xorg log is the resulting

[    51.098] (II) IGLX: Loaded and initialized swrast
[    51.098] (II) GLX: Initialized DRISWRAST GL provider for screen 0

=> drop the xf86-video-intel pacakge.

Since the OP can login as root, I'd though be surprised if the insufficient GL was the problem here (maybe if the users session relies on some GL heavy feature that's not enabled in the root session?)

Offline

Board footer

Powered by FluxBB