LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-08-2006, 12:25 AM   #1
venki
Member
 
Registered: Sep 2006
Location: India
Distribution: suse10.2
Posts: 128

Rep: Reputation: 15
to send poptu ...urgent..help


Hi all....

i am working in a company where 5 systems are connected to lan..

say 192.162.1.1 to 192.162.1.5..

i am sitting in 192.162.1.3..which is server

i want to send popup to all systems(192.162.1.1 to 192.162.1.5) that the server will go

down for 10min..

i tried wall..but it is for single system...

rwall also tried but no result....

talk they also shld have talk clinet...

please provide me shell script or..any command..

plz help me...

thks a lot!!
 
Old 12-08-2006, 12:30 AM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
There's a discussion of your options for that here:

http://www.linuxquestions.org/questi...d.php?t=508046
 
Old 12-08-2006, 01:07 AM   #3
venki
Member
 
Registered: Sep 2006
Location: India
Distribution: suse10.2
Posts: 128

Original Poster
Rep: Reputation: 15
Sir ..it is useful but..i want to send messages to all machines at once...i think this is not possible with xmessage..

where as i tried with kdialog ..it is also for a single machine..

i gave kdialog --display ipaddress...

plz help me...
 
Old 12-08-2006, 01:23 AM   #4
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
The way to do it is just to write a script:
Code:
#!/bin/bash

ssh user1@host1 env DISPLAY=:0 xmessage "shutting down soon" &
ssh user2@host2 env DISPLAY=:0 xmessage "shutting down soon" &
ssh user3@host3 env DISPLAY=:0 xmessage "shutting down soon" &
ssh user4@host4 env DISPLAY=:0 xmessage "shutting down soon" &
This is a pretty awful way to network notification though.

Not sure about a better way.
 
Old 12-08-2006, 01:31 AM   #5
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
I just found this: If you're running samba on your machines, you could use LinPopup.
 
Old 12-08-2006, 01:36 AM   #6
venki
Member
 
Registered: Sep 2006
Location: India
Distribution: suse10.2
Posts: 128

Original Poster
Rep: Reputation: 15
very very thks...its working!! but i have to know who is the user..whn i am sending to root@host..it is not sending popup..

thks once again....
 
  


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
boot sector and lilo collapse !!!!! URGENT URGENT URGEN !!!!! frelihm Linux - Software 21 12-02-2009 10:21 AM
please send me the RPM of amsn...... Its urgent aTkAl^^PiTcHu Linux - Software 1 03-25-2005 04:25 AM
Server does'nt send mail until shutdown and LAN can't send or receive. Wolfy Linux - Networking 0 08-02-2004 07:31 PM
Urgent Urgent !!!! Mozilla Keeps All Your Deleted Emails !!!! odin123 Linux - Software 2 01-31-2004 02:22 AM
using Send Page or Send Link in Netscape blistfix General 1 08-28-2001 05:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:00 AM.

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