Re: [nmglug] Poweroff Re: Re: Solved Re: Zombie desktop artifact
"toma@debian10kdeHPnb:~$ shutdown -r now bash: shutdown: command not found" You need to run as "sudo" as it is not in your PATH for user: tom JMH 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
Jonathan Haack writes:
"toma@debian10kdeHPnb:~$ shutdown -r now bash: shutdown: command not found"
You need to run as "sudo" as it is not in your PATH for user: tom
It's not the path -- it's easy enough to put /sbin in your path, or just type /sbin/shutdown -- but you need root permission to do things that affect the state of the system. It's also possible that you need to install the package "systemd-sysv" -- at least on my Debian, that's the package that installs shutdown, halt, poweroff etc. (apt-file is great for finding things like that: install apt-file, run a sudo apt-file update, then you can run commands like apt-file poweroff, and it will tell you which package provides a file by that name. ...Akkana
participants (2)
-
Akkana Peck -
Jonathan Haack