Page 1 of 1

LightDM breaks power management

Posted: Thu Aug 03, 2017 2:44 am
by pcspecialistpdx
I don't mind LightDM except it breaks power management. No longer have Shutdown option for When power button is pressed or when the battery is critical. The way I figured this out was, I reinstalled 18.1 and then updated to 18.2 and I still had the options until I followed the steps to replace MDM with LightDM.

Re: LightDM breaks power management

Posted: Thu Aug 03, 2017 7:05 am
by deepakdeshp
I have installed LigtDM, pressing the power button still gives me the shutdown, reboot options.

Re: LightDM breaks power management

Posted: Thu Aug 03, 2017 1:05 pm
by pcspecialistpdx
deepakdeshp, that's because you have it set to ask. My issue is the shutdown option (instead of ask) is no longer available.

I just did a clean install of 18.2 and now have the suspend option, but still no shutdown unless I have it set to ask. Still can't have it shutdown with a critically low battery but I can get it to default to suspend or ask (which will allow me to shutdown, but I want it to do it automatically).

Re: LightDM breaks power management

Posted: Sun Aug 13, 2017 11:55 am
by pcspecialistpdx
Everything seems fine when LightDM is replaced with MDM so I think I'll stick with MDM until 18.3 is out

Code: Select all

sudo apt install mdm xscreensaver

sudo apt remove slick-greeter lightdm lightdm-settings apparmor
yes, you need xscreensaver if you have MDM! If "Lock screen when system is going for sleep" is checked and you don't have xscreensaver, you are not getting back in.

Re: LightDM breaks power management

Posted: Thu Oct 12, 2017 12:18 pm
by pcspecialistpdx
Here's an example, I do not have this option when using LightDM
General.png

Re: LightDM breaks power management

Posted: Thu Oct 12, 2017 4:37 pm
by MtnDewManiac
pcspecialistpdx wrote:yes, you need xscreensaver if you have MDM! If "Lock screen when system is going for sleep" is checked and you don't have xscreensaver, you are not getting back in.
Not necessarily (or this used to be true, at least). You can install slock or i3lock - they are both in our repos, so all you have to do is run Synaptic Package Manager and then type "slock" (sans quotation marks) into the little search box. Both of these things should then appear. i3lock will appear under its name, and slock (short for "screen lock," I suppose) is part of the suckless-tools package.

Not that I have not used either, because I've always "just" used xscreensaver. But I did a web search and these came up multiple times. If you wish to have a simple screen-locker without the (minimal?) overhead of a screen-saver, one of them might be just what you're looking for.

Regards,
MDM

Re: LightDM breaks power management

Posted: Wed Oct 25, 2017 7:39 am
by marcin
Good day

I have a similar situation like pcspecialistpdx. In power manager settings under "When power button is pressed" there is no "shutdown" option. I do not use other options and want the system to shutdown immediately after pressing the button.

This seems to have changed after I upgraded from mdm to lightdm. It was working ok before the update.

Is there anyway to fix this? Or do I have to go back to mdm?
Using Linux Mint XFCE 18.2 upgraded from 18.1.

Kind regards
Marcin

Re: LightDM breaks power management

Posted: Thu Nov 09, 2017 4:10 pm
by mickeymops
Thanks for the info, screen lock is now working again with mdm xscreensaver installed and light dm removed

Re: LightDM breaks power management

Posted: Fri Dec 01, 2017 3:19 pm
by pcspecialistpdx
Still broken in 18.3 beta, let's hope it is fixed before 18.3 release.

Re: LightDM breaks power management

Posted: Fri Dec 01, 2017 3:29 pm
by deepakdeshp

Code: Select all

sudo shutdown 0
will bring down your system

Re: LightDM breaks power management

Posted: Fri Dec 01, 2017 5:59 pm
by pcspecialistpdx
deepakdeshp wrote:

Code: Select all

sudo shutdown 0
will bring down your system
I fail to see how that has anything to do with this topic. How is that going to automatically power down the system when the battery is critical or power it down without prompting when you press the power, sleep, or hibernate button?

Re: LightDM breaks power management

Posted: Sat Dec 02, 2017 2:21 pm
by deepakdeshp
pcspecialistpdx wrote:
deepakdeshp wrote:

Code: Select all

sudo shutdown 0
will bring down your system
I fail to see how that has anything to do with this topic. How is that going to automatically power down the system when the battery is critical or power it down without prompting when you press the power, sleep, or hibernate button?
It is another way to shutdown your system cleanly using terminal

Re: LightDM breaks power management

Posted: Tue Dec 19, 2017 9:04 pm
by pcspecialistpdx
I just did a clean install of 18.3 and the problem still exists. Replacing LightDM with MDM fixes the problem as it did with 18.2.