How would one can send a message to the logged in user's desktop through ssh? I sometimes connect my friend's computer to help him out, but i need to the a message to his desktop rather than using
There are options like
xmessage. But since I'm connected with
SSH I cannot connect to their desktop.
Setting environment variable
DISPLAY does not work as well.
How do I that?