LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-26-2020, 05:49 PM   #1
kmreiserfs
Member
 
Registered: Jan 2010
Location: Portugal
Distribution: Slackware
Posts: 32

Rep: Reputation: 25
Question Cant login with SDDM after upgrade Slackware-current


Hello everyone,

I upgraded my Slackware64-current today.

# slackpkg update
# slackpkg upgrade-all
# slackpkg install-new

# slackpkg download kernel (downloaded new kenel)
# mkinitrd -c -k 5.4.22 -f.... (make new initrd using the script)
# grub-mkconfig -o /boot/grub/grub.cfg (update grub)

After reboot i got SDDM login, but it saying wrong password.
CTR+ALT+F1, login normally, init 3 and startx to get Plasma again.

I check the logs and get this in /var/log/secure

Code:
Feb 26 23:38:27 skywalker sddm-helper: PAM _pam_init_handlers: no default config other
Feb 26 23:38:27 skywalker sddm-helper: pam_kwallet5(sddm:auth): (null): pam_sm_authenticate 
Feb 26 23:38:27 skywalker sddm-helper: pam_kwallet5(sddm:auth): pam_kwallet5: Couldn't get password (it is empty)
I know little about PAM, i checked pam.d dir

Code:
ls /etc/pam.d/ -lh
total 16K
-rw-r--r-- 1 root root 312 Feb 23 17:12 kde
-rw-r--r-- 1 root root 416 Feb 16 15:31 sddm
-rw-r--r-- 1 root root 448 Feb 16 15:31 sddm-autologin
-rw-r--r-- 1 root root 364 Feb 26 23:24 sddm-greeter
Something is missing but i dont know what.

How can i fix this, or how can i disable PAM.
 
Old 02-26-2020, 06:47 PM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Looks like you might have installed the PAM versions of ktown and the standard versions of -current. If you want PAM (which will likely move from testing/ to the stock install within the next few weeks or months, before 15.0 is released), you'd want to switch your slackpkg priority to have testing in front of %PKGMAIN. If you want to remain PAM free, you'll want to make sure you're running the "latest" ktown, not the "testing" ktown.
 
Old 02-27-2020, 05:44 AM   #3
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,207

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
If you installed your system form one of Alienbob's iso's, as I did, have a look at the file /etc/slackpkg/slackpkgplus.conf.

I had to change the last two lines to this:

Quote:
MIRRORPLUS['ktown']=http://slackware.nl/alien-kde/current/latest/x86_64/
15 #MIRRORPLUS['ktown']=http://slackware.nl/alien-kde/current/testing/x86_64/
Notice the last line is what causes the Pam files to install. I just commented it, and uncommented the line above, and ran another slackpkg update, slackpkg install-new and slackpkg upgrade-all. There were seven or eight packages replaced, and could logon without a problem.

Of course the other option is to install the Pam packages. Your choice.
 
2 members found this post helpful.
Old 02-27-2020, 02:46 PM   #4
kmreiserfs
Member
 
Registered: Jan 2010
Location: Portugal
Distribution: Slackware
Posts: 32

Original Poster
Rep: Reputation: 25
Quote:
Originally Posted by camorri View Post
If you installed your system form one of Alienbob's iso's, as I did, have a look at the file /etc/slackpkg/slackpkgplus.conf.

I had to change the last two lines to this:



Notice the last line is what causes the Pam files to install. I just commented it, and uncommented the line above, and ran another slackpkg update, slackpkg install-new and slackpkg upgrade-all. There were seven or eight packages replaced, and could logon without a problem.

Of course the other option is to install the Pam packages. Your choice.
Thank you, that made the trick, i got working now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware 64 current - SDDM is looking for libpam.so.0 Not found camorri Slackware 3 02-24-2020 04:57 PM
[SOLVED] Today's -current icu4c upgrade broke ktown's sddm dugan Slackware 37 07-28-2019 01:39 PM
[SOLVED] sddm-helper segfault after upgrading to kde5 ( and -current ) Pigi_102 Slackware 9 10-16-2018 08:18 AM
[SOLVED] Warning Message for SDDM After Applying New /etc/passwd in Current with Plasma5 regis_n_bits Slackware 7 09-13-2018 01:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration