Cannot unlock screen after manual lock in Ubuntu 17.04 with Unity
I have recently reinstalled Ubuntu 17.04 on a new laptop using full disk encryption, having forgotten to enable it the first time.
To save some time on configuration, I created a backup of my home complete directory and restored it in the new installation.
When I start the laptop I can login without any problem, but if the session get's locked I can't log back in again as usual and I get a "wrong password" message.
Using the terminal via CTRL+ALT+F1 accepts the password every time. It also works as a workaround to click "Change User" in the graphical session and then log back in.
I haven't yet found any useful information in any log files.
login password encryption 17.04 lock-screen
add a comment |
I have recently reinstalled Ubuntu 17.04 on a new laptop using full disk encryption, having forgotten to enable it the first time.
To save some time on configuration, I created a backup of my home complete directory and restored it in the new installation.
When I start the laptop I can login without any problem, but if the session get's locked I can't log back in again as usual and I get a "wrong password" message.
Using the terminal via CTRL+ALT+F1 accepts the password every time. It also works as a workaround to click "Change User" in the graphical session and then log back in.
I haven't yet found any useful information in any log files.
login password encryption 17.04 lock-screen
add a comment |
I have recently reinstalled Ubuntu 17.04 on a new laptop using full disk encryption, having forgotten to enable it the first time.
To save some time on configuration, I created a backup of my home complete directory and restored it in the new installation.
When I start the laptop I can login without any problem, but if the session get's locked I can't log back in again as usual and I get a "wrong password" message.
Using the terminal via CTRL+ALT+F1 accepts the password every time. It also works as a workaround to click "Change User" in the graphical session and then log back in.
I haven't yet found any useful information in any log files.
login password encryption 17.04 lock-screen
I have recently reinstalled Ubuntu 17.04 on a new laptop using full disk encryption, having forgotten to enable it the first time.
To save some time on configuration, I created a backup of my home complete directory and restored it in the new installation.
When I start the laptop I can login without any problem, but if the session get's locked I can't log back in again as usual and I get a "wrong password" message.
Using the terminal via CTRL+ALT+F1 accepts the password every time. It also works as a workaround to click "Change User" in the graphical session and then log back in.
I haven't yet found any useful information in any log files.
login password encryption 17.04 lock-screen
login password encryption 17.04 lock-screen
asked Oct 6 '17 at 15:57
mrm1st3rmrm1st3r
63
63
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
It seems that a misguided try to restore the backupped /etc direcory caused the error. as Lock screen - password incorrect suggests, the /etc/gshadow and /etc/shadow were owned by root:root instead of root:shadow.
add a comment |
I had the same issue on Ubuntu 18.04 + Gnome desktop + lightdm.
But initially, I switched back to gnome from unity and left lightdm as is, so when I had second language enabled and lock the screen it seems that Ubuntu didn't switch language to English properly. So I managed to create additional user with digits-only password to reset my main account password when it happens.
Then I though that display manager may be the issue, so I've switched back to gdm3 and all worked normally.
(trying to be more clear, probably I'll try to reproduce that)
- Install Ubuntu 18.04
- sudo apt install ubuntu-unity-desktop
- select lightdm as a default window manager
- return back to gnome
- switch keyboard to the second language
- lock the screen by Win+L
- Password is incorrect
sudo dpkg-reconfigure gdm3, choose gdm3, reboot or re-login- lock screen in any active keyboard language
- Password working as a charm
If I'm not the only one, that should be reported to Ubuntu bugs, surely
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f962583%2fcannot-unlock-screen-after-manual-lock-in-ubuntu-17-04-with-unity%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
It seems that a misguided try to restore the backupped /etc direcory caused the error. as Lock screen - password incorrect suggests, the /etc/gshadow and /etc/shadow were owned by root:root instead of root:shadow.
add a comment |
It seems that a misguided try to restore the backupped /etc direcory caused the error. as Lock screen - password incorrect suggests, the /etc/gshadow and /etc/shadow were owned by root:root instead of root:shadow.
add a comment |
It seems that a misguided try to restore the backupped /etc direcory caused the error. as Lock screen - password incorrect suggests, the /etc/gshadow and /etc/shadow were owned by root:root instead of root:shadow.
It seems that a misguided try to restore the backupped /etc direcory caused the error. as Lock screen - password incorrect suggests, the /etc/gshadow and /etc/shadow were owned by root:root instead of root:shadow.
answered Oct 7 '17 at 19:26
mrm1st3rmrm1st3r
63
63
add a comment |
add a comment |
I had the same issue on Ubuntu 18.04 + Gnome desktop + lightdm.
But initially, I switched back to gnome from unity and left lightdm as is, so when I had second language enabled and lock the screen it seems that Ubuntu didn't switch language to English properly. So I managed to create additional user with digits-only password to reset my main account password when it happens.
Then I though that display manager may be the issue, so I've switched back to gdm3 and all worked normally.
(trying to be more clear, probably I'll try to reproduce that)
- Install Ubuntu 18.04
- sudo apt install ubuntu-unity-desktop
- select lightdm as a default window manager
- return back to gnome
- switch keyboard to the second language
- lock the screen by Win+L
- Password is incorrect
sudo dpkg-reconfigure gdm3, choose gdm3, reboot or re-login- lock screen in any active keyboard language
- Password working as a charm
If I'm not the only one, that should be reported to Ubuntu bugs, surely
add a comment |
I had the same issue on Ubuntu 18.04 + Gnome desktop + lightdm.
But initially, I switched back to gnome from unity and left lightdm as is, so when I had second language enabled and lock the screen it seems that Ubuntu didn't switch language to English properly. So I managed to create additional user with digits-only password to reset my main account password when it happens.
Then I though that display manager may be the issue, so I've switched back to gdm3 and all worked normally.
(trying to be more clear, probably I'll try to reproduce that)
- Install Ubuntu 18.04
- sudo apt install ubuntu-unity-desktop
- select lightdm as a default window manager
- return back to gnome
- switch keyboard to the second language
- lock the screen by Win+L
- Password is incorrect
sudo dpkg-reconfigure gdm3, choose gdm3, reboot or re-login- lock screen in any active keyboard language
- Password working as a charm
If I'm not the only one, that should be reported to Ubuntu bugs, surely
add a comment |
I had the same issue on Ubuntu 18.04 + Gnome desktop + lightdm.
But initially, I switched back to gnome from unity and left lightdm as is, so when I had second language enabled and lock the screen it seems that Ubuntu didn't switch language to English properly. So I managed to create additional user with digits-only password to reset my main account password when it happens.
Then I though that display manager may be the issue, so I've switched back to gdm3 and all worked normally.
(trying to be more clear, probably I'll try to reproduce that)
- Install Ubuntu 18.04
- sudo apt install ubuntu-unity-desktop
- select lightdm as a default window manager
- return back to gnome
- switch keyboard to the second language
- lock the screen by Win+L
- Password is incorrect
sudo dpkg-reconfigure gdm3, choose gdm3, reboot or re-login- lock screen in any active keyboard language
- Password working as a charm
If I'm not the only one, that should be reported to Ubuntu bugs, surely
I had the same issue on Ubuntu 18.04 + Gnome desktop + lightdm.
But initially, I switched back to gnome from unity and left lightdm as is, so when I had second language enabled and lock the screen it seems that Ubuntu didn't switch language to English properly. So I managed to create additional user with digits-only password to reset my main account password when it happens.
Then I though that display manager may be the issue, so I've switched back to gdm3 and all worked normally.
(trying to be more clear, probably I'll try to reproduce that)
- Install Ubuntu 18.04
- sudo apt install ubuntu-unity-desktop
- select lightdm as a default window manager
- return back to gnome
- switch keyboard to the second language
- lock the screen by Win+L
- Password is incorrect
sudo dpkg-reconfigure gdm3, choose gdm3, reboot or re-login- lock screen in any active keyboard language
- Password working as a charm
If I'm not the only one, that should be reported to Ubuntu bugs, surely
answered Jan 22 at 11:37
QooPQooP
12
12
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f962583%2fcannot-unlock-screen-after-manual-lock-in-ubuntu-17-04-with-unity%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown