[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I disable broadcast message?



On Monday, August 11th, 2025 at 5:27 PM, wanderer@fastmail.fm wrote:

> On 2025-08-11 at 07:23, mailinglist.skid704@aleeas.com wrote:
> 
> > Hi all,
> > 
> > I installed Debian 13 "Trixie" + KDE Plasma, And when I shutdown or
> > reboot I get this message,
> > 
> > > Broadcast message from user@hostname $TIME
> > > This system will now shutdown/reboot.
> > 
> > How do I Disable It?
> 
> 
> How are you initiating the shutdown or reboot?

I am Initiating the shutdown/reboot by going in KDE plasma's application launcher and clicking on shutdown/reboot

> 
> How does the message appear?
> 

At appears before shutting down.

> Why is it appearing problematic?
> 

Doesn't look good. takes extra sec to shutdown/reboot.

> 
> In my case, I shut down by exiting the GUI, logging out in the terminal,
> logging back in as root, and running 'shutdown -h now' or 'shutdown -r
> now'. In that case, I do see this message, but as there is only the one
> user (root) logged in at the time - and the system is about to shut down
> anyway - I don't consider it a problem; the shutdown process immediately
> proceeds.
> 
> If I wanted to eliminate the message in that context, I would add '-Q'
> to the arguments I pass to shutdown: 'shutdown -hQ now' should carry out
> the shutdown without presenting that message.
> 
> 
> I suspect that you probably are not initiating shutdown from a similarly
> non-graphical environment, so it will probably not be practical for you
> to just add a command-line argument to the shutdown-initiating command.
> I also suspect that the reason you consider it a problem is that your
> GUI is somehow presenting the message in a pop-up alert dialog, which
> must be clicked on to be dismissed.

No It appear right after all the GUI stuff is gone but before shutdown.

> 
> In either case, you would need to investigate what it is that the GUI
> method you are using to initiate shutdown is actually doing on the
> backend, and figure out how to pass the equivalent argument in that
> backend invocation. (There is a nonzero possibility that the backend is
> literally an invocation of shutdown, exactly as I do manually - but with
> modern desktop environments as the context, I would not want to bet on
> that.)
> 
There are few links I find regarding this topic and It is said to be introduced with systemd v 251.

Thanks.



Reply to: