Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a network which contains 4 linux machines and 1 Win XP machine.
From a bash script that checks on the tape drive attached to one of the Linux machines I use smbclient to create a popup message on the windows machine if a problem is found. This uses the built-in alerter and messenger programs of Windows. It does exactly what I need.
I need to find a way to popup a message on one of the Linux machines at the same time.
What is a good app to do this?
I have searched.
Xmessage and Linpopup are suggested, but neither fulfill my needs 100%.
If you find a post that you think answers my question, then please point me to it.
Originally posted by professorfrink Thanks Tinkster, but LinPopup doesn't seem to have any command line functionality which I would need for my script.
I tested it and it looked good though.
I don't see why you'd need "command-line
functionality" ... you run LinPopup on the
boxes that aren't the server, and just use
smbclient to send a message to those,
just as you would to the XP machine?
I ended up using xmessage to do my popup work for me.
xmesage -display mymachine:0 Just a test
That line will popup an xmessage on the machine named "mymachine" on display :0 that reads "Just a test".
For this to work, you need to make sure that display :0 will allow remote X Connections.
xhost + will do this but that is very insecure.
Use an /etc/X0.hosts file instead and list the names of machines allowed to connect to X remotely. The 0 (zero) in the file allows connections to display 0.
....Just thinking here.........
You're situation is different as you are using ltsp and dumb terminals I assume. Therefore all of your messages are really being sent within one machine to different users, the ltsp server. Or do your thin clients actually run an X server? I haven't done any ltsp stuff.
Also if you are using a more recent Linux distro, you might want to look at gmessage or kmessage.
off topic, but how do you like the LTS, im looking for something simular to that for my office. i currently run a win2k domain so i can use TS to access Quickbooks, but ive been looking at one of the wine projects to convert over to 100% *nix.
if i could maintain the secuirty of a TS were my program resides on a secure server only allowing access to QB and printing functions that would be ideal.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.