Linux Lite Forums
Automatic suspend asks for authentcation - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Hardware - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=6)
+--- Forum: Start up and Shutdown (https://www.linuxliteos.com/forums/forumdisplay.php?fid=27)
+--- Thread: Automatic suspend asks for authentcation (/showthread.php?tid=4807)



Automatic suspend asks for authentcation - brianread - 01-02-2018

Newly install 3.6 64 bits

I set it to suspend after 30 minutes of no activity, but when it gets there it asks for authentication!

Cheers  Brian


Re: Automatic suspend asks for authentcation - brianread - 01-02-2018

Here's a screen shot of the dialog.

https://www.dropbox.com/s/d4k9a6s23d94ckx/Screenshot_2018-01-02_14-24-43.png?dl=0


Re: Automatic suspend asks for authentcation - Moltke - 01-02-2018

Hi [member=7274]brianread[/member]

Looks like screen locker is activated. Check that out in XFCE Power Manager  and if so uncheck "Lock the screen when the system is going for sleep".

Hope this helps! Smile


Re: Automatic suspend asks for authentcation - brianread - 01-02-2018

(01-02-2018, 07:04 PM)Moltke link Wrote: Hi [member=7274]brianread[/member]

Looks like screen locker is activated. Check that out in XFCE Power Manager  and if so uncheck "Lock the screen when the system is going for sleep".

Hope this helps! Smile

yes it is - I want the screen to be locked and then suspend subsequently.  However I can see that that might not make too much sense - so I'll try it.

What I actually mean is that I want the system to be locked when it is woken up, which I thought is the point of that parameter.


Re: Automatic suspend asks for authentcation - Moltke - 01-02-2018

Quote:What I actually mean is that I want the system to be locked when it is woken up, which I thought is the point of that parameter

Does that message appears right before "sleep" or when waking the system up?  Maybe you're setting up power management wrongly?

While googling around I found this: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1605189 which seems to be quite your issue.


Re: Automatic suspend asks for authentcation - brianread - 01-03-2018

(01-02-2018, 08:15 PM)Moltke link Wrote:
Quote:What I actually mean is that I want the system to be locked when it is woken up, which I thought is the point of that parameter

Does that message appears right before "sleep" or when waking the system up?  Maybe you're setting up power management wrongly?

While googling around I found this: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1605189 which seems to be quite your issue.

i comes as it tries to sleep. I've tried gdm and xdm, and both of them sleep sucessfully without the authenticate request, but do not resume properly (which may be a seperate problem). If I suspend manually then the system does resume properly.

Actually I've destroyed my install as I  did an "apt-get remove xdm" and it now fails to boot either into the xsession or a terminal session. Am attempting to mend it as we speak using the live CD.


I tried to apply the fix in your link (creating a new file), however the file path did not make sense, perhaps something has changed in the interim?


Re: Automatic suspend asks for authentcation - brianread - 01-04-2018

I've now done a new install and out of the box the auto suspend works fine, however once you set the slider "blank after" on the "Display" tab of the Xfce Power manager setting pane, then the authentication comes up when the suspend is requested after the idle timeout.


Re: Automatic suspend asks for authentcation - Moltke - 01-05-2018

Hi [member=7274]brianread[/member]

Quote:I tried to apply the fix in your link (creating a new file), however the file path did not make sense, perhaps something has changed in the interim?
  Well, they're  talking on Xubuntu so paths might be different.

Quote:I've now done a new install and out of the box the auto suspend works fine, however once you set the slider "blank after" on the "Display" tab of the Xfce Power manager setting pane, then the authentication comes up when the suspend is requested after the idle timeout.
  That's weird. Maybe you should try a different set up? Instead of 30 minutes try 20 and see how that goes.  I've never had problems with that but mine is set up to at 5 minutes of no activity. Tell me your power management configuration so I try here and see what happens.




Re: Automatic suspend asks for authentcation - brianread - 01-06-2018

(01-05-2018, 09:32 PM)Moltke link Wrote: Hi [member=7274]brianread[/member]

Quote:I've now done a new install and out of the box the auto suspend works fine, however once you set the slider "blank after" on the "Display" tab of the Xfce Power manager setting pane, then the authentication comes up when the suspend is requested after the idle timeout.
  That's weird. Maybe you should try a different set up? Instead of 30 minutes try 20 and see how that goes.  I've never had problems with that but mine is set up to at 5 minutes of no activity. Tell me your power management configuration so I try here and see what happens.

I've shipped it to the end user now, it seemed to be the parameter that controlled if it blanked the screen that caused it to try to authenticate.  Setting it to "never" made it work ok, any other time caused it to try to authenticate.


Re: Automatic suspend asks for authentcation - Moltke - 01-06-2018

Quote:I've shipped it to the end user now, it seemed to be the parameter that controlled if it blanked the screen that caused it to try to authenticate.  Setting it to "never" made it work ok, any other time caused it to try to authenticate.


Glad you solve it. Smile