Solving - Systemlog: Lightdm: PAM adding faulty module: Pam_kwallet.so and/or Pam_kwallet5.so

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
Post Reply
Raycoupe
Level 3
Level 3
Posts: 100
Joined: Thu Dec 13, 2018 10:24 am

Solving - Systemlog: Lightdm: PAM adding faulty module: Pam_kwallet.so and/or Pam_kwallet5.so

Post by Raycoupe »

After installing Mint 19.1 64 bits with Cinnamon, you might see errors about pam_kwallet*.so in the system logfiles.

Code: Select all

lightdm: PAM adding faulty module: pam_kwallet5.so
It does not pose any problems, but just for good practise, I want my logfiles as clean as possible, making it easier to spot more significant problems.

These errors are due to an optional package KWallet, a password keeper like Keepass not installed with Mint.

It's a know and reported bug of Ubuntu in 2014 on which Mint is based, no idea why it isn't fixed yet: https://bugs.launchpad.net/ubuntu/+sour ... ug/1309535

Here's a workaround to get rid of unnecessary trying to load those files and solve these errors in the system logfile, by editing two configuration files and commenting out the optional kwallet.so and kwallet5.so loading:

Two files to edit:

Code: Select all

/etc/pam.d/lightdm 
/etc/pam.d/lightdm-greeter
Lines to comment out: (adding '#' in front of the line)

Code: Select all

#auth optional pam_kwallet.so
#auth optional pam_kwallet5.so

#session optional pam_kwallet.so auto_start
#session optional pam_kwallet5.so auto_start 
PS All credits to the poster of this solution https://launchpad.net/~ricklee518 and other contributors on the link provided above for the bug report)
PPS Feel free to comment as I'm a new Linux user myself trying to solve my boot/systemlog errors: viewtopic.php?f=46&t=286910)
Hardware, operating systems, software and networking are are nothing else than necessary, cumbersome and easily replaceable evils to store and provide data. Triple backup your data at least, twice on-site, and another copy off-site.
kneutraal
Level 1
Level 1
Posts: 1
Joined: Mon Jun 24, 2019 7:06 am

Re: Solving - Systemlog: Lightdm: PAM adding faulty module: Pam_kwallet.so and/or Pam_kwallet5.so

Post by kneutraal »

Thank you, i'm new and since they were listed under "important" i came looking. Turns out it's safe to ignore after all
DenisLu
Level 1
Level 1
Posts: 2
Joined: Wed Aug 12, 2020 6:41 pm

Re: Solving - Systemlog: Lightdm: PAM adding faulty module: Pam_kwallet.so and/or Pam_kwallet5.so

Post by DenisLu »

Thank you, Raycoupe!
Working for Mint 18.3 Mate
Giraffe73+
Level 1
Level 1
Posts: 6
Joined: Wed Oct 21, 2020 11:00 am

Re: Solving - Systemlog: Lightdm: PAM adding faulty module: Pam_kwallet.so and/or Pam_kwallet5.so

Post by Giraffe73+ »

Hello

I am a new user wanting to learn more and hope it is in order to request further information regarding how you specifically solved the system log issue as I have exactly the same log errors, i.e Lightdm: PAM adding faulty module: pam_kwallet5.so ?

I would like to take the action you suggest but do not know specifically how to go about adding the # at the front of the lines of text you refer to. I have looked in the forum and googled the question but have not successfully found the answer.

I have accessed the terminal with your specific text and found using vi in front gets the text shown but from there on I am lost.

Is it possible for you to spell out exactly how I enter the #?

Hoping to hear further.
Thanks in anticipation
G
Raycoupe
Level 3
Level 3
Posts: 100
Joined: Thu Dec 13, 2018 10:24 am

Re: Solving - Systemlog: Lightdm: PAM adding faulty module: Pam_kwallet.so and/or Pam_kwallet5.so

Post by Raycoupe »

Giraffe73+ wrote:
Wed Oct 21, 2020 11:21 am
Hello

I am a new user wanting to learn more and hope it is in order to request further information regarding how you specifically solved the system log issue as I have exactly the same log errors, i.e Lightdm: PAM adding faulty module: pam_kwallet5.so ?

I would like to take the action you suggest but do not know specifically how to go about adding the # at the front of the lines of text you refer to. I have looked in the forum and googled the question but have not successfully found the answer.

I have accessed the terminal with your specific text and found using vi in front gets the text shown but from there on I am lost.

Is it possible for you to spell out exactly how I enter the #?

Hoping to hear further.
Thanks in anticipation
G
You could use nano instead of vi to edit the file, it's a more user friendly texteditor
$ nano <filename>
Hardware, operating systems, software and networking are are nothing else than necessary, cumbersome and easily replaceable evils to store and provide data. Triple backup your data at least, twice on-site, and another copy off-site.
Giraffe73+
Level 1
Level 1
Posts: 6
Joined: Wed Oct 21, 2020 11:00 am

Re: Solving - Systemlog: Lightdm: PAM adding faulty module: Pam_kwallet.so and/or Pam_kwallet5.so

Post by Giraffe73+ »

Thanks Raycoupe
I have come across this editor in my Internet searches so far.

I will take a closer look. My problem at this stage, due to my inexperience will be understanding exactly what to do to add the # character to the start of the appropriate text.

If you feel you can add a bit more detail then I would welcome your further comments. Any errors I make will of course be my responsibility.
Raycoupe
Level 3
Level 3
Posts: 100
Joined: Thu Dec 13, 2018 10:24 am

Re: Solving - Systemlog: Lightdm: PAM adding faulty module: Pam_kwallet.so and/or Pam_kwallet5.so

Post by Raycoupe »

$ nano <filename>

Use cursor arrows to go to first character of the line you want to comment out.
Shift 3 will insert the # symbol

repeat for every line you want to comment out.

Press Ctrl-O to save the file
Press Ctrl-X to exit nano.
Hardware, operating systems, software and networking are are nothing else than necessary, cumbersome and easily replaceable evils to store and provide data. Triple backup your data at least, twice on-site, and another copy off-site.
Giraffe73+
Level 1
Level 1
Posts: 6
Joined: Wed Oct 21, 2020 11:00 am

Re: Solving - Systemlog: Lightdm: PAM adding faulty module: Pam_kwallet.so and/or Pam_kwallet5.so

Post by Giraffe73+ »

Hello Raycoupe

Thanks for your further information.

Sorry to be a pain but I need more help.

I carry out the changes as you show but when I save I see a message at the bottom of the terminal ' File Name to Write / etc/pam.d/lightdm'

Whats my next move?

Thanks
Raycoupe
Level 3
Level 3
Posts: 100
Joined: Thu Dec 13, 2018 10:24 am

Re: Solving - Systemlog: Lightdm: PAM adding faulty module: Pam_kwallet.so and/or Pam_kwallet5.so

Post by Raycoupe »

Hit the Enter button :)

(and Ctrl-X to quit nano)
Hardware, operating systems, software and networking are are nothing else than necessary, cumbersome and easily replaceable evils to store and provide data. Triple backup your data at least, twice on-site, and another copy off-site.
Giraffe73+
Level 1
Level 1
Posts: 6
Joined: Wed Oct 21, 2020 11:00 am

Re: Solving - Systemlog: Lightdm: PAM adding faulty module: Pam_kwallet.so and/or Pam_kwallet5.so

Post by Giraffe73+ »

Hi Raycoupe

Update. I have now managed to make the changes you suggested going into the terminal accessing the lines to alter using sudo su command (found someone else had also listed some of the problems I was subsequently encountering, one of which was in fact just simply exiting the terminal) Using nano editor is clearly an in the know subject.

Anyway thanks again very much for your guidance as it set me on the right course. I am pleased I could complete these no doubt simple changes to experienced linux users but to me a giant leap forward as a novice. I have rechecked the files and the # character are there on all four file lines and the pam issue is no longer showing in the log files.

Thanks again. :D
Post Reply

Return to “Tutorials”