LightDM breaks power management

Forum rules
Before you post please read how to get help
Post Reply
pcspecialistpdx
Level 1
Level 1
Posts: 29
Joined: Fri Jun 10, 2016 6:19 pm

LightDM breaks power management

Post by pcspecialistpdx » Thu Aug 03, 2017 2:44 am

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.

deepakdeshp
Level 10
Level 10
Posts: 3427
Joined: Sun Aug 09, 2015 10:00 am

Re: LightDM breaks power management

Post by deepakdeshp » Thu Aug 03, 2017 7:05 am

I have installed LigtDM, pressing the power button still gives me the shutdown, reboot options.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
I am using Mint 19 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

pcspecialistpdx
Level 1
Level 1
Posts: 29
Joined: Fri Jun 10, 2016 6:19 pm

Re: LightDM breaks power management

Post by pcspecialistpdx » Thu Aug 03, 2017 1:05 pm

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).
Last edited by pcspecialistpdx on Sun Aug 13, 2017 12:04 pm, edited 1 time in total.

pcspecialistpdx
Level 1
Level 1
Posts: 29
Joined: Fri Jun 10, 2016 6:19 pm

Re: LightDM breaks power management

Post by pcspecialistpdx » Sun Aug 13, 2017 11:55 am

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.

pcspecialistpdx
Level 1
Level 1
Posts: 29
Joined: Fri Jun 10, 2016 6:19 pm

Re: LightDM breaks power management

Post by pcspecialistpdx » Thu Oct 12, 2017 12:18 pm

Here's an example, I do not have this option when using LightDM
General.png

User avatar
MtnDewManiac
Level 6
Level 6
Posts: 1331
Joined: Fri Feb 22, 2013 5:18 pm
Location: United States

Re: LightDM breaks power management

Post by MtnDewManiac » Thu Oct 12, 2017 4:37 pm

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
Mint 18 Xfce 4.12.

If guns kill people, then pencils misspell words, cars make people drive drunk, and spoons made Rosie O'Donnell fat.

marcin
Level 1
Level 1
Posts: 3
Joined: Wed Oct 25, 2017 5:27 am

Re: LightDM breaks power management

Post by marcin » Wed Oct 25, 2017 7:39 am

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

mickeymops
Level 1
Level 1
Posts: 9
Joined: Sat Dec 28, 2013 5:56 pm

Re: LightDM breaks power management

Post by mickeymops » Thu Nov 09, 2017 4:10 pm

Thanks for the info, screen lock is now working again with mdm xscreensaver installed and light dm removed

pcspecialistpdx
Level 1
Level 1
Posts: 29
Joined: Fri Jun 10, 2016 6:19 pm

Re: LightDM breaks power management

Post by pcspecialistpdx » Fri Dec 01, 2017 3:19 pm

Still broken in 18.3 beta, let's hope it is fixed before 18.3 release.

deepakdeshp
Level 10
Level 10
Posts: 3427
Joined: Sun Aug 09, 2015 10:00 am

Re: LightDM breaks power management

Post by deepakdeshp » Fri Dec 01, 2017 3:29 pm

Code: Select all

sudo shutdown 0
will bring down your system
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
I am using Mint 19 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

pcspecialistpdx
Level 1
Level 1
Posts: 29
Joined: Fri Jun 10, 2016 6:19 pm

Re: LightDM breaks power management

Post by pcspecialistpdx » Fri Dec 01, 2017 5:59 pm

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?

deepakdeshp
Level 10
Level 10
Posts: 3427
Joined: Sun Aug 09, 2015 10:00 am

Re: LightDM breaks power management

Post by deepakdeshp » Sat Dec 02, 2017 2:21 pm

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
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
I am using Mint 19 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

pcspecialistpdx
Level 1
Level 1
Posts: 29
Joined: Fri Jun 10, 2016 6:19 pm

Re: LightDM breaks power management

Post by pcspecialistpdx » Tue Dec 19, 2017 9:04 pm

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.

Post Reply

Return to “Xfce”