Hello! The other day, purely for entertainment purposes, I experimented with various distributions, installing them one by one and accidentally stumbled upon such a wonderful software like gnome-logs . It quite conveniently sorts the system logs and displays the most important messages on the first tab. So, I noticed that almost all distributions out of the box have the same errors. Here are the most popular (I will make changes to this list; feel free to share your mistakes and their corrections):

  • PAM adding faulty module / unable to dlopen: pam_kwallet
    • in /etc/pam.d/lightdm and /etc/pam.d/lightdm-greeter you need to comment out all the lines beginning with "auth optional". To do this, add the character " # " at the beginning of the lines.
  • Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/ dev / nvidia *) are available.
    • This error only occurs with nvidia drivers above version 304 (rolling back drivers a hundred years ago for the sake of clearing the logs is certainly not a solution, but it may somehow help).
  • Failed to start Automatically refresh installed snaps
    • Sometimes it appears, sometimes it disappears.
  • [pulseaudio] pid.c: Daemon already running.
  • nm_device_get_device_type: assertion 'NM_IS_DEVICE (self)' failed

In general, no matter how I googled, I still could not fix any of them. It is surprising that nothing really was able to google. Yes, I understand that most likely these errors do not affect anything, but at least they litter the logs in literally every distribution! Is it normal? By the way, please reply if you do not have these errors.

Closed due to the fact that it is necessary to reformulate the question so that it was possible to give an objectively correct answer by the participants user194374, aleksandr barakin , Bald , VenZell , Streletz 18 Jul '16 at 9:42 .

The question gives rise to endless debates and discussions based not on knowledge, but on opinions. To get an answer, rephrase your question so that it can be given an unambiguously correct answer, or delete the question altogether. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • Well, get a repository on the githaba and correct all those technical debts, they will only thank you. ps i have no such errors (ubuntu 16.04). 'NM_IS_DEVICE (self)' failed in December, it was quite possible that most of these errors occur during installation, so no one repairs - strangeqargo
  • @strangeqargo errors with PAM definitely not? I put Ubuntu 16.04 and they were. Is it somehow connected with iron? I do not think ... And due to the fact that they occur during installation - no. These logs are generated and updated on every login. - Beast Winterwolf pm
  • for sure. kwallet means look - strangeqargo
  • one
    So the distributions that you tried just in case write to the PAM configs all possible modules in the distribution. While the modules themselves can and do not install. Hand clean this kwallet from /etc/pam.d/* (or where in your distributions are pam settings). I did not see any such error myself, though I usually have gentoo - Mike
  • @Mike thanks for the tip! In the lightdm and lightdm-greeter files, I commented out all the lines beginning with the "auth optional" and it really solved the problem! - Beast Winterwolf

0