I've found something that may be useful both for diagnosis and as a
workaround.

If you define a "display-setu-script" in the lightdm configuration, like
this:

[SeatDefaults]
display-setup-script=/path/to/display-setup.sh

and put this command in the "display-setup.sh":

xset dpms 120 125 130

this does NOT fix the problem. But, if you write instead:

(
  sleep 10
  xset dpms 120 125 130
) &

it DOES help, i.e. login screen goes dark after two minutes.
Apparently, it implies that "something" that is started as a part of the 
greeter "session", i.e. the greeter itself, or one of the indicators, resets 
the DPMS settings.

In the meanwhile, my display-setup script may be used as a workaround by
those who need it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1245474

Title:
  [regression] on login screen, monitor stays on forever

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1245474/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to