I have a systemd timer and service that runs my backup script daily. The
script runs on root privileges.

If the backup script notices an error I would like to report the error
as a notification in normal user's desktop. In the past this worked with
"wall" command in the backup script:

    wall "The backup failed. See the journal for more info."

KDE Plasma desktop has a background service which delivers "wall"
messages as desktop notifications. This doesn't work anymore. "wall"
messages doesn't show in desktop even though the background service is
running.

I don't know when it stopped working but my first guess is that some of
those features have not been ported to Wayland yet. I switched from X11
to Wayland a couple of months ago (and it's great; I'm not going back).
I also upgraded from Debian 12 to 13 last summer.

So, the general question is: how could a background root script give a
desktop notification for the current / all users?

-- 
/// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/
// OpenPGP: DD3B8E8ABD28B98176E6A7CCCC9A5E615FCC1D93
/ old key: 6965F03973F0D4CA22B9410F0F2CAE0E07608462

Attachment: signature.asc
Description: PGP signature

Reply via email to