Can't type password after resume.

Bug #1311403 reported by NoBugs! on 2014-04-23
164
This bug affects 36 people
Affects Status Importance Assigned to Milestone
Unity
Confirmed
High
Unassigned
unity (Ubuntu)
High
Unassigned

Bug Description

I couldn't type password after resume - no characters displayed this time.

I had to Ctrl+alt+f2 and service lightdm restart.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: lightdm 1.10.0-0ubuntu3
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
Date: Tue Apr 22 17:37:49 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-11-23 (150 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: lightdm
UpgradeStatus: Upgraded to trusty on 2014-04-19 (3 days ago)

NoBugs! (luke32j) wrote :
Robert Ancell (robert-ancell) wrote :

Are you in the greeter or the lock screen?

Changed in lightdm (Ubuntu):
status: New → Incomplete
NoBugs! (luke32j) wrote :

The lock screen after resume - the one that looks like the user-login now since 14.04.

affects: lightdm (Ubuntu) → unity (Ubuntu)
Sebastien Bacher (seb128) wrote :

Did you have a password prompt open when the screen got locked? in which case that could be a duplicate of bug #1305586

Andrea Azzarone (azzar1) on 2014-04-23
tags: added: lockscreen
Changed in unity:
status: New → Incomplete
Changed in unity (Ubuntu):
importance: Undecided → High
Changed in unity:
importance: Undecided → High
NoBugs! (luke32j) wrote :

That bug with workaround of clicking on guest session isn't applicable here because it's only one text box - lock screen.

I don't think it's a duplicate.

Andrea Azzarone (azzar1) wrote :

How did you suspend your system? Closing the lid, system-menu, etc?

NoBugs! (luke32j) wrote :

Just closing and re-opening - which usually works just fine.

Till W. (tillw.) wrote :

I experienced the same behavior. After resuming from a suspend-to-RAM, I was not able to type a password in the lock-screen. After clicking into the password-entry field, no blinking cursor appeared and typing characters did not work. The buttons were clickable, though. I switched to a text TTY and killed gnome-screensaver to get back into my running GNOME session.

I am using gnome-flashback session with lightdm.

Sebastien Bacher (seb128) wrote :

@Till: your issue is a different one, the bug here is specific to Unity sessions

NoBugs! (luke32j) wrote :

Just happened again, and as a workaround, I chose switch session from the upper right, then I could log back in to my session.

Andrea Azzarone (azzar1) wrote :

Do you remember which program had the focus when you closed the laptop? VirtualBox, Remina, or something like that?

Henna Haahti (grejppi) wrote :

This has happened to me a couple of times after resuming from suspend (opening the laptop's lid).

Sometimes there is a delay before the lock screen is displayed -- your session is visible for a second or so.

Once I managed to focus on a terminal window before the lock screen appeared, and I was unable to type my password in the password field. I managed to work around this somehow (unfortunately I don't remember how) and discovered that all characters I had typed were entered into the terminal window.

Looks like a serious security risk.

Chris J Arges (arges) wrote :

I can reproduce this reliably on my thinkpad t420. I just close the lid and when I resume I can not type into the password box.
If I click on a menu item, then I can click again. This is a *major* nuisance at this point, and I'll willing to help debug just ping me on IRC.

Changed in unity (Ubuntu):
status: Incomplete → Confirmed
Changed in unity:
status: Incomplete → Confirmed
Changed in lightdm (Ubuntu):
importance: Undecided → High
status: New → Invalid
Josh Arenson (josharenson) wrote :

I'm running latest Utopic and I see this exact same issue as well.

NoBugs! (luke32j) wrote :

Yikes, I just noticed after clicking in the upper right dropdowns, then clicking in the password and entering password, it worked, and what I'd previously typed was in the terminal (which had had focus)!

So this is a security bug.

Dave Chiluk (chiluk) wrote :

Same issue here. This really should be a security concern. Any one of us could have been typing our password directly into irc if it was in focus behind the lock screen.

no longer affects: lightdm (Ubuntu)
gregreen (gregreen) wrote :

I've noticed that when this happens, if a text box was selected before closing my laptop's lid, when I open up again and try to enter in my password, it's entered into the text box, instead of into the password field. Needless to say, that's an incredibly disturbing behavior, especially when the text box behind the lock screen is an instant messaging service! This bug has, for whatever reason, just started to affect my system (an up-to-date Ubuntu 14.04 system) over the past day.

gregreen (gregreen) wrote :

This bug should definitely be marked as a security risk. It makes it incredibly easy to inadvertently expose your administrator password to other applications. I hope this bug gets addressed within the next few days.

Jeremy Cooper (2-jeremy) wrote :

I'm new to the Ubuntu community, however I just experienced this behavior from Unity. However in my case I didn't have to fully suspend the computer.
In my case Ubuntu put my monitor into power save mode.
When I moved my mouse to wake my screen back up I was at the lock screen, clicked into the password box (currsor appeared) and began to type, nothing was being entered. I clicked the control icon in the top right then back into the password entry field, it began to recognize characters and let me back into my session.
Once I was in I saw it had put my password into my last clicked on text entry box (a Facebook chat). Definitely a security risk.
The other applications I had open were terminal (ssh'd into a server), document viewer (pdf), & had an audio stream playing in a flash based player.
I've only been using Ubuntu for about a week and this is the first time I experienced this issue.
The only recent (past couple days) I made was installing flash player.
Just sharing my experience in case it's of any help.

Sergio Torassa (sertorassa) wrote :

I experienced the same behaviour as Jeremy, but it is not reliable.
E.g., after lightdm restart everything seems to work properly.

Not sure if the same as #1349128, because in my case the password input box inside the login box is not displayed at all.

If it can be helpful, in my case Synergy is running and Chrome is not.

Matthew Tift (mctift) wrote :

This also affects me on a ThinkPad T430s. Definitely a big security risk. It's been happening for weeks.

Aaron (armahillo) wrote :

I experience this occasionally, but it's inconsistent. Sometimes the lock screen works on resume and other times it does not. I cannot reliably reproduce the error.

Jake W. (jakeworth82) wrote :

I can reproduce this bug consistently on a Lenovo Thinkpad Edge (Ubuntu 14.04 + lightdm version: 1.10.1-0ubuntu1).

When I open the lid and try to log in, the input goes to the active program in the session. This is a security concern because that could expose my password to a variety of other programs (IRC, GChat, etc.).

Current workaround is to click the gear icon, which makes the input register in the password field.

Bryn Hughes (linux-nashira) wrote :

Removed 'duplicate' status as the fix committed in the bug this was marked as a duplicate of does not solve the issue described here. Confirmed with unity:amd64/trusty-security 7.2.2+14.04.20140714-0ubuntu1.1

I notice a significant number of Thinkpad owners appear to experience this problem - I am likewise on a Thinkpad W510.

In my case there is no 'gear icon' or any indicators visible at the lock screen, so the workaround in #23 doesn't do anything.

Aaron (aaronb-s) wrote :

I've just encountered this on a Lenovo Thinkpad T520.
No password prompt, no gear icon, just a grey box with my name in it. Had to restart lightdm which is inconvenient to say the least.

Nate Finch (natefinch) wrote :

This happens sporadically on my 2013 Dell XPS-15 (same model Mark Shuttleworth uses... just sayin' ;)

For me, the passowrd text box often just doesn't show up at all.... the rest of the UI is there, but not the text box.

Sometimes I can click on guest session from the gear menu to get it back, but sometimes there is no gear menu, and I have to hard reset (maybe there's some other way to cancel out of the lock screen, but I don't know it).

Is this a duplicate of bug #1311316?

Pithikos (manossef) wrote :

Same problem here! I have a Thinkpad T440s at work and sometimes I have to restart the whole computer resulting in me losing unsaved work!

jong (agitato816) wrote :

same here

Lenovo T530
Ubuntu 14.04 amd64

Linux umi 3.13.0-46-generic #75-Ubuntu SMP Tue Feb 10 15:24:04 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

jong (agitato816) wrote :

workaround:

ctl+alt+f1
terminal log in
$ sudo service lightdm restart
change input language to english (if you have another language)
log in

another workaround without the risk of losing your work:

http://askubuntu.com/questions/463372/lightdm-cannot-type-password-on-login-screen

Does anyone know if there is a fix for this issue perhaps available in 15.04 when it arrives? I have encountered this bug since 12.04 LTS on very random occasions. Was a major letdown that it was present even in 14.04 LTS . Have not tested with 14.10.

Rob (robbie-cartwood) wrote :

This is still present in 15.04.

i.e. the password dialogue box is present on the lock screen but keyboard input results in no dots appearing. It is not just a case of "no dots" being displayed because typing the full password and pressing return has no effect.

This is listed as a possible duplicate of bug #1311316 but this may not be the case as that bug seems concerned with the lack of password box being displayed and maybe dual monitors.

NOTE
In my case, if an onscreen touch keyboard is used, a password can be entered suggesting an issue with reactivating the keyboard following resume.

G.C. Hassink (gchassink) wrote :

The same in ubuntu 14.04 gnome with gdm

Alex (luehm) wrote :

I am having this same issue with 16.04 - Whenever I am prompted with the locking screen, I am not able to fill in my password - the cursor does not blink, and no matter where I click on the screen (gear icon, etc...) I am not able to enter password.

In addition - when the system keyboard is NOT english I am unable to enter tty1-6 via ctrl+alt+f<num> to restart lightdm - works find with english keyboard. I've not looked extensively into what the F<num> keys are under German, but I'd imagine that there wouldn't be much of a difference.

LeSam (lesametlemax) wrote :

This bug is present in 16.04 with current updates, however it only started around a week ago so it was probably introduced in a recent update.

It is not a duplicate of 1311316 as the password box is still there, it just doesn't accept keyboard input.

A work-around is to start and logout from a guest session, then when returning to the login screen the password field works normally.

An easier work around is to select switch user from the settings menu.

fernanda (nandatrancoso) wrote :

even switching users isnt working for me, only restarting

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers