You are not logged in.

#1 2024-11-01 22:24:40

moshpirit
Member
Registered: 2016-01-13
Posts: 43

[SOLVED] SDDM doesn't let me log in manually

When I start the computer, I get automatically logged into my i3 session; I've been using it this year a lot, but I have also other DEs and WMs, like Plasma (both X11 and Wayland). I tried to logged in today and noticed that I can't. I think that the latest change I made since the last time I went through this process with success is adding gnome-keyrings, but I could be wrong. I leave all the information that I find relevant to know, but feel free to ask for anything else.

Here are the PAM files:

cat  /etc/pam.d/sddm
#%PAM-1.0

auth       include     system-login
#auth       optional    pam_gnome_keyring.so
#auth       optional    pam_kwallet5.so

account    include     system-login

password   include     system-login
#password   optional    pam_gnome_keyring.so    use_authtok

session    include     system-login
session    optional    pam_keyinit.so          force revoke
#session    optional    pam_gnome_keyring.so    auto_start
#session    optional    pam_kwallet5.so         auto_start
cat /etc/pam.d/sddm-autologin
#%PAM-1.0
auth        required    pam_env.so
auth        required    pam_faillock.so preauth
auth        required    pam_shells.so
auth        required    pam_nologin.so
auth        required    pam_permit.so
#auth       optional    pam_gnome_keyring.so
#auth       optional    pam_kwallet5.so
account     include     system-local-login
password    include     system-local-login
session     include     system-local-login
#session    optional    pam_gnome_keyring.so auto_start
#session    optional    pam_kwallet5.so auto_start

These are the files on /etc/sddm.conf.d (/etc/sddm.conf is empty)

cat /etc/sddm.conf.d/kde_settings.conf
[Autologin]
Relogin=false
Session=i3
User=alberto

[General]
HaltCommand=/usr/bin/systemctl poweroff
RebootCommand=/usr/bin/systemctl reboot

[Theme]
Current=breeze
CursorSize=36
CursorTheme=breeze_cursors
Font=Noto Sans,10,-1,5,50,0,0,0,0,0

[Users]
MaximumUid=60513
MinimumUid=1000

# [X11]
# ServerArguments=-dpi 144
cat /etc/sddm.conf.d/hidpi.conf 
[Wayland]
EnableHiDPI=true

[X11]
#ServerArguments=-nolisten tcp -dpi 144
EnableHiDPI=true

This is the journal logs related to sddm:

catjournalctl -ru sddm
nov 01 22:46:52 archlinux sddm[10674]: Session started true
nov 01 22:46:52 archlinux sddm-helper[10713]: Starting X11 session: "" "/usr/share/sddm/scripts/Xsession \"i3\""
nov 01 22:46:52 archlinux sddm-helper[10713]: Writing cookie to "/tmp/xauth_IedDlu"
nov 01 22:46:52 archlinux sddm-helper[10713]: pam_systemd(sddm-autologin:session): New sd-bus connection (system-bus-pam-systemd-10713) opened.
nov 01 22:46:52 archlinux sddm-helper[10713]: pam_unix(sddm-autologin:session): session opened for user alberto(uid=1000) by alberto(uid=0)
nov 01 22:46:52 archlinux sddm[10674]: Authentication for user  "alberto"  successful
nov 01 22:46:52 archlinux sddm-helper[10713]: [PAM] returning.
nov 01 22:46:52 archlinux sddm-helper[10713]: pam_systemd_home(sddm-autologin:account): New sd-bus connection (system-bus-pam-systemd-home-10713) opened.
nov 01 22:46:52 archlinux sddm-helper[10713]: [PAM] Authenticating...
nov 01 22:46:52 archlinux sddm-helper[10713]: [PAM] Starting...
nov 01 22:46:52 archlinux sddm[10674]: Session "/usr/share/xsessions/i3.desktop" selected, command: "i3" for VT 1
nov 01 22:46:52 archlinux sddm[10674]: Reading from "/usr/share/xsessions/i3.desktop"
nov 01 22:46:52 archlinux sddm[10674]: Reading from "/usr/local/share/xsessions/i3.desktop"
nov 01 22:46:52 archlinux sddm[10674]: Display server started.
nov 01 22:46:52 archlinux sddm[10674]: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
nov 01 22:46:51 archlinux sddm[10674]: Setting default cursor
nov 01 22:46:50 archlinux sddm[10674]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt1 -auth /run/sddm/xauth_iuRyoV -noreset -displayfd 16
nov 01 22:46:50 archlinux sddm[10674]: Writing cookie to "/run/sddm/xauth_iuRyoV"
nov 01 22:46:50 archlinux sddm[10674]: Display server starting...
nov 01 22:46:50 archlinux sddm[10674]: Using VT 1
nov 01 22:46:50 archlinux sddm[10674]: Xauthority path: "/run/sddm/xauth_iuRyoV"
nov 01 22:46:50 archlinux sddm[10674]: Loaded empty theme configuration
nov 01 22:46:50 archlinux sddm[10674]: Adding new display...
nov 01 22:46:50 archlinux sddm[10674]: Logind interface found
nov 01 22:46:50 archlinux sddm[10674]: Starting...
nov 01 22:46:50 archlinux sddm[10674]: Initializing...
nov 01 22:46:50 archlinux systemd[1]: Started Simple Desktop Display Manager.
nov 01 22:46:50 archlinux systemd[1]: sddm.service: Consumed 1.805s CPU time, 167.8M memory peak.
nov 01 22:46:50 archlinux systemd[1]: Stopped Simple Desktop Display Manager.
nov 01 22:46:50 archlinux systemd[1]: sddm.service: Deactivated successfully.
nov 01 22:46:50 archlinux sddm[7891]: Running display stop script  QList("/usr/share/sddm/scripts/Xstop")
nov 01 22:46:50 archlinux sddm[7891]: Display server stopped.
nov 01 22:46:50 archlinux sddm[7891]: Display server stopping...
nov 01 22:46:50 archlinux sddm[7891]: Socket server stopped.
nov 01 22:46:50 archlinux sddm[7891]: Socket server stopping...
nov 01 22:46:50 archlinux sddm[7891]: Greeter stopped. SDDM::Auth::HelperExitStatus(255)
nov 01 22:46:50 archlinux sddm[7891]: Auth: sddm-helper exited with 255
nov 01 22:46:50 archlinux sddm[7891]: Greeter stopping...
nov 01 22:46:50 archlinux systemd[1]: Stopping Simple Desktop Display Manager...
nov 01 22:46:50 archlinux sddm[7891]: Signal received: SIGTERM

Last edited by moshpirit (2024-11-02 13:19:44)

Offline

#2 2024-11-02 09:16:31

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,800

Re: [SOLVED] SDDM doesn't let me log in manually

Don't "-r" and also no "-u", from your desscription and "Auth: sddm-helper exited with 255" I guess you cannot get an SDDM login screen?
What if you use any other theme than breeze (in doubt the built-in one)?

If that's not it, please post your complete system journal for a boot covering the failure:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

for the current one.

Offline

#3 2024-11-02 13:03:19

mib1982
Member
Registered: 2010-04-01
Posts: 3

Re: [SOLVED] SDDM doesn't let me log in manually

I had a somewhat similar issue: The SDDM login screen appears, but nothing happens after entering the password. Your suggestion about the Breeze theme made me try switching themes (installed themes can be found under /usr/share/sddm/themes).

I switched to eucalyptus-drop. The change can be made in the file /etc/sddm.conf.d/kde_settings.conf (needs root privileges).

After that, I could login again. Hope this might help.

Edit: There is an open ticket about this issue here: https://gitlab.archlinux.org/archlinux/ … -/issues/5

Last edited by mib1982 (2024-11-02 13:14:34)

Offline

#4 2024-11-02 13:18:56

moshpirit
Member
Registered: 2016-01-13
Posts: 43

Re: [SOLVED] SDDM doesn't let me log in manually

Thank you both for replying! I was about to reply this:

seth wrote:

Don't "-r" and also no "-u", from your desscription and "Auth: sddm-helper exited with 255" I guess you cannot get an SDDM login screen?
What if you use any other theme than breeze (in doubt the built-in one)?

If that's not it, please post your complete system journal for a boot covering the failure:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

for the current one.

Thanks for replying!
Since I log into i3 automatically, in order to get to SDDM I need to log out. I'm not sure if that's the explanation.
Here is the link created: http://0x0.st/XGjJ.txt

But then I read this comment and tried it

mib1982 wrote:

I had a somewhat similar issue: The SDDM login screen appears, but nothing happens after entering the password. Your suggestion about the Breeze theme made me try switching themes (installed themes can be found under /usr/share/sddm/themes).

I switched to eucalyptus-drop. The change can be made in the file /etc/sddm.conf.d/kde_settings.conf (needs root privileges).

After that, I could login again. Hope this might help.

Edit: There is an open ticket about this issue here: https://gitlab.archlinux.org/archlinux/ … -/issues/5


and YES!! It was it all along, for some reason the theme was the issue!

Offline

Board footer

Powered by FluxBB