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;









12


















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.



enter image description here



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?










share|improve this question



























  • 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

















12


















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.



enter image description here



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?










share|improve this question



























  • 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













12













12









12


1






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.



enter image description here



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?










share|improve this question
















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.



enter image description here



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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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 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

















  • 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
















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










2 Answers
2






active

oldest

votes


















1



















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






share|improve this answer


































    0



















    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.






    share|improve this answer


























      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
      );



      );














      draft saved

      draft discarded
















      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









      1



















      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






      share|improve this answer































        1



















        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






        share|improve this answer





























          1















          1











          1









          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






          share|improve this answer
















          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







          share|improve this answer















          share|improve this answer




          share|improve this answer








          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


























              0



















              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.






              share|improve this answer





























                0



















                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.






                share|improve this answer



























                  0















                  0











                  0









                  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.






                  share|improve this answer














                  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.







                  share|improve this answer













                  share|improve this answer




                  share|improve this answer










                  answered Jun 19 '15 at 0:40









                  arslionarslion

                  2212 silver badges6 bronze badges




                  2212 silver badges6 bronze badges































                      draft saved

                      draft discarded















































                      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.




                      draft saved


                      draft discarded














                      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





















































                      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









                      Popular posts from this blog

                      Tamil (spriik) Luke uk diar | Nawigatjuun

                      Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                      Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?