As últimas linhas de /var/log/auth.log
:
Jan 9 22:59:57 miranda-OptiPlex-790 lightdm: PAM adding faulty module: pam_kwallet5.so
Jan 9 22:59:57 miranda-OptiPlex-790 lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "miranda"
Jan 9 23:00:23 miranda-OptiPlex-790 dbus[807]: [system] Failed to activate service 'org.bluez': timed out
Eu estava tentando adicionar uma nova variável ao ambiente do sistema.
Eu adicionei uma linha a /etc/enviroment
. Agora eu dei uma olhada na máquina e retirei a linha. Parece assim agora:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
Mas ainda não consigo fazer login.
A sessão de convidado funciona sem problemas.
Meu problema é semelhante a este:
link
Ele acaba reinstalando o sistema operacional, espero que ainda haja uma maneira de salvar o meu ...
Há também outro post sobre um problema semelhante:
link
Mas o link para a solução não funciona mais.
Tentei sugestões aqui:
não pode entrar na sessão Unity do Ubuntu 14.04 bloqueada
Depois de reinstalar várias coisas:
apt-get install --reinstall kwalletmanager
apt-get install libpam-kwallet4 libpam-kwallet5
service lightdm restart
O novo auth.log
mostra:
Jan 10 00:05:10 miranda-OptiPlex-790 lightdm: pam_unix(lightdm:session): session opened for user miranda by (uid=0)
Jan 10 00:05:10 miranda-OptiPlex-790 systemd-logind[796]: New session c32 of user miranda.
Jan 10 00:05:10 miranda-OptiPlex-790 lightdm: pam_kwallet(lightdm:session): pam_kwallet: pam_sm_open_session
Jan 10 00:05:10 miranda-OptiPlex-790 lightdm: pam_kwallet(lightdm:session): pam_kwallet: final socket path: /tmp/kwallet_miranda.socket
Jan 10 00:05:10 miranda-OptiPlex-790 lightdm: pam_kwallet(lightdm:session): pam_kwallet: Impossible to write walletKey to walletPipe
Jan 10 00:05:10 miranda-OptiPlex-790 lightdm: pam_kwallet5(lightdm:session): pam_kwallet5: pam_sm_open_session
Jan 10 00:05:10 miranda-OptiPlex-790 lightdm: pam_kwallet5(lightdm:session): pam_kwallet5: final socket path: /tmp/kwallet5_miranda.socket
Jan 10 00:05:11 miranda-OptiPlex-790 lightdm: pam_kwallet(lightdm-greeter:setcred): (null): pam_sm_setcred
Jan 10 00:05:11 miranda-OptiPlex-790 lightdm: pam_kwallet5(lightdm-greeter:setcred): (null): pam_sm_setcred
Jan 10 00:05:11 miranda-OptiPlex-790 lightdm: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
Jan 10 00:05:11 miranda-OptiPlex-790 systemd-logind[796]: New session c33 of user lightdm.
Jan 10 00:05:11 miranda-OptiPlex-790 lightdm: pam_kwallet(lightdm-greeter:session): (null): pam_sm_open_session
Jan 10 00:05:11 miranda-OptiPlex-790 lightdm: pam_kwallet(lightdm-greeter:session): pam_kwallet: open_session called without kwallet_key
Jan 10 00:05:11 miranda-OptiPlex-790 lightdm: pam_kwallet5(lightdm-greeter:session): (null): pam_sm_open_session
Jan 10 00:05:11 miranda-OptiPlex-790 lightdm: pam_kwallet5(lightdm-greeter:session): pam_kwallet5: open_session called without kwallet5_key
Jan 10 00:05:11 miranda-OptiPlex-790 lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "miranda"
Jan 10 00:05:22 miranda-OptiPlex-790 dbus[807]: [system] Failed to activate service 'org.bluez': timed out
Não sei como alterar a configuração lightdm
root@miranda-OptiPlex-790:/etc/lightdm/lightdm.conf.d# ls
root@miranda-OptiPlex-790:/etc/lightdm/lightdm.conf.d# cd ..
root@miranda-OptiPlex-790:/etc/lightdm# ls
lightdm.conf.d users.conf
root@miranda-OptiPlex-790:/etc/lightdm# cat users.conf
#
# User accounts configuration
#
# NOTE: If you have AccountsService installed on your system, then LightDM will
# use this instead and these settings will be ignored
#
# minimum-uid = Minimum UID required to be shown in greeter
# hidden-users = Users that are not shown to the user
# hidden-shells = Shells that indicate a user cannot login
#
[UserList]
minimum-uid=500
hidden-users=nobody nobody4 noaccess
hidden-shells=/bin/false /usr/sbin/nologin
Devo tentar esta solução?
link
Edite /etc/pam.d/lightdm
e remova nopasswdlogin
desta linha:
auth sufficient pam_succeed_if.so user ingroup nopasswdlogin