LightDM breaks power management

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

LightDM breaks power management

Postby 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 8
Level 8
Posts: 2371
Joined: Sun Aug 09, 2015 10:00 am

Re: LightDM breaks power management

Postby 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 18 Cinnamon 64 bit with AMD processor .

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

Re: LightDM breaks power management

Postby 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: 8
Joined: Fri Jun 10, 2016 6:19 pm

Re: LightDM breaks power management

Postby 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: 8
Joined: Fri Jun 10, 2016 6:19 pm

Re: LightDM breaks power management

Postby 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: 1249
Joined: Fri Feb 22, 2013 5:18 pm
Location: United States

Re: LightDM breaks power management

Postby 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

Postby 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

Postby 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


Return to “XFCE”

Who is online

Users browsing this forum: No registered users and 1 guest