You are not logged in.
Is there any way I can shut down or reboot the machine directly from Awesome? When I try adding reboot or shutdown menu options (that run their respective commands), I get a clock cursor for about thirty seconds. I know this is probably because Awesome doesn't have root privileges, but why not? Is there any way I can give it root privileges? If I just put "sudo" before the "reboot" or "shutdown" commands, then it'll hang because a prompt is asking me for my password.
Offline
you can use console-kit and d-bus for that.
Link
Offline