power button shuts down immediatly (no warning)

Bug #792242 reported by Jean-Baptiste Lallement
54
This bug affects 11 people
Affects Status Importance Assigned to Milestone
LightDM GTK Greeter
New
Unknown

Bug Description

Binary package hint: lightdm

TEST CASE:
1. Boot the system
2. On the login screen press the power button (short press)

Result:
The system shuts down.

Expected:
A dialog with the option hibernate/suspend, restart, poweroff

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: lightdm 0.3.7-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.39-3.10-generic 2.6.39
Uname: Linux 2.6.39-3-generic i686
Architecture: i386
Date: Fri Jun 3 10:06:19 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110209)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 LC_MESSAGES=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: lightdm
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Not sure if it a lightdm defect. The behavior is the same once logged in. When the power button is pressed during an active session, the screensaver is shown for a brief moment then the system shuts down.

Changed in lightdm:
status: New → Triaged
Changed in lightdm (Ubuntu):
status: New → Triaged
Changed in lightdm:
importance: Undecided → Medium
Changed in lightdm (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

Actually the system goes to suspend when you press the power button.

---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

tags: added: testcase
no longer affects: lightdm (Ubuntu)
affects: lightdm → lightdm-gtk-greeter
Revision history for this message
D. Hugh Redelmeier (hugh-mimosa) wrote :

See also <https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/903306> "no reaction on shortly pressing power button"

This bug is likely in the same logic.

Revision history for this message
hamish (hamish-b) wrote :

It would be nice if it acted like the old gdm of Lucid (?) and required admin password to power off or reboot if other users were logged in, combined in a nice pop up explaining that hang on, someone else is logged in here.

you can make a file like /etc/polkit-1/localauthority/50-local.d/disable-shutdown.pkla
"""
[Disable Shutdown, etc.]
Identity=unix-user:*
Action=org.freedesktop.login1.reboot-multiple-sessions;org.freedesktop.login1.power-off-multiple-sessions;org.freedesktop.login1.suspend-multiple-sessions;org.freedesktop.login1.hibernate-multiple-sessions
ResultAny=no
ResultInactive=no
ResultActive=no
"""

to grey out the buttons in that case, but I've found our students tend to not understand why things are greyed out and pull the power instead of asking. And then once again after reboot when iowait sucks (because the RAID was trying to rebuild for the nth time... sigh)

thanks,
Hamish

Sean Davis (bluesabre)
Changed in lightdm-gtk-greeter:
importance: Medium → Unknown
status: Triaged → Unknown
Changed in lightdm-gtk-greeter:
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.