Witam!
Komenda odpowiedzialna za wyłączenie systemu…:
dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop
… nie działa…:
logan@desktop:~$ dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop
Error org.freedesktop.ConsoleKit.Manager.NotPrivileged: Not Authorized
Gdzieś polecali w /etc/pam.d/common-session dopisać:
session optional pam_loginuid.so
Jednak to nie daje efektu i nie idzie tej komendy wykorzystać. Czy wiecie, jak to rozwiązać?
logan@desktop:~$ uname -a
Linux laptop 3.2.0-4-rt-amd64 #1 SMP PREEMPT RT Debian 3.2.41-2+deb7u2 x86_64 GNU/Linux
logan@desktop:~$ cat /etc/debian_version
7.0