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-terminals-on-16-04

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

--
Bob Nichols     "NOSPAM" is really part of my email address.
                Do NOT delete it.

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to