[Bug 962086] [NEW] power button not working when not logged in or on tty
Roger John
roger.john at rub.de
Thu Mar 22 11:31:43 UTC 2012
Public bug reported:
Hello,
i use my machine as a print server and discovered the following since 11.10: If i am not logged in (e.g. started the machine just for printing from a network client), the power button won't shut down the system when pressed. I have to log into gnome or issue poweroff via tty/ssh. I know this worked in previous versions of ubuntu, and maybe i found a clue.
In /etc/acpi/powerbtn.sh the gui power managers are searched. In previous versions of ubuntu, the script looked for gnome-power-manager, but now it's looking for gnome-settings-daemon, which seems to be running any time lightdm is running.
I could work-around this by replacing gnome-settings-daemon in /etc/acpi/powerbtn.sh with gnome-session. This does not work when working on tty with a running gnome-session in bg, the session is ignoring the keypress (i heard this was different in older versions where it wasn't checking if on active console).
Greetings
Roger John
PS: I reckon that pressing the power button while on tty with a running
X session, the system should not shut down at once. But it could kill
the tty and switch to the x session, for example, or do something
informative.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: acpid 1:2.0.10-1ubuntu2.3
ProcVersionSignature: Ubuntu 3.0.0-16.29-generic 3.0.20
Uname: Linux 3.0.0-16-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Thu Mar 22 12:08:56 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcEnviron:
LANGUAGE=de:en
PATH=(custom, no user)
LANG=de_DE.UTF-8
LC_MESSAGES=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: acpid
UpgradeStatus: Upgraded to oneiric on 2011-10-13 (160 days ago)
modified.conffile..etc.acpi.powerbtn.sh: [modified]
mtime.conffile..etc.acpi.powerbtn.sh: 2012-03-22T11:34:25.887345
** Affects: acpid (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug oneiric
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to acpid in Ubuntu.
https://bugs.launchpad.net/bugs/962086
Title:
power button not working when not logged in or on tty
Status in “acpid” package in Ubuntu:
New
Bug description:
Hello,
i use my machine as a print server and discovered the following since 11.10: If i am not logged in (e.g. started the machine just for printing from a network client), the power button won't shut down the system when pressed. I have to log into gnome or issue poweroff via tty/ssh. I know this worked in previous versions of ubuntu, and maybe i found a clue.
In /etc/acpi/powerbtn.sh the gui power managers are searched. In previous versions of ubuntu, the script looked for gnome-power-manager, but now it's looking for gnome-settings-daemon, which seems to be running any time lightdm is running.
I could work-around this by replacing gnome-settings-daemon in /etc/acpi/powerbtn.sh with gnome-session. This does not work when working on tty with a running gnome-session in bg, the session is ignoring the keypress (i heard this was different in older versions where it wasn't checking if on active console).
Greetings
Roger John
PS: I reckon that pressing the power button while on tty with a
running X session, the system should not shut down at once. But it
could kill the tty and switch to the x session, for example, or do
something informative.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: acpid 1:2.0.10-1ubuntu2.3
ProcVersionSignature: Ubuntu 3.0.0-16.29-generic 3.0.20
Uname: Linux 3.0.0-16-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Thu Mar 22 12:08:56 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcEnviron:
LANGUAGE=de:en
PATH=(custom, no user)
LANG=de_DE.UTF-8
LC_MESSAGES=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: acpid
UpgradeStatus: Upgraded to oneiric on 2011-10-13 (160 days ago)
modified.conffile..etc.acpi.powerbtn.sh: [modified]
mtime.conffile..etc.acpi.powerbtn.sh: 2012-03-22T11:34:25.887345
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/acpid/+bug/962086/+subscriptions
More information about the foundations-bugs
mailing list