LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Notification Message (https://www.linuxquestions.org/questions/linux-networking-3/notification-message-521156/)

samvel 01-20-2007 09:24 AM

Notification Message
 
Suppose I have several computers in my home network. Each of them is running Linux (Kubuntu 6.10) with ssh server enabled. Say, some user is logged in to Desktop machine. I am working with my laptop and was requested by mentioned above user to install some program on Desktop. So, I log into Desktop via ssh and do my job. The point is that I would like to be able to notify user once installation process is done. I know it is possible in Windows to send a message to a particular machine in network. How to do that in Linux?

Thanks.

macemoneta 01-20-2007 11:03 AM

If you are logged in to the machine via ssh, and want to display a "pop-up" message, then you can use xmessage, which is installed almost universally on systems with X windows. For example:

DISPLAY=:0.0 xmessage -buttons "Thanks" -default "Thanks" -center "Maintenance completed"

samvel 01-20-2007 09:30 PM

Perfect
 
Quote:

Originally Posted by macemoneta
If you are logged in to the machine via ssh, and want to display a "pop-up" message, then you can use xmessage, which is installed almost universally on systems with X windows. For example:

DISPLAY=:0.0 xmessage -buttons "Thanks" -default "Thanks" -center "Maintenance completed"

Thanks, that is exactly what I was looking for.


All times are GMT -5. The time now is 11:59 AM.