The PIXEL desktop of Rasbian (Jessie) has a shutdown menu with Shutdown, Reboot and Logout. However, only logout works.
How can I get shutdown and reboot working?
Code: Select all
raspberrypi:~$ lxde-pi-shutdown-helper
User pi is logged in on seat0.
User pi is logged in on /dev/tty1.
Please retry operation after closing inhibitors and logging out other users.
Alternatively, ignore inhibitors and users with 'systemctl poweroff -i'.
Code: Select all
raspberrypi:~$ lxde-pi-shutdown-helper
==== AUTHENTICATING FOR org.freedesktop.login1.power-off ===
Authentication is required for powering off the system.
Multiple identities can be used for authentication:
1. ,,, (pi)
2. root
Choose identity to authenticate as (1-2): Failed to execute operation: Connection timed out
Must be root.
Code: Select all
raspberrypi:~$ whoami
pi
Code: Select all
#/bin/bash
export SHELL=/bin/bash
vncserver :2 -geometry 1280x720