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

Re: How do I disable broadcast message?



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?

How does the message appear?

Why is it appearing problematic?


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.

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.)

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: