LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 11-10-2003, 01:24 PM   #1
professorfrink
LQ Newbie
 
Registered: Oct 2003
Location: Winnipeg Manitoba Canada
Distribution: Gentoo
Posts: 12

Rep: Reputation: 0
Need to generate popup alerts on linux machines


Hi folks,

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?

Thanks.
 
Old 11-10-2003, 01:49 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
You might want to look at
http://www.littleigloo.org/software_002.php3

Or plain old xmessage for that matter ;) if it doesn't
need to use Samba ...

Cheers,
Tink

Last edited by Tinkster; 11-10-2003 at 01:51 PM.
 
Old 11-10-2003, 02:08 PM   #3
professorfrink
LQ Newbie
 
Registered: Oct 2003
Location: Winnipeg Manitoba Canada
Distribution: Gentoo
Posts: 12

Original Poster
Rep: Reputation: 0
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.
 
Old 11-10-2003, 02:11 PM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Search these forums, we've been through this recently.

Håkan
 
Old 11-10-2003, 03:11 PM   #5
professorfrink
LQ Newbie
 
Registered: Oct 2003
Location: Winnipeg Manitoba Canada
Distribution: Gentoo
Posts: 12

Original Poster
Rep: Reputation: 0
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.

Thanks.
 
Old 11-10-2003, 04:07 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
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?

Cheers,
Tink
 
Old 04-09-2004, 01:15 AM   #7
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi

i am using a ltsp(linux terminal server) setup where all clients are logged on to my server
i cannot use linpop here

pl. tellme what will be better


 
Old 04-13-2004, 11:02 AM   #8
professorfrink
LQ Newbie
 
Registered: Oct 2003
Location: Winnipeg Manitoba Canada
Distribution: Gentoo
Posts: 12

Original Poster
Rep: Reputation: 0
Hi there masand!

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.

Hope that helps.
Let me know how you make out.
 
Old 04-17-2004, 07:45 AM   #9
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there
thanks for replying

well i recently got the xhost thing workin......

i will try the new method u r talkin about

also in ltsp

each users get a different ip address also a different X server runs on it

thanx again...
 
Old 04-17-2004, 09:11 AM   #10
gnanaswaroop
LQ Newbie
 
Registered: Sep 2003
Location: India
Distribution: Fedora Core 3
Posts: 27

Rep: Reputation: 15
try ksalup.sourceforge.net !. it works forme !
 
Old 04-17-2004, 09:27 AM   #11
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux and JavaScript popup problem turk99 Linux - General 8 05-19-2005 10:44 AM
Can I create a popup box that alerts me when someone logs in to my box remotely? davee Linux - Security 1 06-29-2004 03:00 PM
Need to generate popup message on Linux machines professorfrink Linux - General 4 11-14-2003 10:46 AM
Popup Killer For Linux mike35 Linux - Newbie 3 10-19-2003 11:38 PM
Popup stopper for linux futurist Linux - Software 10 03-19-2003 10:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration