Since the last few days I get an error message when I try to shut my laptop down:
System policy prevents stopping the system when other users are logged in
This error message includes a prompt for administrator password.
I don't think that there should be other users logged in.
How can I find out what the problem is?
What I've tried
$ w 08:00:47 up 1:50, 2 users, load average: 0,74, 0,95, 0,70 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT moose tty8 :0 07:57 1:49m 4.88s 0.11s x-session-manager moose pts/0 :0.0 08:00 2.00s 0.11s 0.00s w $ loginctl SESSION UID USER SEAT c1 117 couchdb c2 1000 moose seat0 2 sessions listed.
I'm not sure: is that already the problem?
$ sudo shutdown -h now worked as expected.
How I shut the computer down
By clicking on System > Shut Down... > Shut Down:

System information
I have Linux Mint MATE:
$ uname -a Linux pc08 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux $ cat /etc/issue Linux Mint 16 Petra \n \l
loginctl?