How to Enable password after lock/SuspendHow to enable new lock screen on gnome 3.6?12.04 Lock screen and password prompt skipped after resume from suspendHow do I change my lock screen in Ubuntu 13.10?Xubuntu: Turn off password after suspendXScreenSaver Lock ScreenRequiring password after returning from blank screen not working Ubuntu 14.04, Ubuntu 16.04Suspend vs Screen LockTurn off requesting user password after suspend 17.10
What does “critical but stable” mean?
Can two different limbs... Merge?
Can a Rod of Absorption Absorb a spell that was Twinned?
Is one spouse responsible if other failed to file taxes
Could a Senator commit perjury if they swear the oath at the impeachment trial in the senate?
Is the number of federal judges appointed by Trump unusual?
Is it possible to conserve the total kinetic energy of a system, but not its momentum?
Generic circular doubly linked list
Undercooked areas in chicken breast even though thermometer reads 165 degrees in thickest part
What's the difference between "men of violence" and "violent men"?
Can this crack in the steel chain-side dropout be welded?
Why is this defense against "It's a Unix system!" not widely implemented?
Why there isn't public transport on Christmas Day in the UK
How to prevent stopping a macro on unsuccessful substitution?
"Government transplant" been tried? At what scale, and what were the results?
I missed an important client meeting and hurt my standing. How can I recover?
How Much Would a Language Change Over 500 Years Completely Cut Off From Its Source?
Using a heater and toaster oven trips the breaker. Can an electrician fix this?
The use of ''riddle' in this context
Eating at Tsukiji Outer Market from 31 December to 3 January (Public Holiday)
Does adamantium solve the giant mecha problem?
Should I invest ~18k being 19 years old?
5yrs old being bossy... Is this too much or tolerable at this age?
What is the best substitute for sherry vinegar?
How to Enable password after lock/Suspend
How to enable new lock screen on gnome 3.6?12.04 Lock screen and password prompt skipped after resume from suspendHow do I change my lock screen in Ubuntu 13.10?Xubuntu: Turn off password after suspendXScreenSaver Lock ScreenRequiring password after returning from blank screen not working Ubuntu 14.04, Ubuntu 16.04Suspend vs Screen LockTurn off requesting user password after suspend 17.10
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I tried searching for an answer. But everyone is asking for autologin or disable passwd. But i want to put a password which on my laptop is not enabled. I tried to do this in settings but it won't work. Autologin is off. Brightness and lock settings are below.
I don't know what else I can do. When I lock the pc, the screen goes black and then simply wakes up to the home screen without any password. Same case happened when I suspend the laptop.
So, how can I be prompted to enter my password each time the computer wakes from sleep or activates the screensaver?
login password suspend lock-screen
|
show 3 more comments
I tried searching for an answer. But everyone is asking for autologin or disable passwd. But i want to put a password which on my laptop is not enabled. I tried to do this in settings but it won't work. Autologin is off. Brightness and lock settings are below.
I don't know what else I can do. When I lock the pc, the screen goes black and then simply wakes up to the home screen without any password. Same case happened when I suspend the laptop.
So, how can I be prompted to enter my password each time the computer wakes from sleep or activates the screensaver?
login password suspend lock-screen
Could you post the output ofdpkg - l | grep screensaver
? That would help me see if one solution is viable :)
– RPiAwesomeness
Jun 13 '15 at 22:21
Use 'apt' or 'aptitude' for user-friendly package management; Type dpkg -Dhelp for a list of dpkg debug flag values; Type dpkg --force-help for a list of forcing options; Type dpkg-deb --help for help about manipulating *.deb files; Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
@RPiAwesomeness
– arslion
Jun 13 '15 at 22:39
i am using 14.04 LTS
– arslion
Jun 13 '15 at 22:43
And you typed it in exactly asdpkg -l | grep screensaver
?
– RPiAwesomeness
Jun 13 '15 at 22:44
as you said, Yes
– arslion
Jun 13 '15 at 22:45
|
show 3 more comments
I tried searching for an answer. But everyone is asking for autologin or disable passwd. But i want to put a password which on my laptop is not enabled. I tried to do this in settings but it won't work. Autologin is off. Brightness and lock settings are below.
I don't know what else I can do. When I lock the pc, the screen goes black and then simply wakes up to the home screen without any password. Same case happened when I suspend the laptop.
So, how can I be prompted to enter my password each time the computer wakes from sleep or activates the screensaver?
login password suspend lock-screen
I tried searching for an answer. But everyone is asking for autologin or disable passwd. But i want to put a password which on my laptop is not enabled. I tried to do this in settings but it won't work. Autologin is off. Brightness and lock settings are below.
I don't know what else I can do. When I lock the pc, the screen goes black and then simply wakes up to the home screen without any password. Same case happened when I suspend the laptop.
So, how can I be prompted to enter my password each time the computer wakes from sleep or activates the screensaver?
login password suspend lock-screen
login password suspend lock-screen
edited Jun 13 '15 at 22:28
terdon
76.6k15 gold badges153 silver badges240 bronze badges
76.6k15 gold badges153 silver badges240 bronze badges
asked Jun 13 '15 at 22:07
arslionarslion
2212 silver badges6 bronze badges
2212 silver badges6 bronze badges
Could you post the output ofdpkg - l | grep screensaver
? That would help me see if one solution is viable :)
– RPiAwesomeness
Jun 13 '15 at 22:21
Use 'apt' or 'aptitude' for user-friendly package management; Type dpkg -Dhelp for a list of dpkg debug flag values; Type dpkg --force-help for a list of forcing options; Type dpkg-deb --help for help about manipulating *.deb files; Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
@RPiAwesomeness
– arslion
Jun 13 '15 at 22:39
i am using 14.04 LTS
– arslion
Jun 13 '15 at 22:43
And you typed it in exactly asdpkg -l | grep screensaver
?
– RPiAwesomeness
Jun 13 '15 at 22:44
as you said, Yes
– arslion
Jun 13 '15 at 22:45
|
show 3 more comments
Could you post the output ofdpkg - l | grep screensaver
? That would help me see if one solution is viable :)
– RPiAwesomeness
Jun 13 '15 at 22:21
Use 'apt' or 'aptitude' for user-friendly package management; Type dpkg -Dhelp for a list of dpkg debug flag values; Type dpkg --force-help for a list of forcing options; Type dpkg-deb --help for help about manipulating *.deb files; Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
@RPiAwesomeness
– arslion
Jun 13 '15 at 22:39
i am using 14.04 LTS
– arslion
Jun 13 '15 at 22:43
And you typed it in exactly asdpkg -l | grep screensaver
?
– RPiAwesomeness
Jun 13 '15 at 22:44
as you said, Yes
– arslion
Jun 13 '15 at 22:45
Could you post the output of
dpkg - l | grep screensaver
? That would help me see if one solution is viable :)– RPiAwesomeness
Jun 13 '15 at 22:21
Could you post the output of
dpkg - l | grep screensaver
? That would help me see if one solution is viable :)– RPiAwesomeness
Jun 13 '15 at 22:21
Use 'apt' or 'aptitude' for user-friendly package management; Type dpkg -Dhelp for a list of dpkg debug flag values; Type dpkg --force-help for a list of forcing options; Type dpkg-deb --help for help about manipulating *.deb files; Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
@RPiAwesomeness– arslion
Jun 13 '15 at 22:39
Use 'apt' or 'aptitude' for user-friendly package management; Type dpkg -Dhelp for a list of dpkg debug flag values; Type dpkg --force-help for a list of forcing options; Type dpkg-deb --help for help about manipulating *.deb files; Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
@RPiAwesomeness– arslion
Jun 13 '15 at 22:39
i am using 14.04 LTS
– arslion
Jun 13 '15 at 22:43
i am using 14.04 LTS
– arslion
Jun 13 '15 at 22:43
And you typed it in exactly as
dpkg -l | grep screensaver
?– RPiAwesomeness
Jun 13 '15 at 22:44
And you typed it in exactly as
dpkg -l | grep screensaver
?– RPiAwesomeness
Jun 13 '15 at 22:44
as you said, Yes
– arslion
Jun 13 '15 at 22:45
as you said, Yes
– arslion
Jun 13 '15 at 22:45
|
show 3 more comments
2 Answers
2
active
oldest
votes
Edit the file '/etc/systemd/logind.conf'
sudo nano /etc/systemd/logind.conf
Removed the # comment from the beginning of the line 'HandleLidSwitchDocked=ignore' and changed the value to be:
HandleLidSwitchDocked=suspend
Then Reboot your system
add a comment
|
I tried many things but none of them works. and xscreensaver is the only alternative. After searching I finally try to update the ubuntu to the latest stable version from 14.04 to 14.10 via Software Updater and then everything will be fine.
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/4.0/"u003ecc by-sa 4.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%2f636159%2fhow-to-enable-password-after-lock-suspend%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
Edit the file '/etc/systemd/logind.conf'
sudo nano /etc/systemd/logind.conf
Removed the # comment from the beginning of the line 'HandleLidSwitchDocked=ignore' and changed the value to be:
HandleLidSwitchDocked=suspend
Then Reboot your system
add a comment
|
Edit the file '/etc/systemd/logind.conf'
sudo nano /etc/systemd/logind.conf
Removed the # comment from the beginning of the line 'HandleLidSwitchDocked=ignore' and changed the value to be:
HandleLidSwitchDocked=suspend
Then Reboot your system
add a comment
|
Edit the file '/etc/systemd/logind.conf'
sudo nano /etc/systemd/logind.conf
Removed the # comment from the beginning of the line 'HandleLidSwitchDocked=ignore' and changed the value to be:
HandleLidSwitchDocked=suspend
Then Reboot your system
Edit the file '/etc/systemd/logind.conf'
sudo nano /etc/systemd/logind.conf
Removed the # comment from the beginning of the line 'HandleLidSwitchDocked=ignore' and changed the value to be:
HandleLidSwitchDocked=suspend
Then Reboot your system
edited Dec 6 at 14:26
answered Jan 25 '18 at 8:03
M.A.K. RiponM.A.K. Ripon
1,7891 gold badge12 silver badges29 bronze badges
1,7891 gold badge12 silver badges29 bronze badges
add a comment
|
add a comment
|
I tried many things but none of them works. and xscreensaver is the only alternative. After searching I finally try to update the ubuntu to the latest stable version from 14.04 to 14.10 via Software Updater and then everything will be fine.
add a comment
|
I tried many things but none of them works. and xscreensaver is the only alternative. After searching I finally try to update the ubuntu to the latest stable version from 14.04 to 14.10 via Software Updater and then everything will be fine.
add a comment
|
I tried many things but none of them works. and xscreensaver is the only alternative. After searching I finally try to update the ubuntu to the latest stable version from 14.04 to 14.10 via Software Updater and then everything will be fine.
I tried many things but none of them works. and xscreensaver is the only alternative. After searching I finally try to update the ubuntu to the latest stable version from 14.04 to 14.10 via Software Updater and then everything will be fine.
answered Jun 19 '15 at 0:40
arslionarslion
2212 silver badges6 bronze badges
2212 silver badges6 bronze badges
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%2f636159%2fhow-to-enable-password-after-lock-suspend%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
Could you post the output of
dpkg - l | grep screensaver
? That would help me see if one solution is viable :)– RPiAwesomeness
Jun 13 '15 at 22:21
Use 'apt' or 'aptitude' for user-friendly package management; Type dpkg -Dhelp for a list of dpkg debug flag values; Type dpkg --force-help for a list of forcing options; Type dpkg-deb --help for help about manipulating *.deb files; Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
@RPiAwesomeness– arslion
Jun 13 '15 at 22:39
i am using 14.04 LTS
– arslion
Jun 13 '15 at 22:43
And you typed it in exactly as
dpkg -l | grep screensaver
?– RPiAwesomeness
Jun 13 '15 at 22:44
as you said, Yes
– arslion
Jun 13 '15 at 22:45