I have recently set runlevel 3
as a kernel parameter instead of runlevel 5
, though this has caused a little bit of a problem... Because when I execute startx
and then once the GUI has loaded, if I close the lid, wait for the right amout of time, or do the keyboard shortcut to suspend, it does, but when it wakes up again it does not ask for a password as it should and did on runlevel 5
, so this is a bit of a security risk.
How can I get it to ask for a password when waking up from suspend when running on runlevel 3
in X?
I am running Ubuntu GNOME 15.10 with GNOME 3.18.
This is another of my security worries related to this (I am just linking the question as it is similar): Can console be suspended and ask for a password on wakeup?