Re: [nmglug] Poweroff Re: Re: Solved Re: Zombie desktop artifact
The shutdown command was marked for deprecation way back in 2015, but it was not accepted. I can assure you it is fully functional and all flags are operational as I have been running Buster for some time now. (To be certain, I just tested it for you). With fairness to you, however, I did not notice that you prepended "systemctl" to your commands and read too quickly. Yes, those are the most modern ways of shutting down and rebooting. In looking at it quickly, it seemed you wrote sudo poweroff sudo reboot Which are legacy - and I will be honest - I still use a ton and could care less for non-server machines. I read it so quickly your systemctl looked like sudo to my eyes. With that said, the article you shared is completely full of it ... and like everything with systemd, the designers always symlink all the commands backwards and forwards with few exceptions, so the commands I put above work, shutdown works, and so, of course, does systemctl. This is similar to how: sudo systemctl restart apache2 OR sudo service apache2 restart OR sudo /etc/init.d/apache2 restart ALL work within systemd ... That was Leondard P's whole philosophy from day 1 (whether you/anyone hates systemd or not). If anyone prefers the old ways only - there is always openRC and devuan.org Sorry for looking over your "systemctl" too quickly and seeing sudo ... my mistake there! On 8/14/19 10:38 PM, Tom Ashcraft wrote:
Thanks, Jonathan,
But apparently things have recently changed with the release of Buster.
Ctrl-Alt-Del still gets you out of the desktop--if you happen to be still in the desktop--which in my case, I was not. I believe that in my desperation I tried it, but to be honest, I can't clearly remember.
At any rate, the first article I happened to look at (the link below yours) claims that 'shutdown' is no longer with us:
"Debian 10 has now fully switched to Systemd which means that the traditional commands to halt or reboot a system like 'shutdown -h now' or 'reboot' will not work anymore. ..."
Tom
toma@debian10kdeHPnb:~$ shutdown -r now bash: shutdown: command not found
On 8/14/19 10:08 PM, Jonathan Haack wrote:
You may want to consider the shutdown command, it can be configured with much more than the legacy reboot and poweroff commands:
https://debian-administration.org/article/89/Shutting_down_your_Debian_machi...
^^Posted by Steve <https://debian-administration.org/users/Steve> on Fri 11 Feb 2005 at 13:33^^
Jonathan
On 8/14/19 10:05 PM, Tom Ashcraft wrote:
Yep, systemd. This explains it:
https://www.faqforge.com/linux/distributions/debian/how-to-shutdown-or-reboo...
sudo systemctl poweroff
sudo systemctl reboot
On 8/14/19 9:30 PM, Tom Ashcraft wrote:
OK guys,
I lucked out and stumbled on the fix for my artifact. Turns out the message on the screen can be removed with the same key combinations as used to remove widgets *from the panel*, i.e. 'Alt-D, R'. I think. Now I can't find where I saw that out of context. Anyway, having done that fixes the problem installing one-click launchers to the panels too.
I can go to bed happy tonight because *everything* I've set up is now working correctly. Definitely KDE Plasma and definitely not Kubuntu.
But I still need to figure out how to get terminal shutdown/reboot/halt installed. Back to all that excellent documentation in the wikis and the desktop. Must be in there somewhere.
Tom
On 8/14/19 7:46 PM, Tom Ashcraft wrote:
Hello NMGLUG,
I've got a two-day old install of Debian 10 with KDE Plasma desktop ...
*'ctrl-alt-esc' will kill Plasma (but leave application windows running, presumably because they run in different threads) but I don't yet know how to restart Plasma from the terminal, and for some reason there is no 'shutdown', 'reboot' or 'halt' command installed.
_______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
_______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
_______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
_______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
participants (1)
-
Jonathan Haack