Solved

How To Send Dialog Boxes To Remote Hosts

Posted on 2003-11-20
2
329 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

724 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