Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am experiencing a very frustrating issue while running Xubuntu 13.04.

It seems like Xubuntu does not need to require the password, when pulling the lid over.

I already tried to search for a fix on the world wide web: unfortunately, I did not find any working solution about it.

Then, I decided to search on Ask Ubuntu for a conceivable settlement: I read about a similar issue right in this thread -> Xubuntu: No password request after suspension

I tried to follow both of the solutions therein listed, but (unfortunately) I had no luck in solving the problem.

Can You kindly consider to help me finding a better elucidation?

Thank you so much in advance.

share|improve this question
1  
And what release of Xubuntu are you using? –  Bruno Pereira Oct 16 '13 at 9:17

2 Answers 2

up vote 0 down vote accepted

Have you tried xscreensaver?

  • Install it by following commands if not already installed:

    sudo apt-get -f install xscreensaver
    
  • Open it from Application Menu -> Settings -> Screensaver or type xscreensaver in your terminal

  • Under Display Mode tab tick the Lock Screen After check-box after giving appropriate value.

  • That's it..

Alternate way to get the lock screen

xautolock and xlock would definitely help you if above doesn't work for you.

  • Install two packages by executing following commands:

    sudo apt-get install xautolock xlockmore
    
  • Once installed press Alt+F2 to and type xautolock -time 1 and press Enter to run xlock daemon.

  • Wait and see.. :) Your screen will be locked in 1 minute. You can give any time you want. you're screen will be locked after every idle of 1 minute.

  • To stop the xlock daemon i,e if you don't want to lock your screen any more type followng command in terminal:

    xautolock -exit
    

Reply if it helps you too.. :) Please give me some time so that I could write the script to run the xlock daemon on every system start.

share|improve this answer
    
Thank you so much Saurav Kumar: it seems like Xscreensaver did solve the issue. Thank you so, so much. –  shoryuken Oct 16 '13 at 15:40

I'm using Debian Jessie with xfce and had a similar issue. Password after suspend was required but not after wake up from hibernation.

I ticked the box Lock screen when going for suspend in the Xfce Power Manager - Extended GUI to no avail. Then I followed the advice in the above mentioned post Xubuntu: No password request after suspension for terminal commands. The only command needed was

xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/lock-screen-suspend-hibernate -s true

Now I'm asked for my password after waking up from hibernation.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.