Re: send message to user's GUI through command line
Just to reiterate steeldriver...
Change the bolded remote user to the name of the user to send the message to.
cat /home/<remote-user>/.Xauthority | ...
<remote-user> is just a place holder for a user name.
If they have no X session then use the command
I suspect they have an X session though.
Wall displays the contents of file or, by default, its standard input, on the terminals of all currently logged in users.
If you believe everything you read, you better not read. ~ Japanese Proverb
If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain