restart-multiple-users policy prevents restart, even though no other users are logged in
Bug #896663 reported by
Forest
This bug report is a duplicate of:
Bug #395281: pam_ck_connector.so is called for non-login sessions.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
Invalid
|
Low
|
Unassigned | ||
consolekit (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I just upgraded from xubuntu natty to oneiric and switched from gdm to lightdm.
Now, when I try to restart my system, I am prompted for my password by a dialog box with this message:
System policy prevents restarting the system when other users are logged in
Under the Details widget, I see this:
org.freedeskt
I guess this would all be fine if other users actually were logged in to the system, but there are none. My login (through lightdm) is the only one.
tags: | added: natty2oneiric |
affects: | ubuntu → consolekit (Ubuntu) |
Changed in lightdm: | |
importance: | Undecided → Low |
status: | New → Invalid |
To post a comment you must log in.
Further investigation reveals that the system seems to think that no users are logged in. Not even me.
$ who
$ uptime
11:00:40 up 21 min, 0 users, load average: 0.89, 0.89, 0.70
$ who -q
# users=0
$ last |head -1
reboot system boot 3.0.0-13-generic Sat Nov 26 10:39 - 11:17 (00:38)
Could it be that, when a restart is requested, whatever code checks for multiple users is doing something like if (usercount != 1), which would evaluate to true if multiple users are logged in *or* if no users are logged in? If so, perhaps this is related to Bug #871070