18.04 login to Lightdm

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

18.04 login to Lightdm

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.

I have pretty good backups if restoring something will fix this. I tried
restoring the /etc/lightdm folder but no difference.

mythuser@amethi:/var/log$ sudo tail -n50 auth.log

Oct 31 10:09:22 amethi sudo: mythuser : TTY=pts/0 ; PWD=/var/log ;
USER=root ; COMMAND=/usr/sbin/service lightdm restart
Oct 31 10:09:22 amethi sudo: pam_unix(sudo:session): session opened for
user root by mythuser(uid=0)
Oct 31 10:09:22 amethi systemd-logind[1072]: Removed session c12.
Oct 31 10:09:22 amethi sudo: pam_unix(sudo:session): session closed for
user root
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
Oct 31 10:09:23 amethi lightdm: PAM adding faulty module: pam_kwallet.so
Oct 31 10:09:23 amethi lightdm: PAM unable to dlopen(pam_kwallet5.so):
/lib/security/pam_kwallet5.so: cannot open shared object file: No such
file or directory
Oct 31 10:09:23 amethi lightdm: PAM adding faulty module: pam_kwallet5.so
Oct 31 10:09:23 amethi lightdm: pam_unix(lightdm-greeter:session):
session opened for user lightdm by (uid=0)
Oct 31 10:09:23 amethi systemd: pam_unix(systemd-user:session): session
opened for user lightdm by (uid=0)
Oct 31 10:09:23 amethi systemd-logind[1072]: New session c13 of user
lightdm.
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
Oct 31 10:09:23 amethi lightdm: PAM adding faulty module: pam_kwallet.so
Oct 31 10:09:23 amethi lightdm: PAM unable to dlopen(pam_kwallet5.so):
/lib/security/pam_kwallet5.so: cannot open shared object file: No such
file or directory
Oct 31 10:09:23 amethi lightdm: PAM adding faulty module: pam_kwallet5.so
Oct 31 10:09:23 amethi lightdm: pam_succeed_if(lightdm:auth):
requirement "user ingroup nopasswdlogin" not met by user "mythuser"
Oct 31 10:09:40 amethi systemd-logind[1072]: Removed session c13.

mythuser@amethi:/etc/lightdm$ cat /etc/lightdm/lightdm.conf
[SeatDefaults]
#autologin-guest=false

#autologin-user=mythuser
#autologin-user-timeout=5
#autologin-session=lightdm-autologin
mythuser@amethi:/etc/lightdm$ cat /etc/lightdm/lightdm.conf
[SeatDefaults]
#autologin-guest=false

#autologin-user=mythuser
#autologin-user-timeout=5
#autologin-session=lightdm-autologin


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: 18.04 login to Lightdm

Volker Wysk
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.
>
> I have pretty good backups if restoring something will fix this. I tried
> restoring the /etc/lightdm folder but no difference.
>
> mythuser@amethi:/var/log$ sudo tail -n50 auth.log
>
(...)
> 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.


Good luck,
Volker

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: 18.04 login to Lightdm

Jack McGee

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@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.



--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: 18.04 login to Lightdm

Liam Proven
In reply to this post by Jack McGee
On Sat, 31 Oct 2020 at 16:15, Jack McGee <[hidden email]> wrote:
>
> 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.

Have a look at Gregory Gamble's recent thread.

This is not a login failure. You are logging in successfully, but then
your desktop session is crashing, which returns you to the login
screen.


--
Liam Proven – Profile: https://about.me/liamproven
Email: [hidden email] – gMail/gTalk/gHangouts: [hidden email]
Twitter/Facebook/LinkedIn/Flickr: lproven – Skype: liamproven
UK: +44 7939-087884 – ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: 18.04 login to Lightdm

Volker Wysk
Am Sonntag, den 01.11.2020, 17:38 +0100 schrieb Liam Proven:

> On Sat, 31 Oct 2020 at 16:15, Jack McGee <[hidden email]> wrote:
> > 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.
>
> Have a look at Gregory Gamble's recent thread.
>
> This is not a login failure. You are logging in successfully, but then
> your desktop session is crashing, which returns you to the login
> screen.
What about that line in auth.log:

Oct 31 10:09:23 amethi lightdm: PAM unable to dlopen(pam_kwallet5.so):
/lib/security/pam_kwallet5.so: cannot open shared object file: No such
file or directory

It says that this has been logged by lightdm. This looks like a login
problem to me.

Or could it be something in KDE's startup process, which gets executed by
lightdm after successful login?

Volker

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: 18.04 login to Lightdm

Jack McGee
In reply to this post by Liam Proven
thank you for telling me to look at that thread again more closely. 
This has happened to me before.  It is the XFCE environment I cannot
load.  I picked Unity and I have desktop again.

I think I can sort out XFCE now that I know that is it.


On 11/1/20 10:38 AM, Liam Proven wrote:

> On Sat, 31 Oct 2020 at 16:15, Jack McGee <[hidden email]> wrote:
>> 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.
> Have a look at Gregory Gamble's recent thread.
>
> This is not a login failure. You are logging in successfully, but then
> your desktop session is crashing, which returns you to the login
> screen.
>
>

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: 18.04 login to Lightdm

Liam Proven
In reply to this post by Volker Wysk
On Sun, 1 Nov 2020 at 17:54, Volker Wysk <[hidden email]> wrote:
>
> What about that line in auth.log:
>
> Oct 31 10:09:23 amethi lightdm: PAM unable to dlopen(pam_kwallet5.so):
> /lib/security/pam_kwallet5.so: cannot open shared object file: No such
> file or directory
>
> It says that this has been logged by lightdm. This looks like a login
> problem to me.

No, because he can log in from ssh, and I am willing to bet also from
a vconsole.

(And now, as we know, from a different desktop, too.)

All different login methods use the same authentication process. If
any one works, then it's not an authentication issue.


--
Liam Proven – Profile: https://about.me/liamproven
Email: [hidden email] – gMail/gTalk/gHangouts: [hidden email]
Twitter/Facebook/LinkedIn/Flickr: lproven – Skype: liamproven
UK: +44 7939-087884 – ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users