I'm running both Unity and Cinnamon in 14.04 with lightdm. That way 
unity-greeter takes over on logout from both.
To get display power off to work on my desktop I added (username) and root to 
lightwm in the /etc/group file.

lightdm:x:111:(username),root

Then I added the executable script /usr/bin/dpms-start :

#!/bin/sh
#
/usr/bin/xset +dpms
exit

In the /usr/share/lightdm/lightdm.conf.d/ directory I added the
50-dpms.conf file :

[SeatDefaults]
display-setup-script=/usr/bin/dpms-start

A bash script may also work by changing the user to lightdm before
executing "/usr/bin/dpms-start" :

sudo xhost +SI:localuser:lightdm
sudo su lightdm -s /bin/bash <<HERE
/usr/bin/dpms-start
exit
HERE

You then don't have to modify the /etc/group file. Hope this works for
others still having trouble.

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

Title:
  Lockscreen doesn't turn off the screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1292041/+subscriptions

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

Reply via email to