You are not logged in.

#1 2024-05-08 05:35:05

Joey5403
Member
Registered: 2024-01-04
Posts: 5

[SOLVED]cannot login since last update.

cannot auto-login & manual login since last update.
I try other display managers like gdm sddm lightdm all fail.
I try add another user cannot login too.
only root user can normally login in display manager.


this is journalctl -b
https://0x0.st/X8AP.txt


this is recently update packages.
https://0x0.st/X8AR.txt

here is lightdm logs.
https://0x0.st/X8jR.txt

Last edited by Joey5403 (2024-05-09 09:49:34)

Offline

#2 2024-05-08 07:36:29

seth
Member
Registered: 2012-09-03
Posts: 52,269

Re: [SOLVED]cannot login since last update.

May 08 10:11:36 ponderV systemd-logind[869]: New session 1 of user joey.
May 08 10:11:36 ponderV systemd[1]: Started Session 1 of User joey.
May 08 10:11:37 ponderV systemd-logind[869]: Session 1 logged out. Waiting for processes to exit.
May 08 10:11:37 ponderV systemd-logind[869]: Removed session 1.

You log in, but immediately log out, ie. the session fails.
1. Check you lightdm log in /var/log
2. Can you log in on the console (TTY2)?
3. What is your GUI session (I see kwallet and gkr, but also i3…

Unrelated remarks:
1. Don't log into GUI sessions as root
2. root doesn't have to sudo as root wink
3. Recently this cool new technology "hyprl1nk" was introduced, so when you post a URL, you don't have to copy the contents of the URL here. One can just click this "hyprl1nk" and the browser will instantly show the content of that URL tongue

Offline

#3 2024-05-09 02:32:10

Joey5403
Member
Registered: 2024-01-04
Posts: 5

Re: [SOLVED]cannot login since last update.

seth wrote:
May 08 10:11:36 ponderV systemd-logind[869]: New session 1 of user joey.
May 08 10:11:36 ponderV systemd[1]: Started Session 1 of User joey.
May 08 10:11:37 ponderV systemd-logind[869]: Session 1 logged out. Waiting for processes to exit.
May 08 10:11:37 ponderV systemd-logind[869]: Removed session 1.

You log in, but immediately log out, ie. the session fails.
1. Check you lightdm log in /var/log
2. Can you log in on the console (TTY2)?
3. What is your GUI session (I see kwallet and gkr, but also i3…

Unrelated remarks:
1. Don't log into GUI sessions as root
2. root doesn't have to sudo as root wink
3. Recently this cool new technology "hyprl1nk" was introduced, so when you post a URL, you don't have to copy the contents of the URL here. One can just click this "hyprl1nk" and the browser will instantly show the content of that URL tongue

thx for your help.
1. Here is lightdm logs
https://0x0.st/X8jR.txt
2. I can log in on the console and now i use ly as display manager it works well.
3. My default GUI session is i3.

after many test i found maybe is an xorg start error:
Here is the xorg log when i use startx to load i3.
https://0x0.st/X8ec.txt

Last edited by Joey5403 (2024-05-09 03:57:43)

Offline

#4 2024-05-09 06:31:01

seth
Member
Registered: 2012-09-03
Posts: 52,269

Re: [SOLVED]cannot login since last update.

[   111.089] (EE) modeset(0): drmSetMaster failed: Permission denied

Please post your xinitrc and see the last link below.

nb. that ly systematically breaks logind integration and the session bus, https://github.com/fairyglade/ly/issues … issue+dbus

[+1.83s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+1.83s] DEBUG: Session pid=5300: Started with service 'lightdm-autologin', username 'joey'
[+1.86s] DEBUG: Session pid=5300: Authentication complete with return value 0: Success
[+1.87s] DEBUG: Seat seat0: Session authenticated, running command
[+1.87s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+1.87s] DEBUG: Session pid=5300: Running command /etc/lightdm/Xsession i3
[+1.87s] DEBUG: Creating shared data directory /var/lib/lightdm-data/joey
[+1.87s] DEBUG: Session pid=5300: Logging to .xsession-errors
[+1.90s] DEBUG: Activating VT 7
[+1.90s] DEBUG: Activating login1 session 9
[+1.90s] DEBUG: Seat seat0 changes active session to 9
[+1.90s] DEBUG: Session 9 is already active
[+1.92s] DEBUG: Session pid=5300: Exited with return value 1

Can you still log into an openbox session?
Do you get i3 backtraces in your system journal or https://wiki.archlinux.org/title/Core_d … _core_dump ?

Offline

#5 2024-05-09 09:53:52

Joey5403
Member
Registered: 2024-01-04
Posts: 5

Re: [SOLVED]cannot login since last update.

seth wrote:
[   111.089] (EE) modeset(0): drmSetMaster failed: Permission denied

Please post your xinitrc and see the last link below.

nb. that ly systematically breaks logind integration and the session bus, https://github.com/fairyglade/ly/issues … issue+dbus

[+1.83s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+1.83s] DEBUG: Session pid=5300: Started with service 'lightdm-autologin', username 'joey'
[+1.86s] DEBUG: Session pid=5300: Authentication complete with return value 0: Success
[+1.87s] DEBUG: Seat seat0: Session authenticated, running command
[+1.87s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+1.87s] DEBUG: Session pid=5300: Running command /etc/lightdm/Xsession i3
[+1.87s] DEBUG: Creating shared data directory /var/lib/lightdm-data/joey
[+1.87s] DEBUG: Session pid=5300: Logging to .xsession-errors
[+1.90s] DEBUG: Activating VT 7
[+1.90s] DEBUG: Activating login1 session 9
[+1.90s] DEBUG: Seat seat0 changes active session to 9
[+1.90s] DEBUG: Session 9 is already active
[+1.92s] DEBUG: Session pid=5300: Exited with return value 1

Can you still log into an openbox session?
Do you get i3 backtraces in your system journal or https://wiki.archlinux.org/title/Core_d … _core_dump ?

after a lot of reading in wiki, and reinstall.
I fix the xinit start.
then i find an start error in .xsession-errors
there some acme.sh source in my .profile but i recently rm the file.

#. "/home/joey/.acme.sh/acme.sh.env"

it fixed after i comment the source.

Last edited by Joey5403 (2024-05-09 09:54:27)

Offline

Board footer

Powered by FluxBB