View previous topic :: View next topic |
Author |
Message |
ace999999 n00b

Joined: 27 Jun 2018 Posts: 30
|
Posted: Wed Jun 19, 2019 3:37 pm Post subject: Can't login with sddm [solved] |
|
|
All of a sudden I can't login to my desktop.
Code: | pam_unix(sddm:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= |
tty login works. ssh login works too.
I'm using xfce with sddm and openrc
I think it must be something in /etc/pam.d/ But there were no new config updates.
Code: |
# etc-update
Scanning Configuration files...
Exiting: Nothing left to do; exiting. :)
|
Content of the sddm files.
Code: | cat sddm sddm-autologin sddm-greeter
#%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 optional pam_keyinit.so force revoke
session include system-login
-session optional pam_gnome_keyring.so auto_start
-session optional pam_kwallet5.so auto_start
#%PAM-1.0
auth required pam_env.so
auth required pam_tally.so file=/var/log/faillog onerr=succeed
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
#%PAM-1.0
# Load environment from /etc/environment and ~/.pam_environment
auth required pam_env.so
# Always let the greeter start without authentication
auth required pam_permit.so
# No action required for account management
account required pam_permit.so
# Can't change password
password required pam_deny.so
# Setup session
session required pam_unix.so
#session optional pam_systemd.so
|
Last edited by ace999999 on Sat Jun 22, 2019 8:47 am; edited 1 time in total |
|
Back to top |
|
 |
lfs0a Tux's lil' helper


Joined: 19 Oct 2016 Posts: 125
|
Posted: Thu Jun 20, 2019 3:53 pm Post subject: Re: Can't login with sddm |
|
|
ace999999 wrote: | All of a sudden I can't login to my desktop.
Code: | pam_unix(sddm:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= |
tty login works. ssh login works too.
I'm using xfce with sddm and openrc
I think it must be something in /etc/pam.d/ But there were no new config updates.
Code: |
# etc-update
Scanning Configuration files...
Exiting: Nothing left to do; exiting. :)
|
Content of the sddm files.
Code: | cat sddm sddm-autologin sddm-greeter
#%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 optional pam_keyinit.so force revoke
session include system-login
-session optional pam_gnome_keyring.so auto_start
-session optional pam_kwallet5.so auto_start
#%PAM-1.0
auth required pam_env.so
auth required pam_tally.so file=/var/log/faillog onerr=succeed
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
#%PAM-1.0
# Load environment from /etc/environment and ~/.pam_environment
auth required pam_env.so
# Always let the greeter start without authentication
auth required pam_permit.so
# No action required for account management
account required pam_permit.so
# Can't change password
password required pam_deny.so
# Setup session
session required pam_unix.so
#session optional pam_systemd.so
|
|
uid=0,
You login as root? |
|
Back to top |
|
 |
ace999999 n00b

Joined: 27 Jun 2018 Posts: 30
|
Posted: Thu Jun 20, 2019 4:09 pm Post subject: |
|
|
Quote: | uid=0,
You login as root? |
No. But it shows there always uid=0 doesn't matter which user or if I login by ssh. My user id is 1000.
Code: |
sddm-helper: pam_unix(sddm:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=ace
sddm-helper: pam_unix(sddm:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=frank
sshd[21277]: pam_unix(sshd:session): session opened for user ace by (uid=0)
|
|
|
Back to top |
|
 |
ace999999 n00b

Joined: 27 Jun 2018 Posts: 30
|
Posted: Fri Jun 21, 2019 8:57 am Post subject: |
|
|
May its not pam.d because I deleted the content of /etc/pam.d rebuild with everything with Code: | emerge -e world ; etc-update | Still not working. |
|
Back to top |
|
 |
wrc1944 Advocate

Joined: 15 Aug 2002 Posts: 3392 Location: Gainesville, Florida
|
Posted: Fri Jun 21, 2019 4:47 pm Post subject: |
|
|
What version are you running? You might try downgrading sddm to 0.15.0. I run three Gentoo ~amd64 systems, and no version higher than 0.15.0 has ever worked for over a year. It is masked, but they keep it available just for this reason- some Gentoo systems can't seem to use anything else, and for me at least the reason is still unknown.
AFAIK, there is as yet no answer as to why this is the case.  _________________ Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.35-r2, gcc-11.2.1, kernel-5.17.3 USE=experimental |
|
Back to top |
|
 |
ace999999 n00b

Joined: 27 Jun 2018 Posts: 30
|
Posted: Fri Jun 21, 2019 5:11 pm Post subject: |
|
|
Interesting. After I read your comment I tried version 1.18.1 and 0.15.0 but no change. |
|
Back to top |
|
 |
wrc1944 Advocate

Joined: 15 Aug 2002 Posts: 3392 Location: Gainesville, Florida
|
Posted: Fri Jun 21, 2019 7:14 pm Post subject: |
|
|
I run kde mostly but do use xfce4 also, and 0.15.0 always works. lightdm also works, but I prefer sddm.
Maybe run revdep-rebuild -pv and see if anything needs a rebuild. I see you did rebuild pam and even -e world.
Does lightdm work? Might be worth a shot even if just to see if the problem is sddm. _________________ Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.35-r2, gcc-11.2.1, kernel-5.17.3 USE=experimental |
|
Back to top |
|
 |
ace999999 n00b

Joined: 27 Jun 2018 Posts: 30
|
Posted: Sat Jun 22, 2019 8:46 am Post subject: |
|
|
Thanks for the help. I installed Lightdm and somehow it works now. |
|
Back to top |
|
 |
|