On 4/3/23 05:24, José María Terry Jiménez via users wrote:
El 2/4/23 a las 23:37, Robert Nichols escribió:
Now that gnome-terminal (also mate-terminal, etc) no longer registers as a login session, what is the mechanism for sending messages to logged-in users? This is fairly important for shutdown, "UPS on bettery", etc. messages. The "wall" command does send a message to plain console sessions (Alt-Fn consoles), but the message does not reach GUI users whether or not a terminal emulator session is active, even with a terminal session started with the "Run command as a login shell" option selected.
Pehaps this helps you. Tried some of the solutions and worked
https://askubuntu.com/questions/789510/wall-doesnt-broadcast-to-gui-terminal...
Thanks. I had seen that. Looks like I will have to use both "notify-send" (for the GUI user) and also "wall" to notify users logged in on a text console or via ssh sessions.
I guess this is progress, but it sure was nice when things like "shutdown" "Just Worked(TM)".