Solved

How To Send Dialog Boxes To Remote Hosts

Posted on 2003-11-20
2
301 Views
Last Modified: 2013-12-27
Background: All the boxes in question run OS 5.6 or OS 5.8 with Solaris 8. Since they reside on an isolated LAN, security is not really an issue, and things like SSH are not implemented. Therefore, boxes can freely talk to one another, assuming I have them configured correctly. All boxes have up-to-date .rhosts files. Finally, the purpose of the dialog box is to alert a user of a certain, undesireable condition.

Question: What is the best method for putting up a dialog box on a remote host (i.e. dterror.ds, etc.)? Also, is there some command that must be issued on the remote machine to allow reception of such boxes from a remote machine?

Thanks!
0
Comment
Question by:pdouglas
2 Comments
 
LVL 6

Expert Comment

by:durindil
Comment Utility
You could use the 'wall' command, which will send a message to all logged in persons.  Couple with an rsh command in a simple script and you can send the message to everyone.

If you are trying to create a notification for an error or similar condition, I would configure a "local" syslog facility, and you can direct it to more than one place.
0
 
LVL 7

Accepted Solution

by:
glassd earned 150 total points
Comment Utility
dt uses X underneath. Most X based commands (and therefore, I believe, most dt commands) allow the use of a displat option. However the receiving machine must allow it.

For example on the receiving machine, say "hosta", run the following:
   xhost +

On the transmitting machine, say "hostb", this will display an xterm on hosta:

xterm -display hosta:0.0

I am sure that dtterm allows the same -display option.

0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now