I am trying to find a way to send a message (like a popup message) from 1 PC to another. both are using Ubuntu. Already tried the smbclient way but this only works between a linux PC to a windows PC. I need a way to send messages from an Ubuntu PC to another Ubuntu PC. Similar to the way of Windows Net Send.
on both computers.
(you may have libnotify-bin installed already. Mine had it already.)
Then SSH (via the terminal) into the other computer
and then when you're logged in, type:
Happy message-sending! (or scaring XD)
I read you wanted to do this without SSH, I believe I have a solution:
First we need a "daemon" to run in the background. Second, we need a program to make the alert pop up. I have
Now, make it executable
Now you're done! Well, you actually need to do this on each computer. You also will want to automate the start of the daemon. Open the 'startup' applications from the menu, and add your script. Once that's done, to send a message to the other computer, type in:
Just make sure to replace 192.168.1.X with the real local IP of the other PC. [You can use
I see you already have accepted an answer for this question :( But if my solution works for you, please at least give me a Upvote! Thanks. Also, you could also make another script, say,
If you want something simple that does not involve creating script files or using code here is a VERY easy to use, multi platform called PUSHBULLET
You can send files and text to your mobile devices and your different computers. Multi platform and very easy to use & install. This also includes encryption.
I use this on my Ubuntu machine to push links to my other Ubuntu, OSX and Iphone.