Results 1 to 9 of 9

Thread: Can't log in from a locked screen

  1. #1

    Default Can't log in from a locked screen

    So when I come back after away from my pc for a long time (3 or 4 hours), it shows "the session is locked by user1(me)". When I input the password, it shows "can't log in due to authentication failure".

    1. This happens if I afk for a long time (3 or 4 hours) and the screen was locked by a screen saver.
    2. I had this problem since version 12.3.
    3. It seemed I can't do nothing but press the power button when this happens.

    I am not sure if it happens every time, because most of the time I can log in from a locked screen.

  2. #2
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,288

    Default Re: Can't log in from a locked screen

    Cap locks set maybe?

  3. #3
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Can't log in from a locked screen

    On 2014-01-14 16:16, bonedriven wrote:
    >
    > So when I come back after away from my pc for a long time (3 or 4
    > hours), it shows "the session is locked by user1(me)". When I input the
    > password, it shows "can't log in due to authentication failure".


    Try setting up a different password.


    > 2. I had this problem since version 12.3.
    > 3. It seemed I can't do nothing but press the power button when this
    > happens.


    You probably can enter [Ctrl][Alt][F1], log in as your user, and try
    killing the screensaver. Use [Ctrl][Alt][F7] to go back to the graphical
    session.

    As worst, you can do:

    Code:
    su -
    init 3
    init 5
    which kills and reinits the graphical session.



    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  4. #4

    Default Re: Can't log in from a locked screen

    Hi !

    Quote Originally Posted by bonedriven View Post
    So when I come back after away from my pc for a long time (3 or 4 hours), it shows "the session is locked by user1(me)". When I input the password, it shows "can't log in due to authentication failure".

    1. This happens if I afk for a long time (3 or 4 hours) and the screen was locked by a screen saver.
    2. I had this problem since version 12.3.
    3. It seemed I can't do nothing but press the power button when this happens.
    Not good to press the power button, but you'll probably know this.

    Somewhere in the SUSE menu (click on the head of the chameleon in the lower left corner of the screen, I'm using KDE),
    under applications, you can choose sth. like system preferences to set the time after which your session is locked.
    Otherwise try with YaST.
    There you should as well be able to completely disable the locking of the session (that's what I did for several consecutive
    versions of openSUSE already).

    Quote Originally Posted by gogalthorp View Post
    Cap locks set maybe?
    He meant 'caps lock'.
    Funny little typing error

    Yes, if you have caps lock on, an didn't recognize that, your password may never work unless you
    disable caps lock again.

    Quote Originally Posted by robin_listas View Post
    On 2014-01-14 16:16, bonedriven wrote:
    >
    > So when I come back after away from my pc for a long time (3 or 4
    > hours), it shows "the session is locked by user1(me)". When I input the
    > password, it shows "can't log in due to authentication failure".


    Try setting up a different password.


    > 2. I had this problem since version 12.3.
    > 3. It seemed I can't do nothing but press the power button when this
    > happens.


    You probably can enter [Ctrl][Alt][F1], log in as your user, and try
    killing the screensaver. Use [Ctrl][Alt][F7] to go back to the graphical
    session.

    As worst, you can do:

    Code:
    su -
    init 3
    init 5
    which kills and reinits the graphical session.


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)
    Yes, pressing [Ctrl][Alt][F1] gives you the opportunity to login to a console,
    but then you could as well immediately login as root (user name 'root').

    After that I would prefer a
    Code:
    shutdown -h now
    Then you can decide if you want to start the PC again immediately, or later.

    Good luck
    Mike

  5. #5
    Join Date
    Nov 2013
    Location
    Kamloops, BC, Canada
    Posts
    4,029

    Default Re: Can't log in from a locked screen

    Quote Originally Posted by ratzi View Post

    He meant 'caps lock'.
    Funny little typing error

    Yes, if you have caps lock on, an didn't recognize that, your password may never work unless you
    disable caps lock again.
    Also, check yer nums locks ... er, your Num Lock

    I have seen the state of that change at times when locking out.

    Also, I find that occasionally the login from the lock screen does not respond to typing from the keyboard, so I can't enter my password, but if I hit enter, it gives me a login error, then the chance to try again. It works properly on the next attempt.

    -fb
    "Take a Walk on a Sunny Day, Greet everyone along the way, and Make Somebody Smile, Today"
    Gerry Jack Macks"Walk On A Sunny Day" GerryJackMacks.net

  6. #6

    Default Re: Can't log in from a locked screen

    Thanks all for the reply

    If it's the wrong password, it shows "unlock failed". Yet mine is "login failed due to authentication system failed to work".

    I just had the problem again 10 minutes ago, and it seems it does take only 10 minutes of afk (not 3 or 4 hours I mentioned above) to reproduce.

    But I can't always reproduce this problem. It happens randomly, but quite often if I may say.

    I tried ctrl+alt+f1 but I got stuck at the black login screen and I lost patience. So for the 2nd time this week I pressed the power button.

  7. #7
    Join Date
    Dec 2008
    Location
    Between keyboard and chair
    Posts
    96

    Default Re: Can't log in from a locked screen

    That is an odd error message, can't remember ever seeing it before. Almost sounds as if the screen locker can't talk to the authentication back-end...

    Have you tried looking in .xsession-errors or .xsessions-errors-:0 in your home directory? Any errors in there that might shed some light on what's going on?
    Or perhaps /var/log/messages? Does that log any authentication problems?

  8. #8

    Default Re: Can't log in from a locked screen

    Quote Originally Posted by joopberis View Post
    That is an odd error message, can't remember ever seeing it before. Almost sounds as if the screen locker can't talk to the authentication back-end...

    Have you tried looking in .xsession-errors or .xsessions-errors-:0 in your home directory? Any errors in there that might shed some light on what's going on?
    Or perhaps /var/log/messages? Does that log any authentication problems?
    Thank you for the tips.
    In .xsession-errors-:0 it is a mess of error messages without time stamp, while in /var/log/messages I don't know if the "authentication failure" message is for the wrong password or the "authentication failed to work".

    I'll have to check that again next time when it happens.

    BTW, what should I do to check if a hard reboot has done some damage to the system? As windows would do a disk check after a hard reboot.

  9. #9
    Join Date
    Dec 2008
    Location
    Between keyboard and chair
    Posts
    96

    Default Re: Can't log in from a locked screen

    I believe (not 100% sure) that .xsession-errors-:0 is for the _current_ session, so reading from the bottom upwards, may yield some interesting results. In /var/log/messages, you should see an "authentication failure" for an incorrect password. Any other message could give a clue.

    It is normal for filesystems to be checked upon boot, and most errors (most likely orphaned stuff) get corrected automatically if the volume was not cleanly unmounted.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •