LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 10-30-2018, 12:55 PM   #1
semiabsent
LQ Newbie
 
Registered: Oct 2018
Posts: 1

Rep: Reputation: Disabled
XFCE screen lock fails to login after failed login attempt


I have a relatively fresh install of Debian stretch. I am using XFCE and lightdm for session management. I seem to be having a rather strange issue however. Occasionally when attempting to sign in from a lock screen, login fails stating login failure, and subsequent attempts all fail to login with no message. There is no limit on the number of times you can reattempt. No amount allows a successful login.

Observations:
1. This only appears to happen when the session has been locked.
2. It does not happen all the time.
3. It appears that the culprit could be a failed sign in attempt with a bad password (hard to verify as you can't see what you typed)
4. Switching to another vtty allows login just fine.
5. Switching back to vtty7 shows a black screen with the message "Session Locked". This message dissapears after a few seconds and you are back at the login screen.
6. Failures after this step cause a repeat of the issue.
6. Logging in with any other account, then back out, then back into the account with a locked session allows login.

I suspect the issue has something to do with lightdm or one of its modules. Just not sure what one.

/var/log/auth.log contains entries like this near these failed attempts to sign in. However, there is no indication of an authentication error prior to them.
Code:
Oct 30 12:23:05 netitechwks lightdm: pam_unix(lightdm:auth): check pass; user unknown
Oct 30 12:23:05 netitechwks lightdm: pam_unix(lightdm:auth): authentication failure; logname= uid=0 euid=0 tty=:1 ruser= rhost=
These seem to indicate to me that somehow lightdm is not pulling the username field from the login prompt? But entering a different username allows normal login.

If needed I can upload other sections of relevant logs. Any ideas are greatly appreciated.
 
Old 11-01-2018, 03:47 PM   #2
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia 7 - Debian 10 - Artix Linux
Posts: 1,142
Blog Entries: 5

Rep: Reputation: 207Reputation: 207Reputation: 207
Over time with different distros, using Lightdm, I noticed issues similar to yours. I ended up switching to LXDM DM and haven't had the issue anymore.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
login always fails after first failed attempt, libgcrypt warning flesh75 Linux From Scratch 7 01-17-2015 05:33 PM
[SOLVED] Send mail on failed attempt to login milljunky Linux - Security 2 06-03-2012 12:09 PM
Make computer shutdown on failed login attempt? Canadian1296 Linux - Security 2 11-21-2011 12:03 AM
Block IP after failed login attempt using iptables? FireRaven Linux - Security 6 08-11-2009 12:33 PM
Login fails - being taken back to login screen donhare Mandriva 3 11-11-2004 04:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 12:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration