/etc/shutdown.allow needs to have your user's name in it for that user to be able to shut the system down without using su or sudo. /etc/shutdown.deny can have user names in it too, and those will not be allowed to shut the system down.
On Mon, 11 Feb 2019, A_Man_Without_Clue wrote: > Date: Sun, 10 Feb 2019 22:02:15 > From: A_Man_Without_Clue <love.cha...@gmail.com> > To: Jude DaShiell <jdash...@panix.com>, > debian-user <debian-user@lists.debian.org> > Subject: Re: Can not shutdown > Resent-Date: Mon, 11 Feb 2019 03:02:33 +0000 (UTC) > Resent-From: debian-user@lists.debian.org > > > > On 2/11/19 11:50 AM, Jude DaShiell wrote: > > have you tried su - poweroff yet? > > On Mon, 11 Feb 2019, A_Man_Without_Clue > > wrote: > > > >> Date: Sun, 10 Feb 2019 21:36:09 > >> From: A_Man_Without_Clue <love.cha...@gmail.com> > >> To: debian-user <debian-user@lists.debian.org> > >> Subject: Can not shutdown > >> Resent-Date: Mon, 11 Feb 2019 02:36:30 +0000 (UTC) > >> Resent-From: debian-user@lists.debian.org > >> > >> Hi all, > >> > >> I just installed Debian testing, Debian Installer Buster Alpha 5 release. > >> > >> I use LXDE and now I just found out that I cannot shut down from LXDE, > >> "Logout - Shutdown" > >> > >> It gives the error saying "GDBUS Error System Error ENXIO No such drive > >> or address" > >> > >> I tried with XFCE but still it won't shutdown, it just logs out instead. > >> > >> What has gone wrong? > >> > >> M.W.C. > >> > >> > > > > > I did su, shutdown -h and it works. > > --