18.04 login to Lightdm
Jack McGee
jack at greendesk.net
Sun Nov 1 15:01:37 UTC 2020
On 10/31/20 1:16 PM, Volker Wysk wrote:
> Am Samstag, den 31.10.2020, 10:13 -0500 schrieb Jack McGee:
>> Not sure what happened here. I get login loop on desktop login. fills
>> in default username, but after entering password, screen goes black
>> briefly then goes back to login prompt.
>>
>> I can login via SSH using same username/password combination.
>> Oct 31 10:09:23 amethi lightdm: PAM unable to dlopen(pam_kwallet.so):
>> /lib/security/pam_kwallet.so: cannot open shared object file: No such
>> file or directory
> This looks like the reason. /lib/security/pam_kwallet.so is missing somehow.
> This causes the display manager to crash and restart.
>
> Is kwallet installed?
>
> What does "apt-file search pam_kwallet.so" say?
>
> Try this:
> sudo ldconfig
>
> You also could try another display manager.
>
>
kwallet.so was not installed. I installed it. no difference.
I commented out kwallet.so in two files:
mythuser at amethi:~$ cat /etc/pam.d/lightdm-greeter
#%PAM-1.0
auth required pam_permit.so
auth optional pam_gnome_keyring.so
#auth optional pam_kwallet.so
#auth optional pam_kwallet5.so
@include common-account
session [success=ok ignore=ignore module_unknown=ignore default=bad]
pam_selinux.so close
session required pam_limits.so
@include common-session
session [success=ok ignore=ignore module_unknown=ignore default=bad]
pam_selinux.so open
session optional pam_gnome_keyring.so auto_start
#session optional pam_kwallet.so auto_start
#session optional pam_kwallet5.so auto_start
session required pam_env.so readenv=1
session required pam_env.so readenv=1 user_readenv=1
envfile=/etc/default/locale
Still no difference.
I switched to GDM3 and get different login screen, but same behavior.
It's not keyboard, tried a full size keyboard and same thing.
Nov 1 08:44:50 amethi sudo: mythuser : TTY=pts/0 ; PWD=/home/mythuser ;
USER=root ; COMMAND=/usr/sbin/service gdm restart
Nov 1 08:44:50 amethi sudo: pam_unix(sudo:session): session opened for
user root by mythuser(uid=0)
Nov 1 08:44:50 amethi sudo: pam_unix(sudo:session): session closed for
user root
Nov 1 08:44:50 amethi gdm-launch-environment]:
pam_unix(gdm-launch-environment:session): session opened for user gdm by
(uid=0)
Nov 1 08:44:50 amethi systemd-logind[1330]: New session c5 of user gdm.
Nov 1 08:44:50 amethi systemd: pam_unix(systemd-user:session): session
opened for user gdm by (uid=0)
Nov 1 08:44:54 amethi polkitd(authority=local): Registered
Authentication Agent for unix-session:c5 (system bus name :1.119
[/usr/bin/gnome-shell], object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Nov 1 08:45:09 amethi gdm-password]: pam_unix(gdm-password:session):
session opened for user mythuser by (uid=0)
Nov 1 08:45:09 amethi systemd-logind[1330]: New session 88 of user
mythuser.
Nov 1 08:45:10 amethi gdm-password]: pam_unix(gdm-password:session):
session closed for user mythuser
Nov 1 08:45:18 amethi dbus-daemon[1233]: [system] Failed to activate
service 'org.bluez': timed out (service_start_timeout=25000ms)
Nov 1 08:45:20 amethi systemd-logind[1330]: Removed session 88.
Nov 1 08:45:30 amethi gdm-password]: pam_unix(gdm-password:session):
session opened for user mythuser by (uid=0)
Nov 1 08:45:30 amethi systemd-logind[1330]: New session 89 of user
mythuser.
Nov 1 08:45:31 amethi gdm-password]: pam_unix(gdm-password:session):
session closed for user mythuser
Nov 1 08:45:41 amethi systemd-logind[1330]: Removed session 89.
More information about the ubuntu-users
mailing list