Solved

How To Send Dialog Boxes To Remote Hosts

Posted on 2003-11-20
2
313 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
ID: 9789493
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
ID: 9790234
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
linux  centos   virtualization network quetion 6 81
auto mounter on solaris 1 62
Write an app 10 70
retrieve nuemaric value from txt file in shell script 3 70
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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 how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

825 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