Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
24
rated 0 times [  24] [ 0]  / answers: 1 / hits: 19272  / 3 Years ago, wed, october 13, 2021, 1:40:02

If I suspend my Xubuntu 12.10, and then take my computer off the suspension, it doesn't request any password. I have tried adding the gnome-screensaver on autostart settings, which I read somewhere (go to settings manager>sessions and startup>application autostarts>add [gnome-screensaver]), but that doesn't work.



How can I make my xubuntu request a password after suspension?


More From » xubuntu

 Answers
0

In Xubuntu 12.10, session is no longer locked when you Suspend, so it doesn't ask for a password on wakeup. To solve this, we need to make changes to xfce4-session and xfce4-power-manager.



Using Terminal Commands



Run the following commands in terminal (press Ctrl + Alt + T) to make changes to both xfce4-session and xfce4-power-manager to lock the session when you Suspend:



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


Alternatively — Using GUI



We need to make changes in both Session and Startup as well as Xfce Power Manager.



You would find both of them to be available under Settings Manager. Right Click on your Desktop and navigate through ApplicationsSettingsSettings Manager to open it.



xubuntu settings manager navigation




  1. Session and Startup



    Open Session and Startup → navigate to the Advanced Tab → put a checkmark next to Lock screen before sleep.



    xfce-session


  2. Xfce Power Manager



    Open Xfce Power Manager → click on Extended in the sidebar → put a checkmark next to Lock screen when going for suspend/hibernate.



    xfce-power-manager




Once you have made the changes, you should be asked for the password when you wakeup after Suspend.






Acknowledgement: Information and images for Session and Startup and Xfce Power Manager courtesy this Ubuntu Forums Thread.


[#32571] Thursday, October 14, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
memorrappin

Total Points: 325
Total Questions: 122
Total Answers: 100

Location: Armenia
Member since Sat, Sep 12, 2020
4 Years ago
;