impossibile accedere alla sessione di Ubuntu 14.04 bloccata Unity


12

Non riesco ad accedere alla sessione di Ubuntu 14.04 bloccata Unity.

Uscita da /var/log/auth.log:

Apr 18 15:10:45 trusty-1 unix_chkpwd[3171]: check pass; user unknown
Apr 18 15:10:45 trusty-1 unix_chkpwd[3171]: password check failed for user (martin)
Apr 18 15:11:02 trusty-1 dbus[660]: [system] Rejected send message, 2 matched rules; type="method_return", sender=":1.13" (uid=0 pid=1328 comm="lightdm ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.67" (uid=1000 pid=2154 comm="/usr/lib/x86_64-linux-gnu/indicator-session/indica")
Apr 18 15:11:02 trusty-1 lightdm: PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory
Apr 18 15:11:02 trusty-1 lightdm: PAM adding faulty module: pam_kwallet.so
Apr 18 15:11:02 trusty-1 lightdm: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
Apr 18 15:11:02 trusty-1 systemd-logind[871]: New session c5 of user lightdm.
Apr 18 15:11:03 trusty-1 lightdm: PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory
Apr 18 15:11:03 trusty-1 lightdm: PAM adding faulty module: pam_kwallet.so
Apr 18 15:11:03 trusty-1 lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "martin"
Apr 18 15:11:12 trusty-1 lightdm: pam_unix(lightdm-greeter:session): session closed for user lightdm

il file non esiste. ma non uso KDE. Il mio desktop funziona invece su Unity.
Martin,

L'ho provato: sudo apt-get purge kwalletmanager sudo apt-get install kwalletmanager. Lotto di file installati. Riavvia dopo quello. Ma il problema rimane ancora.
Martin,

Una soluzione è la seguente: dalla schermata di blocco scegli "cambia utente" -> usa una finestra di dialogo simile per inserire la password -> sblocca schermo
Martin

Ho avuto questo problema e risolto seguendo la risposta di quest'altra domanda: unix.stackexchange.com/a/422556/3084
brandizzi

Risposte:


7

Ho risolto installando libpam-kwallet4 libpam-kwallet5.

$ sudo apt-cache search kwallet |grep pam
libpam-kwallet4 - KWallet (KDE 4) integration with PAM
libpam-kwallet5 - KWallet (Kf5) integration with PAM
$ sudo apt-get install libpam-kwallet4 libpam-kwallet5
$ sudo service lightdm restart

1

Il tuo registro suggerisce che c'è un problema con /lib/security/pam_kwallet.so. Puoi determinare se quel file esiste ancora, potresti dover ricaricare il kwallet:

sudo apt-get purge kwalletmanager
sudo apt-get install kwalletmanager

il file non esiste. ma non uso KDE. Il mio desktop funziona invece su Unity.
Martin,

2
sudo apt-get install --reinstall kwalletmanagerbasterebbe a reinstallare i file mancanti e non rimuove i file di configurazione come purge.
David Foerster,

1

Ricreare le impostazioni di autenticazione pam. Vai a un altro TTY CTRL-ALT-F1, quindi esegui:

sudo pam-auth-update
# Make no changes and select "Ok" to update the config
sudo service lightdm restart
Utilizzando il nostro sito, riconosci di aver letto e compreso le nostre Informativa sui cookie e Informativa sulla privacy.
Licensed under cc by-sa 3.0 with attribution required.